DSIYPO1 PPOL PC ORDER LIST (3906)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYPO1 PPOL PC ORDER LIST
TAG PPOL
ROUTINE DSIYPO1
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
This RPC retrieves a list of simplified and detailed purchase card order 
numbers from the Procurement & Accounting Transactions file (file
442) beginning with the input value (at least one character is 
required).  
INPUT PARAMETER
  • DSIYPON
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This field can contain the long (XXX-XXXXXX) or short (XXXXXX) format of 
    the purchase order number.
     
    At least one character must be input as this data is the beginning of the
    lookup value for purchase order numbers in the Procurement & Accounting
    Transactions file (field #.01 Purchase Order Number, file 442).
    
RETURN PARAMETER DESCRIPTION
Returns -1^error message if no purchase order number starting value is
array(n)=file 442 ien^48^I^data
array(n)=file 442 ien^65^E^data    (interface package prefix) 
array(n)=file 442 ien^65^I^data
array(n...) array lines are repeated for each purchase order number
starting with the input value
array(n)="$$END$$"
provided and if no purchase orders begin with the starting value
Returns array for populating the PO lookup list in the following format:
array(n)="$$442-PO DATA$$"
array(n)=file 442 ien^.01^E^data   (purchase order number)
array(n)=file 442 ien^.01^I^data
array(n)=file 442 ien^5^E^data     (vendor)
array(n)=file 442 ien^5^I^data
array(n)=file 442 ien^48^E^data    (type of order)