Target entity not found

SOLVED

Hello everyone,

When trying to create a sales invoice in a custom development we get the application error 162: Target entity not found[D,A,A2,464].

Error code is 102.

Unfortunately the error message not helps me to identify the cause of the problem. The only thing I did was increasing the standard activity code SIH from 250 to 999. Afterwards I did a dictionary validation.

In other cases I also encounter such Target entity not found errors, but with different letters in the brackets.

Does anyone have an idea why I get this error message? What does the different letters mean in the target not found error messages?

In the syracuse logs I don't see more information which would help me solve the issue.

Below the information about the used versions in the installation.

Thank you for your help.

Kind regards

Bense 

  • +1
    verified answer

    Hi Bense,

    Have  you tried validating the screen?

  • +1
    verified answer

    It references function GESZPLN, I assume your customer object is called ZPLN? In that case, ensure you validate the object, window and all screens on it. The "Target entity not found" error is due to Syracuse being unable to load a JSON configuration which is associated to either a screen or window JSON definition located in the "X3_PUB\FOLDERNAME\GEN" subfolder. The only way to correct it is to perform full validations off dictionary elements used by the development. 

    Alternatively, change the Global Server values for entities listed below from "Error" to "Debug", which will provide you will a lot more information. Remember to switch them back to "Error" once testing is completed to ensure you don't unnecessarily flood the Syracuse logs :

    • Classic > std
    • Classic > tracker
    • x3Com > adxwhat
    • x3Com > gateway
    • x3Com > jsRunner
  • +1 in reply to pnightingale
    verified answer

    Hi  

    Thank you for your help.

    The problem was resolved when I did a second dictionary validation. Something probably went wrong with the first folder release after increasing the dimension of the SIH activity code. This meant that the increase was not applied to all masks, objects, windows, etc.

    Kind regards

    Bense

  • 0 in reply to Regard Hulsbos

    Hi  

    Thank you for your assistance.

    You're right. I had to do the dictionary validation again after increasing the activity code. Probably something whent wrong the first time. Good to know where the error target entity not found is coming from. 

    Interesting point with the increasing of the log level. I assume the logs generated are all located under ...\syracuse\logs. Next time I have such a problem I will try that with the log level increasment. Here  How to increase logging levels for diagnosing issues  I found a description of the different logging settings.

    Thanks again and kind regards

    Bense

  • 0 in reply to Bense

    It can also be helpful to use Onerrgo in custom code to find the cause of the problem.