Sales > Invoices > Delivery invoice generation > Automatic Shipment Invoicing - Implementation 

Prerequisites

Activity codes

The following activity codes (sorted by type) may have an impact on the way the function operates :

 MAXPD : Maximum period (companies)

General parameters

The following general parameters may change the way the function is working :

Common Data

 CTLPERINV (defined at level Company) : Invoice date control Period

 DMAXAGR (defined at level Company) : Maximum contractual period

 DMAXPAY (defined at level Company) : Maximum period (companies)

 DMAXPAYP (defined at level Company) : Maximum period (Public sector)

 FRADGI (defined at level Company) : French fiscal regulation

 NOTATI (defined at level Site) : Price / Amount +tax / -tax

 OSTCTL (defined at level Company) : Cus. author. credit ctrl level

 OSTDRAFT (defined at level Company) : Customer credit notes P/R amt.

Sales

 DACMANSAL (defined at level Site) : Default price reason - manual

 INVREFDAT (defined at level Site) : Origin date for invoicing

 OSTLND (defined at level Company) : Loan in order total

 OSTORD (defined at level Company) : On order in order total

 SALTEXINV (defined at level Site) : Invoice text position

 SALTEXLIN (defined at level Site) : Product text tracking

 SIVTYP (defined at level Site) : User invoice type

Accounting interface

Default dimensions

The default dimensions sections assignment is performed through the following codes :

(defined at level Company)

 SIH (All companies ) : Sales Invoice Header

 SID (All companies ) : Sales Invoice line

Authorizations

An authorization can be granted for this function to limit the processes to a company or a site.

Miscellaneous prerequisites

  • To carry out the automatic invoicing of deliveries, it is necessary to define at least one invoice type. This invoice type must be associated with an automatic sequence number.
  • The entry of the invoice date is submitted to an existence check in the period table and the fiscal year table. The fiscal year and the period must be open.
  • When the CTLPERINV - Invoice date control Period parameter (TC chapter, INV group) is set to Yes, the generation of invoices is prohibited in the follwoing case: there is at least one document (invoice, credit memo, debit or credit note from the Sales or A/P - A/R accounting modules) whose date is strictly later than the end date of the period where the current documents are generated.

Tables used

The following tables are implemented by the function :

Table

Table description

BPARTNER [BPR]

Business partner

BPCUSTMVT [MVC]

Customer transactions

BPCUSTOMER [BPC]

Customers

BPDLVCUST [BPD]

Ship-to customer

COMPANY [CPY]

Company

FACILITY [FCY]

Sites

FISCALYEAR [FIY]

Fiscal years

GACCCODE [CAC]

Accounting codes

GACCDUDATE [DUD]

Open items

GACCOUNT [GAC]

Accounts

GAJOUSTA [JST]

Journals - reports per period

GAUTACE [GAU]

Automatic journals

GAUTACED [GAD]

Automatic journals (lines)

GJOURNAL [JOU]

Journal codes

GTYPACCENT [GTE]

Document types

ITMFACILIT [ITF]

Products-sites

ITMMASTER [ITM]

Products

ITMMVT [ITV]

Product-site totals

ITMSALES [ITS]

Products - sales

PERIOD [PER]

Periods

SDELIVERY [SDH]

Delivery header

SDELIVERYD [SDD]

Delivery detail

SINVOICE [SIH]

Sales invoices

SINVOICED [SID]

Sales invoice detail

SINVOICEV [SIV]

Costing sales invoice

SORDER [SOH]

Sales orders - header

SORDERC [SOC]

Sales orders - early / late

SORDERP [SOP]

Sales orders - price

SORDERQ [SOQ]

Sales orders - quantities

TABCHANGE [TCH]

Currency rate table

TABCOUAFF [TCA]

Sequence No assignments

TABCUR [TCU]

Currency table

TABUNIT [TUN]

Table of units of measure