The following file classes are loaded: [F:PIH], [F:PIV] and [F:PID]
The [F:PIDB]class is loaded with the original invoice line.
The variables and the classes given above must not be modified.
In the table below, the significant content flag indicates that the content matches the context.
Table | Significant content | Table Title |
PINVOICE | Yes | Invoice header |
PINVOICEV | Yes | Additional purchase invoice header |
PINVOICED | Yes | Purchase invoice lines |
This entry point is only called in case of credit memo.
[M:PIH0]PIHTYP (1=invoice, 2=additional invoice, 3=credit note, 4=credit note on return)
This entry point is located in the SUBPIHAfor saving purchase invoices. It is used to take control after clicking 'Create' or 'Save'.
The purpose is to give the possibility to change the site used to control the analytical dimension types of the invoice lines.
There is no transaction in process.
There is no open log file.
The call is performed during the creation or modification of a purchase invoice.
The WFCY variable is loaded during the call. It includes the financial site of the invoice header site. This variable can be modified.
The following screen masks can be used: [M:PIH0], [M:PIH1], [M:PIH2], [M:PIH3], [M:PIH4]
The classes given above must not be modified.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
PINVOICE | No | Invoice header |
PINVOICEV | No | Additional purchase invoice header |
PINVOICED | No | Purchase invoice lines |