PIHFILTRE: Additional filter on the purchase orders for confirmation

This entry point located in the FUNPIH process - purchase invoice confirmation, generates a "PIHFILTRE" action.

The goal of this action is to give the possibility to set an additional filter on the purchase invoices to be confirmed.

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is an open log file.

Different call cases

The call is made before the purchase invoice confirmation process but after having confirmed the selections entry screen.

Available variables and masks

The following variable is loaded at the time of the call to the "PIHFILTRE" action.

WCRIT

Filter on the purchase invoice header constructed by the process from

the selections screen PIHPST.

The following variable must be modified to influence the confirmation process.

PIHFILTRE

        Additional filter on the purchase invoice header (PINVOICE).

PIVFILTRE

        Additional filter on the purchase invoice header supplement (PINVOICEV).

Note: It is theoretically possible to intervene in the WCRIT filter constituted by the process knowing that the selections actually carried out will not longer be in compatible with it.

Open tables

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

BPARTNER

 

Business Partner

BPSUPPLIER

 

Suppliers

ITMMASTER

 

Products

TABCOEFF

 

Coefficients

PINVOICE

 

Purchase invoice header

PINVOICEV

 

Purchase invoice addition header

PINVOICED

 

Purchase invoice lines

PORDER

 

Purchase order headers

PORDERP

 

Purchase order line prices

PORDERQ

 

Purchase order line quantities

PRECEIPT

 

Supplier receipt header

PRECEIPTD

 

Supplier receipt lines

FACILITY

 

Sites

GACCDUDATE

 

Open items

GAUTACE

 

Automatic journals

GAUTACED

 

Automatic journal lines

GACCCODE

 

Accounting codes

GACCOUNT

 

General ledger accounts

COMPANY

 

Companies

TABCUR

 

Currencies

TABCHANGE

 

Currency exchange rate


Miscellaneous remarks

All modifications to the filter will be noted in the log file.