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.
Calls
This function calls the following Q35 functions.
Data Structure
Name | Type | Inclusion | Direction |
---|---|---|---|
DOCO_mnOrderNumber | INTEGER | REQUIRED | IN |
VERS_szP17714Version | STRING | OPTIONAL | IN |
EV01_cSuppressErrors | CHARACTER | OPTIONAL | IN |
DTAI_szErrorMessageDataItem | STRING | OPTIONAL | OUT |
DPL_jdPlannedCompletionDate | DATE | OPTIONAL | BOTH |
mnRequestedFinishTime | INTEGER | OPTIONAL | BOTH |
STRT_jdStartDate | DATE | OPTIONAL | BOTH |
SEST_mnTimeScheduledStart | INTEGER | OPTIONAL | BOTH |
DRQJ_jdRequestedDate | DATE | OPTIONAL | BOTH |
mnPlannedFinishTime | INTEGER | OPTIONAL | BOTH |
STRX_jdCompletionDate | DATE | OPTIONAL | BOTH |
TMCO_mnTimeCompleted | INTEGER | OPTIONAL | BOTH |
EV01_cDefaultBlanksToCurrent | CHARACTER | OPTIONAL | IN |
RSTM_mnResponseTime | FLOAT | OPTIONAL | BOTH |