Prerequisite

General parameters

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

Inventory

Bullet point  GENSHT (defined at level Site) : Generate shortages

Common Data

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

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

Sales

Bullet point  LOKORD (defined at level Site) : Order blocked if no prepayment

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

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

Bullet point  SCDTUNL (defined at level User) : Authorization to unlock order

Bullet point  SOHAPPALL (defined at level Company) : Allocation on unsigned order

Bullet point  SOHAPPORD (defined at level Company) : Product WIP on unsig. order

Bullet point  USERERBPC (defined at level Site) : Consumption of cust. reserv.

Authorizations

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

Miscellaneous prerequisites

In order to be taken into account in an automatic allocation process, an order must meet certain conditions:

Bullet pointIt should impact one or more products managed in stock and have the "Firm” status.

Bullet pointIts Credit status flag should have the OK. value. In effect, the values Blocked or Authorized Credit prevent any automatic allocation process.

Bullet pointThe prepayments must be paid.

Bullet pointIt must not be closed.

Bullet pointIt must not be managed as a back-to-back order.

Bullet pointIt must be Totally signed when the approval circuit is managed and the value of the SOHAPPALL - Unsigned orders allocation parameter is: No.
However, if the value of the parameter is Yes but the WIP generation for the products managed in stock is prohibited for unsigned orders (value of the SOHAPPORD parameter set to No), the order will not be taken into account either.

Tables used

The following tables are implemented by the function :

Table

Table description

ITMMVT [ITV]

Product-site totals

ORDERS [ORD]

WIP

SORDER [SOH]

Sales orders - header

SORDERQ [SOQ]

Sales orders - quantities

STOALL [STA]

Allocations

STOCK [STO]

Stock