Skip to main content

Q35UpdateWorkOrderDates

The purpose of this function is to update the work orders date fields as if updating in the P17714.

It is assumed dates will be updated with their times i.e if updating DPL_jdPlannedCompletionDate then it is assumed mnRequestedFinishTime is being updated as well.

If you want to set a date fields value to null then the EV01_cDefaultBlanksToCurrent flag must be set to '0' to ensure the functions treats the date field parameters exactly as they are passed into the function, else if the flag is not set and a blank date field is passed in the field will be set to its current value from the work order.  The EV01_cDefaultBlanksToCurrent field defaults to '1' if null.

 

Data Structure

NameTypeInclusionDirection
DOCO_mnOrderNumberINTEGERREQUIREDIN
VERS_szP17714VersionSTRINGOPTIONALIN
EV01_cSuppressErrorsCHARACTEROPTIONALIN
DTAI_szErrorMessageDataItemSTRINGOPTIONALOUT
DPL_jdPlannedCompletionDateDATEOPTIONALBOTH
mnRequestedFinishTimeINTEGEROPTIONALBOTH
STRT_jdStartDateDATEOPTIONALBOTH
SEST_mnTimeScheduledStartINTEGEROPTIONALBOTH
DRQJ_jdRequestedDateDATEOPTIONALBOTH
mnPlannedFinishTimeINTEGEROPTIONALBOTH
STRX_jdCompletionDateDATEOPTIONALBOTH
TMCO_mnTimeCompletedINTEGEROPTIONALBOTH
EV01_cDefaultBlanksToCurrentCHARACTEROPTIONALIN
RSTM_mnResponseTimeFLOATOPTIONALBOTH
EV01_cReserveObjectCHARACTEROPTIONALIN
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.