I am doing certain customizations in Sage ERP X3. I have added some additional fields in Sales Invoice table [SINVOICE].

As far as screen is concerned we have placed an extra Tab [i.e. extra screen] in OSIH window.

We are handling those fields in SPV (or SPE) process using “INICRE” action

For e.g.
[F:SIH]XXXDAT = [M:XDSI]XXXDAT .
it works correctly, but normally SPV section runs first, and in standard process action INICRE is called again and that action erases all F:SIH values and populates new values again.

Is it possible to use [V] GPE variable in such a way that we don’t touch other actions and use only for INICRE action?

So INICRE in SPV (SPE) section should be run last before saving F: class into a database.

The solution to this problem is to let the supervisor decide which source to use which is as mentioned below:

$INICRE
GOSUB ACTION from =PROGSUB
[F:SIH]XXXDAT = [M:XDSI]XXXDAT
[V]GPE = 1
Return

Hope this helps

Tagged with:
 

Comments are closed.