Ajuda p/o campo (DLVQTY) 

From the quantity field, the contextual button enables the user to inquire the stock by site.
It is mandatory that the shipped quantity is 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 record. These messages can be blocking according to the value of the SDACLOK - Price, margin, qty non blocking control (VEN chapter, AUZ group) user parameter.

When the shipped quantity is entered a price list search process is automatically carried out. The purpose of this search is to recover:

The price list search process can be triggered in different ways depending on the product type entered.

In effect, if the entered product is of the type 'Normal', the search process is automatically triggered.

When the entered product is of the type 'Kit parent product' or 'BOM parent product, an initial price list search is triggered for the parent product ('Normal' type), 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 BOM codes of the 'commercial' type 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 delivery line generated, a value is assigned to the type of line:

Certain price list controls are carried out on exiting this price list process:

These different messages can be blocking according to the value given to the SDACLOK - Price, margin, qty non blocking control user parameter.

If the shipment comes from an order and an allocated quantity remains and a shortage on the order, the fact of increasing the shipped quantity will consume the allocations then the shortages still present in the order.

When the delivery line is created and the shipped quantity is then modified, the 'stock' detail window then automatically opens at the line end to give the user the choice of stock lines to be modified. The stock detail window does not open in only one case. If the delivery line is only associated with one stock line and the shipped quantity is decremented, the system automatically reduces the recorded quantity on the stock line, no intervention from the user required.