Q35WorkOrderMasterService
This functions purpose is to create, copy, and update work orders as if you where using the P17714.
General this function should never be called directly. It is recommend to use the one of the below provided wrapper functions to manipulate the work order data for each wrapper function will handle the validation required for that scenario.
For example using the Q35UpdateWorkOrderDates function will set the default dates if any date values are blank and will recalculate the planned completion date if required.
If no wrapper function is suitable for your requirements then you can use the Q35UpdateWorkOrderFull function.
Calls
This function calls the following Q35 functions.
Called By
This function is called by the following Q35 functions.
Data Structure
Name | Type | Inclusion | Direction |
---|---|---|---|
EV01_cSuppressErrors | CHARACTER | OPTIONAL | IN |
DTAI_szErrorMessageDataItem | STRING | OPTIONAL | OUT |
BEGT_mnStatusUpdateBeginTime | INTEGER | OPTIONAL | IN |
EFTB_jdStatusUpdateBeginDate | DATE | OPTIONAL | IN |
RMK_szStatusUpdateRemark | STRING | OPTIONAL | IN |
VERS_szP17714Version | STRING | OPTIONAL | IN |
DOCO_mnOrderNumber | INTEGER | OPTIONAL | BOTH |
DCTO_szOrderType | UDC | OPTIONAL | BOTH |
PTWO_mnPegToWorkOrder | INTEGER | OPTIONAL | BOTH |
PARS_szParentOrderNumber | STRING | OPTIONAL | BOTH |
TYPS_cWOType | UDC | OPTIONAL | BOTH |
PRTS_cWOPriority | UDC | OPTIONAL | BOTH |
DL01_szWODescription | STRING | OPTIONAL | BOTH |
STCM_szStatusComment | STRING | OPTIONAL | BOTH |
MCU_szBusinessUnit | BUSINESSUNIT | OPTIONAL | BOTH |
MMCU_szBranchPlant | BUSINESSUNIT | OPTIONAL | BOTH |
SRST_szWOStatus | UDC | OPTIONAL | BOTH |
SUB_szSubsidiary | STRING | OPTIONAL | BOTH |
AN8_mnCustomerNumber | ADDRESSNUMBER | OPTIONAL | BOTH |
ANO_mnOriginatorNumber | ADDRESSNUMBER | OPTIONAL | BOTH |
ANSA_mnManager | ADDRESSNUMBER | OPTIONAL | BOTH |
ANPA_mnSupervisor | ADDRESSNUMBER | OPTIONAL | BOTH |
ANP_mnAssignedToAddressNumber | ADDRESSNUMBER | OPTIONAL | BOTH |
DPL_jdPlannedCompletionDate | DATE | OPTIONAL | BOTH |
ANT_mnInspectorNumber | ADDRESSNUMBER | OPTIONAL | BOTH |
NAN8_mnNextAddressNumber | ADDRESSNUMBER | OPTIONAL | BOTH |
STRT_jdStartDate | DATE | OPTIONAL | BOTH |
DRQJ_jdRequestedDate | DATE | OPTIONAL | BOTH |
STRX_jdCompletionDate | DATE | OPTIONAL | BOTH |
WR01_szWOCategoryCode001 | UDC | OPTIONAL | BOTH |
WR02_szWOCategoryCode002 | UDC | OPTIONAL | BOTH |
WR03_szWOCategoryCode003 | UDC | OPTIONAL | BOTH |
WR04_szWOCategoryCode004 | UDC | OPTIONAL | BOTH |
WR05_szWOCategoryCode005 | UDC | OPTIONAL | BOTH |
WR06_szWOCategoryCode006 | UDC | OPTIONAL | BOTH |
WR07_szWOCategoryCode007 | UDC | OPTIONAL | BOTH |
WR08_szWOCategoryCode008 | UDC | OPTIONAL | BOTH |
WR09_szWOCategoryCode009 | UDC | OPTIONAL | BOTH |
WR10_szWOCategoryCode010 | UDC | OPTIONAL | BOTH |
VR01_szReference | STRING | OPTIONAL | BOTH |
VR02_szReference2 | STRING | OPTIONAL | BOTH |
AMTC_mnChargeToOriginalAmount | FLOAT | OPTIONAL | BOTH |
HRSO_mnEstimatedHours | FLOAT | OPTIONAL | BOTH |
HRSA_mnHoursActual | FLOAT | OPTIONAL | BOTH |
ITM_mnShortItemNumber | SHORTITEM | OPTIONAL | BOTH |
NUMB_mnAssetNumber | ASSETNUMBER | OPTIONAL | BOTH |
UORG_mnQtyOrdered | INTEGER | OPTIONAL | BOTH |
UOM_szUnitOfMeasure | UDC | OPTIONAL | BOTH |
SHNO_szMessageNumber | STRING | OPTIONAL | BOTH |
TBM_szTypeOfBill | UDC | OPTIONAL | BOTH |
TRT_szTypeOfRouting | UDC | OPTIONAL | BOTH |
SPRT_cFlashMessage | UDC | OPTIONAL | BOTH |
PC_mnPercentComplete | FLOAT | OPTIONAL | BOTH |
LOTN_szLotNumber | STRING | OPTIONAL | BOTH |
SBLI_cSubledgerInactiveCode | UDC | OPTIONAL | BOTH |
ESDN_mnEstimatedDowntimeHours | FLOAT | OPTIONAL | BOTH |
ACDN_mnActualDowntimeHours | FLOAT | OPTIONAL | BOTH |
SAID_mnServiceAddressNumber | INTEGER | OPTIONAL | BOTH |
APRT_szApprovalType | UDC | OPTIONAL | BOTH |
AMLC_mnEstimatedLaborAmount | FLOAT | OPTIONAL | BOTH |
AMMC_mnEstimatedMaterialAmount | FLOAT | OPTIONAL | BOTH |
AMOT_mnEstimatedOtherAmount | FLOAT | OPTIONAL | BOTH |
LBAM_mnActualLaborAmount | FLOAT | OPTIONAL | BOTH |
MTAM_mnActualMaterialAmount | FLOAT | OPTIONAL | BOTH |
ISSUE_szISSUE | STRING | OPTIONAL | BOTH |
PRODM_szProductModel | UDC | OPTIONAL | BOTH |
WHO2_szContactName2 | STRING | OPTIONAL | BOTH |
AR1_szPhoneAreaCode1 | STRING | OPTIONAL | BOTH |
PHN1_szPhoneNumberOne | STRING | OPTIONAL | BOTH |
TMCO_mnTimeCompleted | INTEGER | OPTIONAL | BOTH |
MTHPR_cMethodofPricing | UDC | OPTIONAL | BOTH |
ENTCK_szEntitlementCheck | UDC | OPTIONAL | BOTH |
RYIN_cPaymentInstrumentA | UDC | OPTIONAL | BOTH |
RSTM_mnResponseTime | FLOAT | OPTIONAL | BOTH |
CTR_szCountry | UDC | OPTIONAL | BOTH |
REGION_szGeographicRegion | UDC | OPTIONAL | BOTH |
TXA1_szTaxArea1 | STRING | OPTIONAL | BOTH |
EXR1_szTaxExplanationCode1 | UDC | OPTIONAL | BOTH |
LNGP_szLanguagePreference | UDC | OPTIONAL | BOTH |
GLCCV_szGLCategoryCovered | UDC | OPTIONAL | BOTH |
GLCNC_szGLCategoryNonCovered | UDC | OPTIONAL | BOTH |
COVGR_szCoverageGroup | UDC | OPTIONAL | BOTH |
TIMEZONES_szTimeZoes | UDC | OPTIONAL | BOTH |
PRODF_szProductFamily | UDC | OPTIONAL | BOTH |
CRDC_szCurrencyCodeTo | STRING | OPTIONAL | BOTH |
CRCD_szCurrencyCodeFrom | STRING | OPTIONAL | BOTH |
CRRM_cCurrencyMode | UDC | OPTIONAL | BOTH |
CRR_mnCurrencyConverRateOv | FLOAT | OPTIONAL | BOTH |
DOC_mnDocVoucherInvoiceE | INTEGER | OPTIONAL | BOTH |
WR11_szECOworkbenchselections | UDC | OPTIONAL | BOTH |
WR12_szCategoriesWorkOrder12 | UDC | OPTIONAL | BOTH |
WR13_szCategoriesWorkOrder13 | UDC | OPTIONAL | BOTH |
WR14_szCategoriesWorkOrder14 | UDC | OPTIONAL | BOTH |
WR15_szCategoriesWorkOrder15 | UDC | OPTIONAL | BOTH |
WR16_szCategoriesWorkOrder16 | UDC | OPTIONAL | BOTH |
WR17_szCategoriesWorkOrder17 | UDC | OPTIONAL | BOTH |
WR18_szCategoriesWorkOrder18 | UDC | OPTIONAL | BOTH |
WR19_szCategoriesWorkOrder19 | UDC | OPTIONAL | BOTH |
WR20_szCategoriesWorkOrder20 | UDC | OPTIONAL | BOTH |
MCULT_szWorkCenterLeadCraft | STRING | OPTIONAL | BOTH |
OTAM_mnAmountActualOther | FLOAT | OPTIONAL | BOTH |
mnPlannedFinishTime | INTEGER | OPTIONAL | BOTH |
EQST_szToEquipmentStatus | UDC | OPTIONAL | IN |
UPLOW_cUpdateChildren | CHARACTER | OPTIONAL | IN |
SEST_mnTimeScheduledStart | INTEGER | OPTIONAL | BOTH |
mnRequestedFinishTime | INTEGER | OPTIONAL | BOTH |
DOCO_mnCopiedFromOrderNumber | INTEGER | OPTIONAL | IN |
SRYN_cEligibleSupplierRecovery | UDC | OPTIONAL | BOTH |