FILTRE: Additional filter on journals

Use this entry point to add a specific filter on the accounting entries when activating, deactivating, canceling or validating simulation journals.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is an open log file.

Different call cases

This entry point is called when creating filters for the selection of the accounting entries and before the transaction that will activate, deactivate, cancel or validate the simulation journals.

Available variables and masks

The [L]CRITSPE variable with a length of 250 characters is used to enter additional criteria.

The mask used for the criteria entry is CPTSIM, with the abbreviation DIA.

The [L]OPTSIM local variable is used to identify the type of the simulation processing.

[L]OPTSIM set to ‘+’ corresponds to the activation of the simulation journals. When set to ‘-‘, this is a deactivation case. When set to "A", this is a cancellation of the simulations journals. Finally, it is set to "V" in the case of the validation of the simulation journals.

 

Variable or mask

Definition

CPTSIM [DIA]

 Criteria entry mask

Variable char CRITSPE(255)

 Entry of additional criteria

 Variable char OPTSIM(1)

 Contains the type of simulation processing  

GNRDUD: Generation of open items

Use this entry point to take over during the read of auxiliary posting lines and just after the generation of open items during the validation of simulation journals. It is used, for example, to update a specific table.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

This entry point is called when generation open items for the simulation journal transformed into an actual journal.

Available masks and tables

The mask used for the criteria entry is CPTSIM, with the abbreviation DIA.

Table

Significant content

Table Title

GACCENTRY [HAE]

Yes

Accounting document header

GACCENTRYD [DAE]

Yes

Accounting document lines