This entry point is located in the SUBPPI5 process, preloading of lines for an additional invoice, generates a "FLTPECFAC" action.
The goal of this action is to give the possibility to set the additional filters on the invoice lines to be taken into account.
There is no transaction in progress.
There is no open log file.
The call is made before the loading of the grid containing the invoice lines to be taken into account.
The following variables must be modified to influence the selection of the invoice lines to be taken into account.
CRITSUP_PIHB
Additional filter on the PINVOICE table open with the abbreviation [F :PIHB]. The maximum length of the filter is 250 characters. If the filter is empty there will be no additional filter.
CRITSUP_PIDB
Additional filter on the PINVOICED table open with the abbreviation [F :PIDB]. The maximum length of the filter is 250 characters. If the filter is empty there will be no additional filter.
In the table below, the significant content flag indicates that the content is in phase with the context (in this precise case there is none).
Table | Significant content | Table Title |
PINVOICE | No | Purchase invoice header |
PINVOICED | No | Purchase invoice lines |
If the additional filters are not correct, an information box will be displayed then these filters will be ignored.
This entry point is located in the SUBPPI5 process, preloading of lines for an additional invoice, generates a "ALIPECFAC" action.
The goal of this action is to give the possibility to load or modify the fields in the selected invoice lines.
There is no transaction in progress.
There is no open log file.
The call is made for each selected invoice line before the display of the grid.
The [M:PPI5] screen mask is usable, the I variable indicates the grid line currently being loaded.
The line in the grid is modifiable.
For instance: If [M :PPI5]CHX1(I) is set to the value 2, the line will automatically be taken into account in the additional invoice.
In the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
PINVOICE | Yes | Purchase invoice header |
PINVOICED | Yes | Purchase invoice lines |
Warning the PINVOICE and PINVOICED tables have respectively the abbreviations [F :PIHB] and [F :PIDB].