MEMO2

Description

This action concerns the management of an OBJect with a picking browser in the left list when [L]MEMPCKCOD<>is empty. The menu "Picking selection" added to the menu "Selection" is used to manage the memos in the picking browser. This action is called when a picking memo is clicked on to be activated.

OBJect type

Simple, Grid, Combined

Transaction

No

Use

This action is used to assign a character string, used as a selection criteria for the loading of the picking browser.

NUMITM2    = REPONSE - GSTATITO2

SEL_MEMO2    picking memo code list ; SEL_MEMO2(NUMITM2) indicates the chosen picking memo code ; empty memo code corresponds to All (no selection)

MEMGLO2    the picking memo chosen is global if NUMITM2<=MEMGLO2

MEMPCKCOD    indicates the table associated with the picking memos that correspond to the files User_table_memo code.glo or .sel in the directory ETM of the application.

 

Example : SUBRCH  Administrative receipt (GEODE product)

$OUVRE
[L]MEMPCKCOD="_EI5"
return

$MEMO2
Call SEL_MEMO([L]MEMPCKCOD,GSTAITO2,MEMGLO2,REPONSE, SEL_MEMO2,[L]MEMPCK) From SELPCK
Gosub RAF_PCK
Return