CLE_GAUCHE_FEN
Description
This action is called before the display of a left list of the type "single" or "single picking".
Left list type
Secondary
single list and single picking
Use
This action is used to modify the sort key on the table to the browser as a function of the context. The following variables can be entered :
SNSLIS 1 = ascending, 2 = descending
LENLIS indicates the number of elements in the key
CLELISTE string of 250 characters containing the list of component fields for the key separated by the character ";".
Example : TRTSTOALL manual allocation on a sales order line
$CLE_GAUCHE
SNSLIS = 1 : # Ascending
# Serial no. in E/S
If [M:ALL]SERMGTCOD=3
LENLIS = 8
Case [M:ALL]LOTMGT
When 1,3 : CLELISTE = "ITMREF;STOFCY;LOT;SLO;SERNUM;STOCOU"
LENLIS = 6
When 2 : CLELISTE = "ITMREF;STOFCY;[F:STL]LOTCREDAT;LOT;SLO;[F:STS]RCPDAT;SERNUM;STOCOU"When 4 : CLELISTE = "ITMREF;STOFCY;[F:STL]LOTCREDAT desc;LOT desc;SLO desc;[F:STS]RCPDAT desc;SERNUM desc;STOCOU desc"
SNSLIS = 2 : # Descending
Endcase