Return not corresponding to Gosub on Purchase Invoice Post

SOLVED

We have upgraded the  client data from PU9 to Version 12.

When we try to post Purchase Invoices we get the errors below

Parents
  • +1
    verified answer

    Hello Percy,

    I can see from the stack that the standard source TRTACHFAC1 is compiled under the production folder instead of existing only in X3 folder. This happens when: A patch was installed incorrectly (production folder instead of X3 folder) or a developer compiled the standard code for customizations.

    Check if the standard code has customizations and try to "migrate" them in a way they work with the standard source file. Try using entry points or encapsulating code instead of overwritting standard code or updates may cause this type of problems.

    Solution: Backup and remove the source/.adx file in OBSLIV\TRT folder (rename the file to start with "_" for example). Restart the session after. I am assuming that under X3\TRT folder, a valid TRTACHFAC1.adx for the V12 exists.

    Regards.

Reply
  • +1
    verified answer

    Hello Percy,

    I can see from the stack that the standard source TRTACHFAC1 is compiled under the production folder instead of existing only in X3 folder. This happens when: A patch was installed incorrectly (production folder instead of X3 folder) or a developer compiled the standard code for customizations.

    Check if the standard code has customizations and try to "migrate" them in a way they work with the standard source file. Try using entry points or encapsulating code instead of overwritting standard code or updates may cause this type of problems.

    Solution: Backup and remove the source/.adx file in OBSLIV\TRT folder (rename the file to start with "_" for example). Restart the session after. I am assuming that under X3\TRT folder, a valid TRTACHFAC1.adx for the V12 exists.

    Regards.

Children