In Sage X3 customization you may have a requirement where you want to update the customized field added to STOJOU (Stock journal) table.
Standard Processing: STKLIB
Entry Point Action: BEFWRISTJ (Before entry of a stock movement)
This entry point is called before the “WRITE” instruction for each stock movement. The STOJOU(STJ) table buffer is loaded and can be modified.
Refer to below sample snippet of code for better clarification:
1. How to change Category in Journal Entry if required (Journals Prohibited message comes)
2. How to set the entry condition in the Sage X3?
3. How to change Entry Transaction without exiting the screen
4. Fetch the Entry Transaction value via Customized Code
5. Entry Transaction in X3