DSIYWO4A WOVAL VALIDATE

TITLEVALUE
NAMEDSIYWO4A WOVAL VALIDATE
DESCRIPTIONWOVAL

Validates the data in the Work Order file based on data sent from the
GUI screen.
TAGWOVAL
ROUTINEDSIYWO4A
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERUSER
DESCRIPTIONUSER

Not used at this time, may be repurposed later
This can be:
"W" for WARD User
"E" for Engineer
"Q" for Equipment Inventory
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERDSIYCON
DESCRIPTIONDSIYCON

Value for the Condition Code - this updates data in the Equipment
Inventory file ^ENG(6914) rather than the Work Order File

DSIYCON = Internal ^ External
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH10

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSIYTECH
DESCRIPTIONDSIYTECH

Data for Technician Multiple

DSIYTECH= TECH IEN1 ^ TECH HOURS1 ^ TECH SHOP IEN1 ;
TECH IEN2 ^ TECH HOURS2 ^ TECH SHOP IEN2 ; ...ETC.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH245

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERDSIYWKAC
DESCRIPTIONDSIYWKAC

Data for the Work Action Multiple

DSIYWKAC = WORK ACTION IEN1;WORK ACTION IEN2;...ETC.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH245

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERDSIYDAT
DESCRIPTIONDSIYDAT

Send in fields for Work Order information.

Field .01 should be the IEN of the Work Order - if this is a NEW Work
Order, leave this field blank.

All Fields should be in the format Internal Value ^ External Value
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH60

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERDSIYCOM
DESCRIPTIONDSIYCOM

Comment lines for the Work Order File

DSIYCOM(#)=Comment Line
PARAMETER TYPELIST
REQUIREDNO
MAXIMUM DATA LENGTH60

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="-1" If there are errors, errors will be further described in
subsequent nodes with the format
DSIYRET(#)=FIELD# ^ Error Message ^ Type (CRITICAL or WARNING)

DSIYRET(1) = 1^Validation Message

If DSIYRET(1)=1 but the second piece has a Validation Message - the user
must answer YES to this question in order for the GUI to go onto the next
step.

If there is nothing in the second piece, then no validation is needed.
DSIYRET("X") = Transfer Message
DSIYRET("D") = Disapprove Message
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED