CPTSVC processing: Prepaid income and expenses
LOGCPY: Log file by company
Use this entry point to take over right before the call to the standard sub-program used for the generation of an accounting document from an automatic journal.
Context and operating mode
Transaction
There is no transaction in progress.
Log fileThere is an open log file.
Different call casesThis entry point is called in the company table loop, right after the processing of accruals for the current company and right before switching to the next company.
Available variables and masksThe [L]CUMAMT variable contains the total of the ex-tax amounts of the invoices processed for the current company.
The [L]CUMSVC variable contains the total of the accrual journal amounts generated for the current company.
These 2 variables total amounts with no signs.
The [L]CUMAMTSIG variable contains the total of the ex-tax amounts of the invoices minus the ex-tax total of the credit memos processed for the current company.
The [L]CUMSVCSIG variable contains the signed amount total of the accrual journals generated for the current company.
These 2 variables total amounts with a sign.
The CPTSVC mask is available and contains the function release parameters.
Variable or mask | Definition |
Mask CPTSVC [DIA] | Cost and revenue accruals |
|
|
|
|
Open tables
Table | Significant content | Table Title |
COMPANY | X | Companies |
| ||
|
|
|
BEFGNRVCR: Before accouting document generation
Use this entry point to take over right before the call to the standard sub-program used for the generation of an accounting document from an automatic journal.
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 right before the call to
BEFDELSIM: Before deleting simulation journals
Use this entry point to take over right before the deletion of 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 right before the filter applied to the accounting entries to delete simulation journals.
It is used to modify the value of the REF_SIM local variable initialized in standard by the automatic journal code, followed by the company code, in the case where the simulation reference ([F:HAE]REFSIM) would be initialized in a different way in specific during the generation of simulation journals and via the BEFGNRVCR entry point.
Available variables and masks
The REF_SIM variable contains by default the automatic journal code followed by the company code, but this value can be modified via the BEFDELSIM entry point.
Variable or mask | Definition |
Mask CPTSVC [DIA] | Cost and revenue accruals |
Open tables
Table | Significant content | Table Title |
COMPANY | X | Companies |