UpdateWorkOrderVarianceFile

Update Work Order Variance File

Minor Business Rule

Object Name: B3100800

Parent DLL: CMFGBASE

Location: Client/Server

Language: C














































































































































































































































































































Data Structure

D3100800 - Update Work Order Variance File

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charNONENONE

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

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.

mnShortItemNumberITMMATH_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

cParentChildPARTcharNONENONE

An option that specifies whether the system displays parent records or child records. If you turn on this option, the system displays parent 
records for the address book number entered. Also a field that indicates whether a record is a parent or child. For the field, valid values 
are: P Parent   C Child  

szCostTypeCOSTcharNONENONE

A code that designates each element of cost for an item. Examples of the cost object types are:   o  A1  Purchased raw material   o  B1  
Direct labor routing rollup   o  B2  Setup labor routing rollup   o  C1  Variable burden routing rollup   o  C2  Fixed burden routing rollup   o  Dx  Outside 
operation routing rollup   o  Xx  Extra add-ons, such as electricity and water  The optional add-on computations usually operate with the type 
Xx extra add-ons. This cost structure allows you to use an unlimited number of cost components to calculate alternative cost rollups. The 
system then associates these cost components with one of six user defined summary cost buckets.

cUpdateStandardEV01charNONENONE

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

mnStandardUnitsOPUNMATH_NUMERICNONENONE

The standard units to produce a given amount of product.

mnStandardAmountsOPATMATH_NUMERICNONENONE

The standard amount to produce a given amount of product.

cUpdateCurrentEV01charNONENONE

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

mnCurrentUnitsCCCUMATH_NUMERICNONENONE

The current units to produce a given amount of product.

mnCurrentAmountCCCAMATH_NUMERICNONENONE

The current amount to produce a given amount of product.

cUpdatePlannedEV01charNONENONE

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

mnPlannedUnitsPLUNMATH_NUMERICNONENONE

Future Use.

mnPlannedAmountPLATMATH_NUMERICNONENONE

The planned amount to produce a given amount of product.

cUpdateActualEV01charNONENONE

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

mnActualUnitsCLUNMATH_NUMERICNONENONE

The actual units to produce a given amount of product.

mnActualAmountCLATMATH_NUMERICNONENONE

The actual amount to produce a given amount of product.

cUpdateCompletedEV01charNONENONE

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

mnCompletedUnitsCPUNMATH_NUMERICNONENONE

The units completed for the work order.

mnCompletedAmountCPATMATH_NUMERICNONENONE

The amount completed for the work order.

cUpdateScrapEV01charNONENONE

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

mnScrappedUnitsSLUNMATH_NUMERICNONENONE

The units scrapped for the work order.

mnScrappedAmountSLATMATH_NUMERICNONENONE

The amount scrapped for the work order.

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).

szComputerIDCTIDcharNONENONE

cSuppressErrorMessagesEV01charNONENONE

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

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.

szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cRecordFoundEV01charNONENONE

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

cUpdateEngineeringVarianceEV01charOPTNONE

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

cUpdatePlannedVarianceEV01charOPTNONE

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

cUpdateActualVarianceEV01charOPTNONE

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

cUpdateOtherVarianceEV01charOPTNONE

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

cUpdateNetVarianceEV01charOPTNONE

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

mnEngineeringVarianceENGVMATH_NUMERICOPTNONE

This field contains the posted engineering variance amount that is calculated by Variance Journal Entries (P31804) when run in Final mode. 
The calculated amount is equal to the Current Amount minus the Standard Amount. The amount is determined by changes to the bill of 
materials, routing or work center rates after the last cost simulation and update.

mnPlannedVariancePLNVMATH_NUMERICOPTNONE

This field contains the posted planned variance amount, calculated in the last run of P31804 (Final mode). It is equal to Planned amount - 
Current amount It is caused by differences between the parts list and the bill of materials or general routing values and specific work order/rate 
values.

mnActualVarianceVACTMATH_NUMERICOPTNONE

This field contains the posted actual variance amount that is calculated by Variance Journal Entries (P31804) when run in Final mode. The 
calculated amount is equal to the Actual Amount - Planned Amount field. The amount is determined by reporting units or hours which differ from 
the parts list or specific work order/rate values.

mnOtherVarianceAmountOTHVMATH_NUMERICOPTNONE

This field contains the posted other variance amount, which is calculated in the last run of Variance Journal Entries (P31804) when run in 
Final mode. The calculated amount is equal to the Standard amount, minus the Completed amount,plus the scrap amounts. The amount is 
determined by completing quantities different from the accounting cost quantity, over/under completions, and frozen cost changes.

mnNetVarianceNETVMATH_NUMERICOPTNONE

This field contains the posted Net variance amount, calculated in the last run of P31804 (Final mode). It is equal to Actual amount - 
Complete + scrap amount It is caused by reporting units/hours which differ from the standard cost for the item. This is the net variance which will be 
reflected in the accounting entries.

mnNewCompletedUnitsCPUNMATH_NUMERICOPTNONE

The units completed for the work order.

cFinalModeEV01charOPTNONE

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

szWorkCenterMCUcharOPTNONE

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.

mnJobNumberJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

Related Functions

B4001040 Get Item Master Description UOM
B9800100 Get Audit Information

Related Tables

F3102 Production Cost