DSSO CREATE PO

TITLEVALUE
NAMEDSSO CREATE PO
DESCRIPTIONAPAT RPC to get the next Common Numbering Series number from the PAT
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
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
TAGCREATEPO
ROUTINEDSSOPPO
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSSODUZ
DESCRIPTIONUser or initiator of this purchase order
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSSOPRC
DESCRIPTIONIFCAP 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
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSSOPSP
DESCRIPTIONIEN of the Prosthetics Site Parameters file (#669.9) for this Prosthetics
site
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERDSSOPC
DESCRIPTIONIEN of the Purchase Card Information file (#440.5) for the purchase card
associated to this purchase order
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERDSSOVEN
DESCRIPTIONIEN of the VENDOR file (#440) for the vendor associated with this
purchase order used.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERDSSOPAT
DESCRIPTIONIEN 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.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONOutput:
Error Messages:
RET(0)="-1^error message"

Successful Completion:
RET(0)=IEN of new PO in file #442 ^ New PO Number
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED