DSSO DTLD CRT 442 1-PO NBR (4276)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO DTLD CRT 442 1-PO NBR
TAG CRT442
ROUTINE DSSODP0
RETURN VALUE TYPE SINGLE VALUE
DESCRIPTION
APAT RPC to get the next Common Numbering Series number from the PAT
  DSSOCNS      - IEN of file #442.6 - PAT Number file (contains Common
                  Numbering Series)
  DSSOPDT      - P.O. Date
  DSSOSRC      - IEN of file 420.8 - Source Code file
 
Output:
  Error Messages:
    DSSORET="-1^"_error message
  Successful Completion:
    DSSORET=IEN of new PO in file #442 ^ New PO Number
Number file (#442.6) and create a purchase order in the Procurement &
Accounting Transactions file (#442).
 
Input:
  DSSODUZ      - User or initiator of an order
  DSSO411      - IEN of file #411 - Admin. Activity Site Parameter
  DSSOPCD      - IEN of file #440.5 - Purchase Card file
  DSSOVEN      - IEN of file #440 - Vendor file
INPUT PARAMETER
  • DSSODUZ
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User or initiator of this purchase order
    
  • DSSO411
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Station/Substation Code (field #.01 of file #411 - Admin. Activity
    Site Parameters file).
    
  • DSSOPCD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    IEN of the Purchase Card file (#440.5) for the purchase card associated 
    with this purchase order
    
  • DSSOVEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    IEN of the Vendor file (#440) for the vendor associated with this 
    purchase order
    
  • DSSOCNS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    IEN of the PAT Number file (#442.6).  The Common Numbering Series in this 
    record will identify the next purchase order number to be used.
    
  • DSSOPDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    P.O. Date - defaults to today, but may be a future date.  (i.e. - 
    3150130)
    
  • DSSOSRC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Source Code - file 420.8 IEN
    
RETURN PARAMETER DESCRIPTION
Output:
  Error Messages: "-1^"_error message
 
  Successful Completion:  
    DSSORET=IEN of new PO in file #442 ^ New PO Number