VALLIG

Prerequisites

Insert the following lines in the SUBXXX :
in the action CREATION : Gosub CREATION From TABLEAUX
in the action MODIF : Gosub MODIF From TABLEAUX
in the action ANNULE : Gosub ANNULE From TABLEAUX

Description

This action is called automatically by the process TABLEAUX.
It intervenes after the creation, modification or deletion of any detail line.

Use

Therefore this action can be used to update one or more tables linked to the detail.
The variable TRTLIG indicates the operation that is carried out in the document. It takes the following values :
    C : Creation
    M : Modification
    A : Cancellation 

The variable SIGN carries information on the detail line :
    +1 : creation or modification (2nd time) for a detail line
    -1 : cancellation or modification (1st time) of a detail line