| TITLE | VALUE | |
|---|---|---|
| NAME | DSIYINVR RECEIVE PO TO IP | |
| DESCRIPTION | Receives Purchase Order Lines Items to Inventory Point (or Distribution Point). Updates quantities, balances, purchase order, removes txn from item. | |
| TAG | RECEIVE | |
| ROUTINE | DSIYGNVR | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DSIYIP | |
| DESCRIPTION | Inventory point IEN, pointer to file #445. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | DSIYPO | |
| DESCRIPTION | Purchase Order IEN, pointer to file 442. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 30 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | DSIYD | |
| DESCRIPTION | Data 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 TYPE | LIST | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 100 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| RETURN PARAMETER DESCRIPTION | Return 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 ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||