GetWCData

Get WC Data

Minor Business Rule

Object Name: B3000030

Parent DLL: CMFGBASE

Location: Client/Server

Language: C







































Data Structure

D3000030 - Get Work Center Data

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

szDispatchGroupMCUWcharNONENONE

A category code used to group work centers within an overall business unit. For example, you can use this code to group similar machines 
operating out of several work centers that report to one business unit.

szBranchMMCUcharNONENONE

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.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

cCriticalWorkCenterCRTWcharNONENONE

A code that indicates whether the work center is critical or not critical when the system calculates capacity. Valid values are: N Not a critical 
work center. 1 A critical work center in calculating RRP only. 2 A critical work center in calculating RCCP and CRP. 3 A critical work center in 
calculating RRP, RCCP, and CRP. The system also displays Type 3 work centers when you select Type 1 or Type 2 in this field. 4 Not a capacity 
work center. The system does not include this work center in capacity planning. Note: The data selection is a system feature that processes 
certain groups of information with the RRP, RCCP, and CRP programs.

cPrimeLoadCodePILCcharNONENONE

A code that determines if a work center is machine or labor intensive. The system also uses prime load codes in Resource Requirements 
Planning and Capacity Requirements Planning calculations to develop load profiles. Valid codes are:    L Run labor hours only    M Machine 
hours only    B Run labor plus setup labor hours    C Machine plus setup hours    O Other (will not generate resource units)

cPayPointCodeBFPFcharNONENONE

A code that indicates whether a work center has labor, material, or both,backflushed through it when quantities are reported against 
operations occurring in the work center. If you do not override the routing record, the system uses the work center value as the default. Valid codes 
are:    0   Not a backflush work center    B Backflush material and labor    M Backflush material only    L Backflush labor only    P Preflush material 
only

cDemoCalcCapacityDEMOcharNONENONE

Future use. A switch selecting either Demonstrated (D) or Calculated (C) capacity to use in CRP calculations for work center 
capacity. Demonstrated Capacity is the proven capacity calculated from actual output performance data. This is usually the number of items produced times 
standard hours per item. Calculated (or Rated) Capacity is the capacity calculated from such data as utilization, efficiency and planned 
hours.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

mnReplenishmentHoursAVRTMATH_NUMERICNONENONE

The time required before a consuming location has a replacement kanban available from its supplying location. This value is used only for 
kanban card processing in Shop Floor Management.

mnResourceOffsetTRKSMATH_NUMERICNONENONE

A value used in the Resource Profile table (F3303) to determine the number of days that the actual use of a work center resource should be 
offset from the forecasted need date.

mnWorkHourPerDayWRHRMATH_NUMERICNONENONE

The number of work hours that the manufacturing plant operates per day.

mnEfficiencyWOREMATH_NUMERICNONENONE

A user defined value that indicates how efficiently a work center operates. This value usually refers to staff efficiency. When you enter a 
value in this field, and the Modify Cost by Work Center Efficiency field in the Job Shop Manufacturing Constants table (F3009) is set to Y, the 
system creates a new cost component (B4) from the cost calculated from the direct labor cost (B1). For example, if the constant is set to Y, the value 
of this field is 80%, and the direct labor cost is 10, the system creates a B4 cost component for 2 in the Item Cost Component Add-Ons table 
(F30026). The Refresh Resource Units program also uses this value as a default when calculating rated capacity. Enter percents as whole 
numbers. For example, enter 80% as 80.00. Note: The system expects that the routing times entered for each operator are the actual times it 
takes to complete an operation. Efficiency does not affect total cost. Efficiency does reassign some of the costs into different cost 
components. Efficiency does not change the duration or backscheduling of a work order.

mnUtilizationWORUMATH_NUMERICNONENONE

A percentage that indicates how intensively a work center is being used. This value usually refers to machine use. It is the ratio of the direct 
time charged for production activities to the planned hours. The Refresh Resource Units program also uses this value as a default when 
calculating rated capacity. Enter percents as whole numbers. For example, enter 80% as 80.00.

mnNumberOfEmployeesQMADMATH_NUMERICNONENONE

The normal number of employees in this work center. When you run the Work Center Resource Units Refresh program, the system 
multiplies this number by the Number of Work Hours Per Day from the Manufacturing Constants table (F3009) to generate the total gross labor hours 
available in the work center each day.

mnNumberOfMachinesNOMAMATH_NUMERICNONENONE

The normal number of machines in this work center. When you run the Work Center Resource Units Refresh program, this number is 
multiplied by the number of work hours per day from the Manufacturing Constants table (F3009) to generate the total gross machine hours available 
in the work center each day.

mnStandardQueueHoursSQDMATH_NUMERICNONENONE

Future Use The expected number of hours a job will wait in the queue at this work center before work on it begins.

mnMoveHoursMOVDMATH_NUMERICNONENONE

The planned hours that are required to move the order from this operation to the next operation in the same work center. If the Routing 
Master values are blank, the system retrieves the default value from the work order routing. However, the system uses these values only for 
backscheduling variable leadtime items.

mnQueueHoursQUEDMATH_NUMERICNONENONE

The total hours that an order is expected to be in queue at work centers and moving between work centers. The system stores this value in 
the Item Branch table (F4102). You can calculate this value using the Leadtime Rollup program or you can enter it manually. When you run the 
Leadtime Rollup program, the system overrides manual entries and populates the table with calculated values.

mnCrewSizeSETCMATH_NUMERICNONENONE

The number of people who work in the specified work center or routing operation. The system multiplies the Run Labor value in the Routing 
Master table (F3003) by crew size during costing to generate total labor amounts. If the Prime Load Code is L or B, the system uses the total 
labor hours for backscheduling. If the Prime Load Code is C or M, the system uses the total machine hours for backscheduling without 
modification by crew size.

idF30006PointerGENLNGIDNONENONE

General purpose ID variable.

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.

cWorkCenterTypeLICcharOPTNONE

A code that defines the type of work center. Valid values are :    0   Stand alone work center    1   Production line in a repetitive environment    2 
  Production line in a Lean Environment 

mnWorkHoursShift2WRH2MATH_NUMERICOPTNONE

The number of work hours that the manufacturing plant operates in shift 2.

mnWorkHoursShift3WRH3MATH_NUMERICOPTNONE

The number of work hours that the manufacturing plant operates in shift 3.

mnWorkHoursShift4WRH4MATH_NUMERICOPTNONE

The number of work hours that the manufacturing plant operates in shift 4.

mnWorkHoursShift5WRH5MATH_NUMERICOPTNONE

The number of work hours that the manufacturing plant operates in shift 5.

mnWorkHoursShift6WRH6MATH_NUMERICOPTNONE

The number of work hours that the manufacturing plant operates in shift 6.

szCapacityUOMCAPUcharOPTNONE

A unit of measure that you use to express the capacity of a production line. Examples of units of measure include hours, number of 
stampings, coats of paint, and so on. This item is used for repetitive processing only.

mnStandardCapacityCPSDMATH_NUMERICOPTNONE

The standard capacity level at which a production line usually operates. Capacity is stated in units per hour. This level is used for repetitive 
processing only.

mnMinimumCapacityCPMIMATH_NUMERICOPTNONE

The lower limit of the capacity, beyond which the production line should not operate. Management sets this limit, based on factors such as 
efficiencies, costs, and so on. Capacity is stated in units per hour. This limit is used for repetitive processing only.

mnMaximumCapacityCPMAMATH_NUMERICOPTNONE

The upper limit of the capacity, beyond which a production line cannot produce. Capacity is stated in units per hour. This limit is used for 
repetitive processing only.

szLocationBranchLOMCcharOPTNONE

This is the branch plant of the location associated with the work center.

szWorkDayCalendarTypeWDCTcharOPTNONE

A user defined code (42/WD) that specifies how the calendar is used. For example, the calendar might be specific to an industry such as 
banking or it might be used to schedule delivery persons for a route.  Note: If you use the default value of *, the system updates the value to 
blank even though blank is not set up as a valid value in the UDC table.

szWorkDayCalendarKeyWDCKcharOPTNONE

A code used to classify values within a calendar type. For example, if the calendar type is ROUTE, you can enter a code that specifies a 
particular route, such as Daily or Weekend.  Note: The system does not validate the code that you enter. 

Related Functions

B3000400 Verify And Get Work Center Master
B4000460 Free Ptr To Data Structure

Related Tables

F30006 Work Center Master File
F30006T Work Center Master Tag File - not used in B9,obsolete in B10