OPALE - 10.0 - Utilisation - MAPPING TRACEDATA/en

Différence entre versions

De MappingDoc
Ligne 13 : Ligne 13 :
 
The following calculation gives us:
 
The following calculation gives us:
  
     DB.entier3 = $DB.entier1 -$DB.entier2
+
     DB.whole3 = $DB.whole1 -$DB.whole2
  
 
At level 1:
 
At level 1:

Version du 3 juin 2019 à 09:20

The MAPPING_TRACEDATA parameter recovers changes made to the fields.

MAPPING_TRACEDATA=1 recovers field changes

   Format: LIB.FILE(FIELD)=VALUE

Level 1 of DB.MAPPING_TRACEDATA shows us the values of the fields once they are assigned.

Level 2 shows us the values of the fields when they are accessed. This allows you to have more detailed calculations for instance.

Example:

The following calculation gives us:

   DB.whole3 = $DB.whole1 -$DB.whole2

At level 1: DATA : .DB(whole3)=12

At level 2:

DATA : .DB(whole3)=(null)

DATA : .DB(whole1)=15

DATA : .DB(whole2)=3

DATA : .DB(whole3)=12