GetWCRatesData

Get WC Rates Data

Minor Business Rule

Object Name: B3000150

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

Retrieve the Work Center Rates Data  from the Work Center Rates Table using either the Pointer to the 

F30008 Record or the Business Unit, and Cost Method.


1.2Setup Notes and Prerequisites



1.3Special Logic



2.Technical Specifications


2.4Processing 

1.0.  If DS F30008 Pointer is not equal to NULL, return requested information from F30008.

2.0.  If DS F30008 Pointer is equal to NULL, Retrieve the Work Center Rates using the DS Business 
Unit, and DS Cost Method.

2.1.  Retreive the F30008 using the Business Unit, Cost Method.
2.2.  If the Work Center Rates row cannot be located, assign DS Error Message Code = '0002' 

(Record Not Valid).  If the Work Center Rates row cannot be located and DS Suppress Error Messages is not 

equal to '1', SetGBRError where the error message is '0002' and DS  Business Unit is highlighted.

2.3.  If the Work Center Rates row is located, retreive the requested information.


Returns:

1.If the pointer to the F30008 record is not sent, and the Work Center Rates are not found using 
the Business Unit, Cost Method, error code '0002' (Record not valid) is returned.

2.If the Work Center Rates Record is found, the Work Center Rates Data is returned.


Data Structure

D3000150 - Get Work Center  Rates Data

Parameter NameData ItemData TypeReq/OptI/O/Both
szBusinessUnitMCUcharOPTNONE

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.

szCostMethodLEDGcharOPTNONE

A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards 
use.

mnDirectLaborFrozenSTLFMATH_NUMERICOPTNONE

This rate, in cost per hour, is the rate used to calculate the standard labor cost as of the last simulation and update.

mnDirectLaborSimulatedXSDLMATH_NUMERICNONENONE

A rate, in cost per person per hour, that the system uses with the Run Labor hours of the associated routing to calculate the standard run 
labor cost.

mnSetupLaborFrozenSTFFMATH_NUMERICNONENONE

This rate, in cost per hour, is the rate used to calculate the standard setup labor cost as of the last simulation and update.

mnSetupLaborSimulatedXSSLMATH_NUMERICNONENONE

A rate that the system uses with the Setup Labor Hours of the associated routing to calculate the standard setup labor cost.

mnIndirectLaborFrozenSIDLMATH_NUMERICNONENONE

This rate, in cost per hour, is the rate used to calculate the standard indirect labor cost as of the last simulation and update.

mnInderectLaborSimulatedXSILMATH_NUMERICNONENONE

This rate, in cost per hour, is used with the indirect labor hours field of the associated routing to calculate the standard indirect labor cost.

mnLaborVariableOHFrozenSTRFMATH_NUMERICNONENONE

This rate, in cost per hour or percent of labor, is the rate used to calculate the standard variable labor overhead cost as of the last 
simulation and update.

mnLaborVarOHSimulatedXSVOMATH_NUMERICNONENONE

A rate or percent, as determined on Manufacturing Constants, used to calculate the standard variable labor overhead cost. If this field is a 
rate, it is the cost per hour. If this field is a percent, it is the percent of direct labor. Enter percents as whole numbers. For example, enter five 
percent as 5.00.

mnLaborFixedOHFrozenSTRZMATH_NUMERICNONENONE

This rate, in cost per hour or percent of labor, is the rate used to calculate the standard fixed labor overhead cost as of the last simulation 
and update.

mnLaborFixedOHSimulatedXSFOMATH_NUMERICNONENONE

A rate or percent, as determined on Manufacturing Constants, used to calculate the standard fixed labor overhead cost. If this field is a rate, 
it is the cost per hour. If this field is a percent, it is the percent of direct labor. Enter percents as whole numbers. For example, enter five 
percent as 5.00.

mnMachineRunFrozenMSFRMATH_NUMERICNONENONE

This rate, in cost per hour, is the rate used to calculate the standard machine cost as of the last simulation and update.

mnMachineRunSimulatedXSMRMATH_NUMERICNONENONE

A rate that the system uses with the Run Machine hours of the associated routing to calculate the standard machine labor cost.

mnMachineVarOHSimulatedXSMVMATH_NUMERICNONENONE

A rate or percent, as determined on Manufacturing Constants, used to calculate the future standard machine overhead cost. If this field is a 
rate, it is the cost per hour. If this field is a percent, it is the percent of machine run. Enter percents as whole numbers. For example, enter five 
percent as 5.00.

mnMachineFixedOHFrozenMSSFMATH_NUMERICNONENONE

This rate, in cost per hour or percent of labor, is the rate used to calculate the standard fixed machine overhead cost as of the last 
simulation and update.

mnMachineFixedOHSimulatedXSMFMATH_NUMERICNONENONE

A rate or percent, as determined on Manufacturing Constants, used to calculate the standard fixed machine overhead cost. If this field is a 
rate, it is the cost per hour. If this field is a percent, it is the percent of machine run. Enter percents as whole numbers. For example, enter five 
percent as 5.00.

mnMachineVarOHFrozenMSTFMATH_NUMERICNONENONE

This rate, in cost per hour, is the rate used to calculate the standard machine cost as of the last simulation and update.

mnProductionHoursSTAFMATH_NUMERICNONENONE

Future use. The average of the standard time (hours) worked per period at a work center.

idF30008PointerGENLNGIDNONENONE

General purpose ID variable.

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.

cSuppressErrorMessageEV01charNONENONE

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

szCostCenterAltMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

Related Functions

None

Related Tables

F30008 Work Center Rates File