DSIYTDIN PTINFO PICK TICK INFO (4017)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYTDIN PTINFO PICK TICK INFO
TAG PTINFO
ROUTINE DSIYTDIN
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
PTINFO
 
Returns grid information for picking ticket orders which are not yet 
posted.
 
ASSUMPTION:  The station # is not required, but it is assumed that the 
dropdown from which a user picks a distribution point will be limited by
both the current station selection and the user's rights to a distribution
point
INPUT PARAMETER
  • DPIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DPIEN
     
    IEN for the primary or secondary distribution point. 
    Special input:
    "P" indicates to return all primary distribution's due out to a secondary
    "S" indicates to return all secondary distribution's due in from a primary
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   5
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    NOREC
     
    Number of records to return - default = 1000
    
  • STARTREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    STARTREC
     
    Distribution Point IEN to start on (first piece of the last record 
    returned in the previous call).  Used to do a page-down if more records 
    are needed.
    
  • IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    IEN
     
    IEN to a particular record - should NOT be used with STARTREC
    
RETURN PARAMETER DESCRIPTION
DSIYRET
 ;                     p6:  Status of Transaction
 ;                     p7:  Transaction Initiated by
 ;                     p8:  # of Items in the transaction
 ;                     p9:  Primary Distribution Point IEN
 ;                     p10: Secondary Distribution Point IEN
 ;                     p11: Remarks
 
DSIYRET("TITLE")="$$$^Title for Return"
 
Returns a global array - delimited as:
 
 ;RETURNS:  DSIYRET(#)=p1:  Transaction IEN
 ;                     p2:  Transaction #
 ;                     p3:  Distribution Point Name
 ;                     p4:  Date of Transaction
 ;                     p5:  Type of Transaction