DSIYINVR RECEIVE PO TO IP (3944)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYINVR RECEIVE PO TO IP
TAG RECEIVE
ROUTINE DSIYGNVR
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
Receives Purchase Order Lines Items to Inventory Point (or Distribution 
Point).  Updates quantities, balances, purchase order, removes txn from 
item.
INPUT PARAMETER
  • DSIYIP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Inventory point IEN, pointer to file #445.
    
  • DSIYPO
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Purchase Order IEN, pointer to file 442.
    
  • DSIYD
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   100
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Data to receive, sorted by Partial, DO NOT start the array with 0 
    Point.  They will be costed to the Distribution Point instead.
    POUI is Purchase Order Unit of Issue.
    (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 
    
RETURN PARAMETER DESCRIPTION
Return is:
                           Updated"
 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