DSIYINVR RECEIVE PO TO IP

TITLEVALUE
NAMEDSIYINVR RECEIVE PO TO IP
DESCRIPTIONReceives Purchase Order Lines Items to Inventory Point (or Distribution
Point). Updates quantities, balances, purchase order, removes txn from
item.
TAGRECEIVE
ROUTINEDSIYGNVR
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSIYIP
DESCRIPTIONInventory point IEN, pointer to file #445.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSIYPO
DESCRIPTIONPurchase Order IEN, pointer to file 442.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSIYD
DESCRIPTIONData to receive, sorted by Partial, DO NOT start the array with 0
(zero). The return data returns this array and includes the 0 node with
the overall results.

DSIYD(1)=$$PARTIAL$$"_partialIEN
DSIYD(1+n)=lineNum^ItemNum(ien to 441)^Qty Received^TotCost^
Transaction IEN(ien 410)^POUI^W^DP ien

The "W^DP ien" are only for those items not stocked in the Inventory
Point. They will be costed to the Distribution Point instead.
POUI is Purchase Order Unit of Issue.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH100

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturn is:
RET(0)=0^Success or -1^error (if Filing issues, see details by item)
RET(1)=$$PARTIAL$$"_partialIEN^filing message(s)
RET(1+n)=line#^Item#^filing message(s)
For example:
^TMP("DSIYINVR_R",8176,0)="0^Success"
^TMP("DSIYINVR_R",8176,1)="$$PARTIAL$$1^Updated PO Partial Dt/User
Received^ Cleaned up Outstanding Txns"
^TMP("DSIYINVR_R",8176,2)="1^28^Item Updated^Due-In Updated^Receipt Hx
Updated"
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED