Products Downloads


French version


 

 

 

Assignment

Transaction templates.

 

 

Use

Generation of instructions at the end of the VALIDATION section.

 

Click below for more information on generating management rules in programs (generation paragraph, and the generation point within the paragraph):

 

Substitution principles

  • The management rule text variables $$Id are replaced by the number of the current transaction.

  • The management rule text variables $(+n) or $(+nn) are replaced by the number of the current transaction plus n (or nn).

  • The management rule text variables $(-n) or $(-nn) are replaced by the number of the current transaction minus n (or nn).

  • The management rule text variables $TransactionTemplate are replaced by the number of the first transaction having this TransactionTemplate. The number is searched for in the successive transactions, starting from the transaction following the current one, and looping back to the beginning once the last transaction has been reached (if current transaction is #2, and the last transaction is #4, then #3, #4, #1, #2 are checked).

 

Example

At the end of VALIDATION, send message "The information has been successfully updated".


1. Specification of the management rule:

IF   W_ERROR_CODE = *BLANK

SEND_MSG MSG0055

END

 

2.Result in the program:

BEGIN_STD_E

IF   W_ERROR_CODE = *BLANK

SEND_MSG MSG0055

END

END_STD

 

↑ Top of page

  • Aucune étiquette