Sage 500 ERP 2021 (ver. 8.10) Developer Issue - VB Project Dependencies

Hello, All! The problem we’re experiencing has to do with the version 8.10.3 SDK, although we’re also seeing this in 8.10.0. The source code is causing compatibility issues with Sales Order Entry (sozdj101). More specifically, we are seeing dependency issues when a given VB project is changed in the smallest amount. Our ideal would be to change the one VB project and not have to touch any other object. Here is a description of the steps to replicate the issue.

1. When we make ZERO changes to the CCTransactions project, but run the project from VB in debug mode, it fails to launch the Credit Card Transactions screen (it appears to fail in ARSOPmnts.dll where it launches CCTransactions.dll).

2. With zero changes to CCTransactions and ARSOPmnts, we add both VB Projects into a group and run it from VB in debug mode, this causes an error 430 which is due to a compatibility issue with what the Enter Sales Order program (sozdj101) expects (see images 1 and 2, below).

3. If we add the Enter Sales Order Project (sozdj101) to the group, meaning CCTransactions, ARSOPmnts and sozdj101 are all in the group, and run it in debug mode, then it opens the Credit Card Transactions screen (see images 3 and 4, below).

4. This dependency is a problem because it requires the building and shipping of programs that are not modified by us but may contain modifications from other 3rd party developers. On top of that, ANY change we make to the CCTransactions project, requires, (1) rebuilding and re-registration of the ARSOPmnts project, then (2) rebuilding the sozdj101 project. This same dependency problem is present in other areas, where the chain of dependencies is less clear. At least for sozdj101, we know the dependency is ARSOPmnts. In other places it requires searching to figure out what exactly is the dependency chain, then rebuilding and re-registering each part of that dependency chain.

Thanks, in advance, for any help you can provide. I look forward to your responses.

  • 0

    Jimmy,

    Just so I am clear on what you are trying to accomplish here.

    You are making changes in sozdj101 project and no other projects.

    but when you make the changes to sozdj101 and build it: it is failing to launch the CreditCardTransaction screen as expected.

    If you add the related projects and build them all then it works?

    Is that the basic idea?

    I want to try to reproduce the base issue and see what is happening to try to find a resolution that would prevent the need to build all and re-register them at client machines.

    Thanks,

    Kevin

  • 0 in reply to kkeller

    Hi, Kevin!

    No, the change would be to CCTransactions and no other projects. And continuing from your thought, failing to launch sozdj101, etc. Sorry, I thought I explained it in the 4 steps above. I appreciate your help!

  • 0 in reply to Jimmy Thomas

    Since this appears to be a DLL, be sure when you compile you compile it with binary compatibility.  Make a copy of the original, and specify that copy as the compatibility source in the project properties.  You probably have already done this, but I just wanted to chime in and remind.

  • 0 in reply to Jimmy Thomas

    Jimmy,

    With the CCTransactions project did you modify the Project Properties to use Binary compatibility.  Make a copy of the existing CCTransactions.dll and place it somewhere and point the binary compatibility reference to this file... you should then be able to run in debug mode and place break points and everything in there. This worked for me. 

    If this is not working for you see if you can open a support ticket and we can look at this together to see what is happening.

    Keep us posted.

    Kevin

  • 0 in reply to kkeller

    Hello, Kevin.

    Thank you for your suggestion. We are working through the process and it appear successful to this point. Final testing is in work and I will report back with the result. Thank you, again!

    Jimmy

  • 0 in reply to Jimmy Thomas

    Great news thanks for the update!

    Kevin