SUBGAS processing: SUBGAS
CONTEURO: Prevent the return to zero of forced amounts for the entries in IN cur
This entry point is used to inhibit the re-zeroing of the forced amounts in the case of entries in currencies IN.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens contain the document being validated.
EXTOURNE: Updating specific fields when reversing a document
Use this entry point to update specific fields when reversing a document.
Context and operating mode
Transaction
There is one transaction in progress.
Log fileThere is an open log file.
Available variables and masksThe [HAE0], [HAE1] and [HAE2] screens contain the reversal document currently in creation.
LIGNE_EXT: Before creating the reversal document
Use this entry point to take over during the creation of a reversal document. This entry point was originally created in order to modify the description of created entry lines.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens contain the reversal document being created. All the fields in these screens are accessible. The NOL local variable contains the line index. When exiting the call to the LIGNE_EXT entry point, the description of the entry line created by the reversal is initialized to the [L]RVSLIB variable content.
MODECH: modification of the open items in batch creation
Use this entry point to modify the open items created upon generation of an accounting entry in batch mode, that is to say via automatic journals.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Call context
This entry point is called in batch creation of entries, for each line of the accounting entry carried on a control account.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens contain the information about the entry being created. The NOL local variable corresponds to the read index for entry lines. NOL varies from 0 to [M]NBLIG-1.
The [F:DAE] class contains the data of the created line.
The [F:DUD] class is available in this entry point, but its content is not significant.
When resuming the execution of the processing, the GOK variable is tested.
ECHEANCE Before creating the open item
Use this entry point to take control just before the open item is created so as to modify the standard initialization of certain fields of the open item to create.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Call context
This entry point is called just before the ‘Write [DUD]’ instruction and after the assignment of the fields for the open item to create.
Available variables and masks
The [F:HAE] class contains the data of the created accounting entry.
The [F:DAE] class contains the data of the entry line which an open item is created for.
CONTTVA: preventing the standard VAT control/Add specific controls
Use this entry point to prevent the control of standard VTA amounts and add specific controls.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Call context
This entry point is called in the $VERIF label of the VERIF_MOD action, therefore when modifying the accounting entry.
Available variables and masks
The [M:HAE0], [M:HAE1] and [M:HAE2] masks are available.
The CONTTVA integer variable must be loaded with the value 2 so that the control of standard VAT amounts is not performed afterwards.
OFFSET_ACCOUNT: Counterpart loading
This entry point is used to take control before the entry creation in order to load the counterpart; OFFACC field. Just before the "DAE" write.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is no open log file.
Call context
This entry point gives the possibility to take over right before the entry is created so that the counterpart of the line being created is modified.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens contain the information about the entry being created. The NOL local variable corresponds to the read index for entry lines. NOL varies from 0 to [M]NBLIG-1.
The [F:DAE] class includes the data for the entry line.
BEFWRIDAE: Before the creation of entry lines
This entry point is used to take control right before the "DAE" write used to create accounting entry lines.
Context and operating mode
Transaction
There is one transaction in progress.
Call context
This entry point is used to take control just before the creation of the accounting entry lines in order to modify the standard initialization of certain fields of GACCENTRYD before the [DAE] Write instruction.
Available variables and masks
The [HAEW] screen includes information on the entry being created. The NOL local variable corresponds to the read index for entry lines. NOL varies from 0 to [M:HAEW]NB-1.
The [F:DAE] class includes the data for the entry line.
BEFINIRVS: Before loading the reversal document
This entry point is used to take control just after updating the reversed entry and just before loading the reversal document in order to initialize a field of the reversal document based on the value of a field from the reversed entry.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Call context
This entry point gives the possibility to intervene right after the update of the entry to be reversed and before the reversal document is created.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens as well as the [F:HAE] class includes the information of the entry to be reversed.
The [L]RVSDAT local variable includes the reversal date.
AFTWRIDUD: After creation of the open items
This entry point is used to take control right after creating the open item of an entry line attached to a control account.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Call context
This entry point is used to take control right after creating the open item related to a entry line of the control type.
Available variables and masks
The [HAE0], [HAE1] and [HAE2] screens and the [F:HAE], [F:DAE] and [F:DUD] classes include information about the entry line which the open item has been created on.