Process ANUBIS: Cancel Invoices
BEFDELBIS: Before accounting cancellation of a supplier invoice
Use this entry point to perform other processes following the accounting cancellation of a supplier invoice.
The accounting cancellation of a supplier 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 supplier invoice (update of supplier 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 performed.
The accounting cancellation is called from a supplier BP invoice (GESBIS function) or a purchase invoice (GESPIH function).
Available variables and masks
The [M:BIS0,1,2,3] or [M:PIH0,1,2,3,4] classes are available according to whether in the BP invoice or purchase invoice management.
Variable or mask |
Definition |
Mask [M:BIS0,1,2,3] |
Supplier BP invoices |
Mask [M:PIH0,1,2,3,4] |
Purchase invoices |
INVOICE variable |
Supplier 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 |
PINVOICE [PIH] |
Yes |
Purchase invoices |
PINVOICED [PID] |
No |
Purchase invoice detail |
BPSUPPMVT [MVS] |
Yes |
Supplier 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 supplier 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 beginning of the standard accounting cancellation subprogram for supplier invoices.
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:BIS0,1,2,3] |
Supplier 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 |