INPUT TRANSFORM: S DIC("S")="I $D(^(0)),$P(^(0),U,3)'=""S""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
LAST EDITED: JUN 03, 1999
DESCRIPTION: This order request is on behalf of an entity that wants to maintain a perpetual inventory, automate their item distribution function, and automatically generate stock replenishment orders based on inventory needs.
The LINE INVENTORY POINT is the entry (if there is one) in the Generic Inventory (file #445) for which the items on this line are being ordered.
If certain quantities of this line item are needed for different inventory points, then multiple entries of LINE INVENTORY POINT should be present and the LINE QUANTITY and LINE DELIVERY fields of each entry should be
populated.
If there is no entry in the LINE INVENTORY POINT field but there is an entry in the PRINCIPAL INVENTORY POINT field (#4 of file #410) then all line items on this request will be associated with the PRINCIPAL INVENTORY
POINT.
That is, LINE INVENTORY POINT (where it exists) will take precedence over PRINCIPAL INVENTORY POINT.
Secondary inventory points may not be selected as either PRINCIPAL or LINE INVENTORY POINTS.
SCREEN: S DIC("S")="I $D(^(0)),$P(^(0),U,3)'=""S"""
EXPLANATION: Secondaries not allowed to incur fiscal obligation.
CROSS-REFERENCE: 442.147^B
1)= S ^PRC(442,DA(2),2,DA(1),5,"B",$E(X,1,30),DA)=""
INPUT TRANSFORM: K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."1N.N) X
LAST EDITED: MAY 28, 1999
HELP-PROMPT: Type a Number between 0 and 999999999999, 0 Decimal Digits
DESCRIPTION:
The quantity of subject line item that is required in order to replenish subject inventory point. The sum of the LINE ITEM QUANTITIES must equal the QUANTITY of the ITEM or the transaction will not be accepted.