DSIYEQ01 EQUPDT UPDATE EQUIP

TITLEVALUE
NAMEDSIYEQ01 EQUPDT UPDATE EQUIP
DESCRIPTIONEQUPDT

Update a record for a piece of equipment
TAGEQUPDT
ROUTINEDSIYEQ01
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERFORCE
DESCRIPTIONFORCE

Send an "S" to force a serial # dupe
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERFLAG
DESCRIPTIONFLAG

Send a flag to indicate bulk-edit session (only sent internally) or a
mult-edit session

B: BULK-EDIT (only used internally)
M: MULTI-EDIT
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDSIYDAT
DESCRIPTIONDSIYDAT

Send data to update

DSIYDAT(FIELD)=INTERNAL^EXTERNAL
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH200

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)= following pieces

p1: 1 if success
-1 if errors

p2: Equipment IEN
p3: PM info
1 if PM question should be asked
0:KEY if user does not have PM key
0:EXIST if equipment has PM but it's already set up

p4: FAP info
1 if FAP question should be asked
0:KEY if user does not ave FAP key
0:QUAL if equpment does not qualify for FAP
0:EXIST if equipmenjt already has FAP
0:VAL if equipment is FAP but not all fields are correct
(in this case DSIYRET(2..nn) will have more info

p5: WO info
1:YES if WO questions should be asked and default is YES
1:NO if WO question should be asked and default is NO
0 if WO question should not be asked

DSIYRET(2..NN) - more information on errors or FAP errors
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED