Páginas filhas
  • Delivery Term or Replenishment Time (MATA010 - SIGACOM)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Incluir Página
Delivery Term (MATA010 - SIGAEST)
Delivery Term (MATA010 - SIGAEST)

The delivery term represents the number of hours, days, weeks or months of manufacturing or delivery time of a product, from the moment the order is received to the moment the production order is opened.

This information is useful to know when the material will be available in stock.

A formula can be used for products whose delivery term depends on other dimensions or characteristics, if it is not a fixed period.

In this case, fill out field Formula of Term, since field Delivery must be used for fixed terms.

If both fields are filled out, the content of field Formula of Term is preferably considered. If no formula is registered, the delivery term will be the content of field Delivery.

...

Practical Application

Check the following practical application to use field Formula of Term with UserFunction, observing the order.

...

Example:

     UserFunction FORMPRZ()

     Return

...

Code

...

001

...

Description

...

Delivery Term Formula

...

Formula

...

EXECBLOCK (FORMPRZ,.F.,.F.)

...

See the example:

User Function FORMPRZ()

 // The minimum delivery term for every 100 units is the period entered in

// field Delivery (B1_PE)

Return Max((QUANTITY/100)*SB1->B1_PE,SB1->B1_PE)

4. Enter code of registered formula in field Delivery Term (B1_FORPRZ), in this case 001.

...

See another example of use of the variable Amount:

Example:

Suppose a product has a delivery period of 10 economic lots per day.

The formula to express this product delivery term in field Formula of Term will be:

Round((QUANTIDADE/(10*B1_LE)),0)

This formula calculates the number of DAYS required to produce a given amount, planned through MRP, or total time required to produce amount of a production order and other routines that treat the delivery term.

The formula return must be in days and in a numeric variable.

...