Process CPTENG: Commitment
ENGAGE: Before automatic creation of a commitment
The entry point ENGAGE is used to modify a certain number of variables before the automatic creation of a commitment. It is possible to interrupt the commitment's creation/modification sequence by assigning the value '-1' to the CREENG variable.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the calling context
Available variables and masks
Variable or mask |
Definition |
Integer CREENG |
Creation or modification indicator: |
Char ENGAGE |
Reference to the commitment to be created/modified |
Char SOCIETE |
Company |
Char BALSIT |
Site |
Char TIERS |
BP |
Char TBENGCOA()(1..) |
Charts of Accounts |
Char TBENGACC()(1..) |
Accounts |
Char TBENGLEDTYP()(1..) |
Ledger types |
Char TBENGLED()(1..) |
Ledgers |
Char TBENGDIE()(1..) |
Dimension types |
Char TBENGCCE()(1..) |
Analytical dimensions |
Date DAT |
Journal date |
Char CUR |
Document currency |
Integer SENS |
Sense (debit/credit) |
Integer TYP |
Type (pre-commitment/commitment) |
Decimal QUANTITE |
Quantity in work unit |
Decimal MONTANT |
Amount in document currency |
Open tables
The GCOMMIT, GCOMMITD, BALANCE, BALANA, BUD, GACCOUNT tables are open. Their contents is not significant.
EVALHEA: Evaluation of automatic journal's header elements
EVALHEA entry point is used to add evaluations of specific elements from the automatic journal in the commitment header.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the calling context
Available variables and masks
Variable or mask |
Definition |
Integer CREENG |
Indicate that a commitment will be created (if <>0). If not a commitment will be updated. |
Char ENGAGE |
Reference to the commitment to be created/modified |
Char SOCIETE |
Company |
Char BALSIT |
Site |
Char TIERS |
BP |
Char CPTANA |
Analytical account |
Char TBCCE()(1..) |
Analytical dimensions |
Date DAT |
Journal date |
Char DEVCUR |
Document currency |
Char DEVLED |
Ledger currency |
Integer SENS |
Sense (debit/credit) |
Integer TYP |
Type (pre-commitment/commitment) |
Decimal QUANTITE |
Quantity in work unit |
Decimal MONTANT |
Amount in document currency |
Decimal MONTANTLED |
Amount in ledger currency |
Open tables
The GCOMMIT, GCOMMITD, BALANCE, BALANA, BUD, GACCOUNT tables are open. Their contents is not significant.
EVALLIN: Evaluation of line elements depending on an automatic journal
EVALLIN entry point is used to add evaluations of specific elements from the automatic journal in the commitment lines.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
According to the calling context
Available variables and masks
Variable or mask |
Definition |
Integer CREENG |
Indicate that a commitment will be created (if <>0). If not a commitment will be updated. |
Char ENGAGE |
Reference to the commitment to be created/modified |
Char SOCIETE |
Company |
Char BALSIT |
Site |
Char TIERS |
BP |
Char CPTANA |
Analytical account |
Char TBCCE()(1..) |
Analytical dimensions |
Date DAT |
Journal date |
Char DEVCUR |
Document currency |
Char DEVLED |
Ledger currency |
Integer SENS |
Sense (debit/credit) |
Integer TYP |
Type (pre-commitment/commitment) |
Decimal QUANTITE |
Quantity in work unit |
Decimal MONTANT |
Amount in document currency |
Decimal MONTANTLED |
Amount in ledger currency |
Open tables
The GCOMMIT, GCOMMITD, BALANCE, BALANA, BUD, GACCOUNT tables are open. Their contents is not significant.