BPRSACFAC: Supplier control account

This entry point located in the SUBPIH processing (invoice control) generates a "BPRSACFAC" action.

This action aims at giving the possibility to reassign the supplier control account field: [M:PIH0]BPRSAC.

Context and operating mode

Transaction

There is no transaction in process.

Log file

There is no open log file.

Different call cases

The call is performed every time the supplier control account must be update when the supplier is assigned.

Available variables and masks

The following variables are loaded when calling the "BPRSACFAC" action. 

[M:PIH0]BPRSAC Supplier control account assigned in standard

The following screen masks can be used: [M:PIH0] , [M:PIH1] 

Open tables

The [F:GAC] and [F:CAC] classes are indicated. 

GETVATDAT: date for tax rate

This entry point located in the SUBPIH processing (invoice control) is used to assign the date field for the tax calculation: [M:PIH1]VATDAT.

Context and operating mode

Transaction

There is no transaction in process.

Log file

There is no open log file.

Different call cases

The call is performed after each invoice line modification.

Available variables and masks

The following variables are loaded when calling the "GETVATDAT" action. 

[M:PIH1]VATDAT date for the tax rate

The following screen masks can be used: [M:PIH0] , [M:PIH1], [M:PIH3], [M:PIH4]