There is no transaction in process. The validation transaction of the sales invoice ended correctly. The invoice has been validated.
There is an open log file when the entry point is called from the invoice automatic validation function.
There is no open log file when the entry point is called from the validation button of the invoice function.
This entry point is called from each processing that is used for the validation of an invoice:
· Validation button in the invoice function
· Invoice validation function
The EP is located just before the determination or not of the purchase invoice generation.
The [F:SIV] class is on line and loaded.
The WPE_CREPIH variable (local integer) has been created. It is initialized to 0 before the call to the entry point. It must be set to 1 in the entry point to force the generation of the purchase invoice.
When the EP is called from the invoice button of the invoice management, the tables of the invoice object are opened.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded…). It is usually the case for the file that contains the header and not the file that contain the lines…
Table | Significant content | Table Title |
SINVOICE | Yes | Invoice headers |
SINVOICEV | Yes | Invoice header valuations |
SINVOICED | No | Invoice lines |
GACCOUNT | No | Accounts |
SVCRFOOT | No | Sales document - Footer item |
SVCRVAT | No | Sales document - Taxes |
FACILITY | No | Sites |
COMPANY | No | Companies |
BPCUSTOMER | No | Customers |
BPARTNER | No | BP |
GACCCODE | No | Invoice types |
CADSP | No | Prior allocation keys |
CACCE | No | Analytical |
CAAUZ | No | Restrictions table |
TABCUR | No | Currencies |
TABCHANGE | No | Currency exchange rate |
TABUNIT | No | Units |
GTYPACCENT | No | Document types |
FISCALYEAR | No | Fiscal years |
PERIOD | No | Periods |
GAUTACE | No | Automatic journals |
GACCDUDATE | No | Open items |
GJOURNAL | No | Journals |
ITMMASTER | No | Products |
SDELIVERY | No | Delivery header |
STOJOU | No | Stock journal |
ABATRQT | No | Batch server (requests) |
TABPAM | No | Payment method table |
GAJOUSTA | No | Journals - reports by period |
|
|
|