GetWorkOrderDataI

Get Work Order Data I

Major Business Rule

Object Name: B3100310

Parent DLL: CMFGBASE

Location: Client/Server

Language: C






















Data Structure

D3100310 - Get Work Order Data I

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

idF4801PointerGENLNGIDNONENONE

General purpose ID variable.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szRelatedOrderNumberRORNcharNONENONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharNONENONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

szParentOrderNumberPARScharNONENONE

A number that identifies the parent work order. You can use this number to do the following:     o Enter default values for new work orders, 
such as Type, Priority, Status, and Manager     o Group work orders for project setup and reporting  

cTypeTYPScharNONENONE

A user defined code (00/TY) that indicates the classification of a work order or engineering change order. You can use work order type as a 
selection criterion for work order approvals.

cPriorityPRTScharNONENONE

A user defined code (00/PR) that indicates the relative priority of a work order or engineering change order in relation to other orders. A 
processing option for some forms lets you enter a default value for this field. The value then displays automatically in the appropriate fields on 
any work order you create on those forms and on the Project Setup form. You can either accept or override the default value.

szDescription1DL01charNONENONE

A user defined name or remark.

szCompanyCOcharNONENONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szBusinessUnitMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szBranchMMCUcharNONENONE


szStatusSRSTcharNONENONE

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

szSubsidiarySUBcharNONENONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

jdOrderDateTRDJJDEDATENONENONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdStartDateSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

jdRequestedDateDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

jdPlannedCompletionDateDPLJDEDATENONENONE

The date that the work order or engineering change order is planned to be completed.

jdCompletionDateSTRXJDEDATENONENONE

The date that the work order or engineering change order is completed or canceled.

szPhaseWR01charNONENONE

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

szCategory02WR02charNONENONE

A user defined code (00/W2) that indicates the type or category of a work order. Note: A processing option for some forms lets you enter a 
default value for this field. The system enters the default value automatically in the appropriate fields on any work orders that you create on 
those forms and on the Project Setup form. You can either accept or override the default value.

szCategory03WR03charNONENONE

A user defined code (00/W3) that indicates the type or category of the work order. Note: A processing option for some forms allows you to 
enter a default value for this field. The system enters the default value automatically in the appropriate fields on any work orders that you 
create on those forms and on the Project Setup form. You can either accept or override the default value.

szReferenceVR01charNONENONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

mnItemNumberShortITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

cWOPickListPrintedSHTYcharNONENONE

A code to designate whether or not the Work Order Pick List has been printed for a Work Order.  If a 1 is in this code, the Work Order Pick 
List has been printed.

mnQuantityUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

mnQuantityCancelledSOCNMATH_NUMERICNONENONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

mnQuantityShippedSOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

szUnitOfMeasureUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szErrorMessageIDDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szLotNumberLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szTypeBillTBMcharNONENONE

A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses. 
For example:    M     Standard manufacturing bill    RWK   Rework bill    SPR   Spare parts bill  The system enters bill type M in the work order 
header when you create a work order, unless you specify another bill type. The system reads the bill type code on the work order header to 
know which bill of material to use to create the work order parts list. MRP uses the bill type code to identify the bill of material to use when it 
attaches MRP messages. Batch bills of material must be type M for shop floor management, product costing, and MRP processing.

mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

szTypeRoutingTRTcharNONENONE

A user defined code (40/TR) that indicates the type of routing. You can define different types of routing instructions for different uses. For 
example:    M    Standard Manufacturing Routing    RWK  Rework Routing    RSH  Rush Routing You define the routing type on the work order 
header. The system then uses the specific type of routing that you define in the work order routing. Product Costing and Capacity Planning systems 
use only M type routings.

cVarianceFlagPPFGcharNONENONE

A 1 in this field indicates that this work order has had work order activity run against it in update mode. A 2 in this field indicates that this work 
order has had the appropriate variances calculated and reported to the general ledger.

mnOriginatorAddressNoANOMATH_NUMERICNONENONE

The address book number of the person who originated the change request. The system verifies this number against the Address Book.

mnSupervisorAddressNumberANPAMATH_NUMERICNONENONE

The address book number of the supervisor.

mnInspectorAddressNumberANTMATH_NUMERICNONENONE

The address book number of the inspector.

mnManagerAddressNumberANSAMATH_NUMERICNONENONE

The address book number of a manager or planner.   Note:  A processing option for some forms allows you to enter a default value for this 
field based on values for category codes 1 (Phase), 2, and 3.  You set up the default values on the Default Managers and Supervisors form.  
After you set up the default values and the processing option, the default information displays automatically on any work orders that you 
create if the category code criterion is met.  You can either accept or override the default value. 

mnAssignedToAddressNumberANPMATH_NUMERICNONENONE

The address book number of the person assigned to do the work.

mnDistributionBillingRateBRTMATH_NUMERICNONENONE

A rate that the system uses to mark up the revenue amount reflected in the billing of professional services such as draftsmen, engineers, or 
consultants. This rate does not affect the employee's paycheck. You can use the markup rate as an override rate or as a maximum rate. The 
calculation of the rate override for the total revenue markup is as follows: (Rate Override * Unit) * (1 + Markup Percent) + Markup 
Amount When you specify a maximum or cap rate, the system compares the rate override with the rate from the cost transaction. The system then uses 
the lower rate as the override rate. You set up the override or maximum unit rate using the Billing Rate / Markup Table program (P48096). Within 
the Service Billing and Contract Billing systems, you can mark up the revenue amount at a different rate from the invoice amount. The 
Independent Revenue/Invoice Amounts option in the Billing System Constants table (F48091) controls this function. Use generation type 1 to 
specify a table for invoice, revenue, and component markup rates and use generation type 2 to specify a table for revenue and component 
markup rates. Use generation type 1 to specify the invoice, revenue, and component markup rates only when the Independent Revenue/Invoice 
Amounts are set to not equal in the Billing Constants.

szCategory04WR04charNONENONE

A user defined code (00/W4) that indicates the type or category of the work order.

szCategory05WR05charNONENONE

A user defined code (00/W5) that indicates the type or category of the work order.

szPayTypePAYTcharNONENONE

A code to define the type of pay, deduction, benefit or accrual. Pay types are numbered from 1 to 999 Deductions and benefits from 1000 to 
9999. At the present time, the following codes have been "hardcoded":    801  Sick Time Taken    802  Vacation Time Taken    8001 Accruing 
Sick Time (but not available)    8002 Available Sick Time    8003 Accruing Vacation Time (but not available)    8004 Available Vacation Time    
8010 Washington State Industrial Insurance    8020 Oregon Second Injury Insurance NOTE: We ask that you not use the 8000 series so that we 
may reserve them for other hardcoded purposes that may arise from time to time.

szWOStatusCommentSTCMcharNONENONE

A brief description to explain the status of the work order.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

Related Functions

None

Related Tables

F4801 Work Order Master File