Use this entry point to perform other processes following the accounting cancellation of a customer invoice.
The accounting cancellation of a customer invoice is associated with the KIG activity code
There is one transaction in progress.
There is an open log file.
This entry point is called after the standard accounting cancellation process for a customer invoice (update of customer transactions, deletion of the accounting document, balance devaluation, update of open items) but just before the Change validation confirmation instruction. Upon return from this entry point, the GPE variable is tested and used to globally validate or reject the updates carried out.
The accounting cancellation is called from a customer BP invoice (GESBIC function).
Variable or mask | Definition |
Mask [M:BIC0,1,2,3] | Customer BP invoices |
INVOICE variable | Customer invoice number to be canceled |
TYPPCE, DOCUMENT variables | Accounting document number (TYP&NUM) associated with the invoice |
Table | Significant content | Table Title |
GACCENTRY [HAE] | Yes | Accounting documents |
GACCENTRYD [DAE] | No | Accounting documents lines |
GACCENTRYA [DAA] | No | Accounting analytical lines |
BALANCE [BAL] | No | Balances |
BALANA [BLA] | No | Dimensional balances |
GACCDUDATE [DUD] | No | Open items |
SINVOICE [SIH] | Yes | Sales invoices |
BPCUSTMVT [MVC] | Yes | Customer transactions |
TABCUR [TCU] | No | Currency tables |
TABCHANGE [TCH] | No | Currency exchange rate tables |
Use this entry point to take control and reroute the standard customer invoice accounting cancellation program.
The accounting cancellation of a customer invoice is associated with the KIG activity code
There is no transaction in process.
There is an open log file.
This entry point is called at the very beginning of the standard accounting cancellation subprogram for a customer invoice (update of customer transactions, deletion of the accounting document, balance devaluation, update of open items).
Upon return from this entry point, the GPE variable is tested. If the value is positioned to 1 in the dedicated processing, the standard accounting cancellation program is not run.
Variable or mask | Definition |
Mask [M:BIC0,1,2,3] | Customer BP invoices |
INVOICE variable | Customer invoice number to be canceled |
Use this entry point to take control after deleting the accounting entry i.e. after executing the 'Delete' instruction on the GACCENTRY, GACCENTRYD and GACCENTRYA tables and so control the deletion of a specific table records.
There is one transaction in progress.
There is an open log file.
This entry point is called in the standard accounting cancellation subprogram for supplier invoices and before the 'Delete' instruction on accounting entry tables in order to delete the entry (GACCENTRY, GACCENTRYD, GACCENTRYA).
Variables | Definition |
TYPPCE, DOCUMENT variables | Type and accounting entry number associated with the invoice |
|
Table | Significant content | Table Title |
GACCENTRY [HAE] | No | Accounting documents |
GACCENTRYD [DAE] | No | Accounting documents lines |
GACCENTRYA [DAA] | No | Accounting analytical lines |
BALANCE [BAL] | No | Balances |
BALANA [BLA] | No | Dimensional balances |
GACCDUDATE [DUD] | No | Open items |