Ajuda p/o campo (ORDQTY) 

It is the quantity ordered by the customer. It is expressed in a sales unit.

From the quantity field, the contextual button is used to consult the stock by site. The quantity MUST be entered. A warning message is displayed if the quantity entered is less than the minimum quantity defined in the product record. A warning message may also appear if the quantity entered is greater than the maximum quantity entered in the product file. These messages can be blocking ones according to the value of the user parameter SDACLOCK-Price,margin,qty non-blocking ctrl (Ven chapter, AUZ group).

When the two principal items of information (Product and Quantity) have been given, a price list search process is automatically carried out. The objective of this search is to recover:

The price list search process can be triggered in different ways depending on the product type entered.
In fact, if the product entered is of the type Normal,the search process is automatically triggered.
When the entered product is of type Kit parent product or BOM parent product, an initial price list search is triggered for the parent product, then before triggering the price list search for the components, a read of the BOM file is carried out in order to identify whether different alternatives of the type Commercial exist, in which case they are displayed in a window. If the product has only a single BOM code, it will be taken into account automatically.

After choosing the BOM code, different cases can occur according to the construction of the product BOM:

The lines corresponding to the different BOM components are then generated:

In both cases, a price list search for the component type is then automatically triggered and for each order line generated, a value is assigned to the type of line:

Some price list controls are carried out on exiting this price list processing:

These various messages can be blocking ones according to the value of the user parameter SDACLOCK-Price,margin,qty non-blocking ctrl.

On exiting the entry, all the totals are calculated.