DSSO DTLD CRT 442 1-PO NBR

TITLEVALUE
NAMEDSSO DTLD CRT 442 1-PO NBR
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
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
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
TAGCRT442
ROUTINEDSSODP0
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSSODUZ
DESCRIPTIONUser or initiator of this purchase order
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSSO411
DESCRIPTIONStation/Substation Code (field #.01 of file #411 - Admin. Activity
Site Parameters file).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSSOPCD
DESCRIPTIONIEN of the Purchase Card file (#440.5) for the purchase card associated
with this purchase order
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

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

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERDSSOCNS
DESCRIPTIONIEN of the PAT Number file (#442.6). The Common Numbering Series in this
record will identify the next purchase order number to be used.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERDSSOPDT
DESCRIPTIONP.O. Date - defaults to today, but may be a future date. (i.e. -
3150130)
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETERDSSOSRC
DESCRIPTIONSource Code - file 420.8 IEN
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH15

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONOutput:
Error Messages: "-1^"_error message

Successful Completion:
DSSORET=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