SETTRANS

Description

This action is used in the OBJects for variants, if at least one window is active in this OBJect. It is called once the choice of the window (variant) has been carried out.

OBJect type

Simple, Grid, Combined

Transaction

No

Use

It is used to read the parameterization of the entry transaction associated with the selected window.

Example : SUBSOHA   sales orders

When the choice of entry transaction is carried out, the parameterization of this entry transaction is read, in order to store the information that will be used at a later date.

$SETTRANS
Local Shortint WSLTDOCFLG,WSLTSNSFLG
Local Char WSLTDOCNAM(10), WSLTSNSNAM(10)
Local Char WSLTSTRNUM(3)
Global Integer GCCECOD : # Entry of the analytical dimensions flag
Global Integer GAVASTOCOD : # View first available date for the ordered qty
If clalev ([F:SLT])=0 Local File SALTRS [SLT] Endif
Read [SLT]SLT0=2;GFLAG
GORDCAT = [F:SLT]ORDCAT
WSLTDOCFLG = [F:SLT]DOCFLG
WSLTDOCNAM = [F:SLT]DOCNAM
WSLTSNSFLG = [F:SLT]SNSFLG
WSLTSNSNAM = [F:SLT]SNSNAM
WSLTSTRNUM = [F:SLT]STRNUM
GCCECOD = [F:SLT]CCECOD
GAVASTOCOD = [F:SLT]AVASTOCOD
Close Local File [SLT]
Return

Associated actions

 Home page link

DEFTRANS

 Home page link

VARIANTE

 

SETTRANS