BEFVALBIC: Before validation of a customer invoice

Use this entry point to perform other processings following the accounting cancellation of a customer invoice.

The validation of a customer BP invoice is called from a customer BP invoice (GESBIC function) or the customer validation (BPCVAL function).

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is no open log file except in customer validation, the user has the possibility to request a log.

Different call cases

The entry point is called after the accounting validation standard processing of a customer BP invoice for additional updates and just before the Commit instruction used to confirm changes. When resuming the execution of the processing, the GPE variable is tested and used to confirm or reject all the performed updates, which will lead to the cancellation of the invoice validation.

Available variables and masks

The [M:BIS0,1,2,3] classes are available when in customer BP invoice management.

Variable or mask

Definition

 Mask  [M:BIC0,1,2,3]

 Customer BP invoices

 NUM variable

 Customer invoice number to validate

Open tables

Table

Significant content

Table Title

SINVOICE

Yes

Sales invoices

BPCINVLIG

No

Customer BP invoice lines

BPCINVLIGA

No

BP analytical lines

BPCUSTMVT

No

Customer transactions

TABSIVTYP

No

Customer invoice type table

FACILITY

No

Sites

COMPANY

No

Company

BPARTNER

No

Business partner

BPCUSTOMER

No

Customers

BPSUPPLIER

No

Suppliers

BPADDRESS

No

Addresses

GACCOUNT

No

General ledger accounts

GACCCODE

No

Accounting codes

GDIAACC

No

Account structures

CACNA

No

Analytical natures

CADSP

No

Prior allocation keys

CACCE

No

Analytical dimensions table

CAAUZ

No

Restrictions table

TABCUR

No

Currency table

TABUNIT

No

Unit of measure table

TABVAT

No

Tax code table

GTYPACCENT

No

Entry type

FISCALYEAR

No

Fiscal years

PERIOD

No

Periods

ACCES

No

Access by user

GACCDUDATE

No

Open items

ATABDIV

No

Miscellaneous tables

GAUTACE

No

Automatic journals

GAUTACEF

No

Automatic journal formulas

TABCOUNTRY

No

Country table