DSSO CREATE PO (4385)    REMOTE PROCEDURE (8994)

Name Value
NAME DSSO CREATE PO
TAG CREATEPO
ROUTINE DSSOPPO
RETURN VALUE TYPE ARRAY
DESCRIPTION
APAT RPC to get the next Common Numbering Series number from the PAT 
   DSSOVEN      - IEN of #440 - Vendor File
   DSSOPAT      - IEN of 442.6 - PAT Number file (contains Common
                   Numbering Series)
 
 Output:
   Error Messages:
     RET(0)="-1^"_error message
   Successful Completion:
     RET(0)= 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
   DSSOPRC      - IEN OF #411 - Admin. Activity Site Parameter
   DSSOPSP      - IEN of #669.9 - Prosthetics Site Parameters
   DSSOPC       - IEN of #440.5 - Purchase Card
INPUT PARAMETER
  • DSSODUZ
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User or initiator of this purchase order
    
  • DSSOPRC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    IFCAP Site (field #1.1 in file #669.9) - Station Number IEN - or
      Station/Substation Code (field #.01 in file #411) if no Prosthetics Site
      Parameters file found
    
  • DSSOPSP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    IEN of the Prosthetics Site Parameters file (#669.9) for this Prosthetics
     site
    
  • DSSOPC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    IEN of the Purchase Card Information file (#440.5) for the purchase card
     associated to this purchase order
    
  • DSSOVEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    IEN of the VENDOR file (#440) for the vendor associated with this
     purchase order used.
    
  • DSSOPAT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    IEN of the PAT Number file (#442.6) for this site.  The Common Numbering
     Series in this record will identify the next purchase order number to be
     used.
    
RETURN PARAMETER DESCRIPTION
Output:
     Error Messages:
       RET(0)="-1^error message"
 
     Successful Completion:
       RET(0)=IEN of new PO in file #442 ^ New PO Number