Products Downloads


French version


 

 

 

Assignment

Logical entities.

 

 

Use

Generation of instructions in the INITIALIZATION section for the logical entities, between the read instructions (CHAIN or MANAGE_SFL) and the load instruction (PRESENT(Adelia Context or Visual Adelia and Adelia Web Contexts)).

 

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 name of the view which is read.

  • The management rule text variables $LogicalProperty are replaced by the file field of the property named LogicalProperty, if the latter belongs to the entity to which the management rule is assigned.

Important note: The replacement of the $$Id and $LogicalProperty variables with a screen field or a file field obeys different rules according to the variable syntax and the program type.

Click here for more information about substitution principles.

 

 

Example

Testing whether a view exists or not.

 

1. Specification of the management rule:

 

IF   $$ENTITY DOES_NOT_EXIST

$CUST_CODE = *BLANK

W_RETURN_CODE = 'E'

END

 

2. Result in the program:

IF   CUSTOMER DOES_NOT_EXIST

CC_CUST_CODE = *BLANK

W_RETURN_CODE = 'E'

END

 

↑ Top of page

  • Aucune étiquette