Process ANUBIC: Cancel Invoices
BEFDELBIC: Before the accounting cancellation of a customer invoice
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
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 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).
Available variables and masks
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 |
Open tables
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 |
DELVCRINV: Accounting cancellation of a customer invoice
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
Context and operating method
Transaction
There is no transaction in process.
Log file
There is an open log file.
Different call cases
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.
Available variables and masks
Variable or mask |
Definition |
Mask [M:BIC0,1,2,3] |
Customer BP invoices |
INVOICE variable |
Customer invoice number to be canceled |
AFTDELVCR: After deleting the accounting document
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.
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
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).
Available variables
Variables |
Definition |
TYPPCE, DOCUMENT variables |
Type and accounting entry number associated with the invoice |
|
Open tables
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 |