GetFlagMasterRouting

Get Flag Master Routing

Minor Business Rule

Object Name: B3000200

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
Get Manufacturing Constants table (F3009) row for a specific Branch/Plant (IAMMCU), and send back the 
value of the Master Routing flag (IAMRYN).  (Note:  "Y" indicates the branch can use Master Routings 

and "N" means it can not.).  Other pertinant costing constants are retrieved.


1.2Setup Notes and Prerequisites



1.3Special Logic



2.Technical Specifications


2.4Processing 

Retrievals:

1.0Get:  Manufacturing Constants (F3009) row for the branch value passed in the data structure, 
using an Index of:  Branch (IAMMCU).  If the get is successful, assign the value of IAMRYN into MRYN to 

send back to the calling program.  If there is no row for the branch value passed, assign a value "N" 

to MRYN.

2.0Retrieve and send back pertinant costing fields.




^

Data Structure

D3000200 - Get Flag Master Routing

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

cMasterroutingynMRYNcharNONENONE

An option that determines whether the system uses the master routing for an item or a routing defined for the parent item. Both routings are 
retrieved from the Routing Master table (F3003). If you choose to check for master routings, the Shop Floor Management system checks the 
Item Cross Reference table (F4104), cross-reference type MR, for the parent item. If it finds a cross-reference, the program uses the master 
routing from the Routing Master Table (F3003). If it does not find a cross-reference, the system uses the routing defined for the parent item. If 
you do not choose to check for master routings, the program uses the parent item's routing from the Routing Master table. For World: Valid 
values are:    Y Yes, use the master routing for an item, if one exists.    N No, do not check for a master routing for the item. For OneWorld: To specify 
whether the system checks for cross-references and uses a master routing for the item, click the Master Routings option under the 
BOM/Routing Options heading.

cAllocationsControlFLD1charNONENONE

An option that determines how the system commits inventory to a work order, and specifies the inventory location to which commitments are 
made. Valid values are: 1 Primary Location 2 Split-Cross Branch Boundaries 3 Split-Don't Cross Branch Boundaries Note: The system 
activates this field only when you create hard commitments. The three available options are as follows:   o  Primary Location. Make commitments to 
the primary location in the branch/plant where the work order originates.   o  Split-Cross Branch Boundaries. Split the parts list and 
commitments to fill any component shortages. The system can cross branch boundaries to fill requirements. In this case, the system uses the next 
alphabetical branch/plant listed in the table that occurs after the branch/plant on the work order header. For example, for the branch/plants CAL, 
CHI, CLE, and HOU: If the system starts committing inventory at branch/plant CHI, it accesses CLE as the next branch/plant. If inventory is low in 
all locations, the system makes the remaining commitments to the primary location of the branch/plant on the work order header.   o  
Split-Don't Cross Branch Boundaries. This option is similar to Split-Cross Branch Boundaries, but the system cannot cross branch boundaries. Note: 
When you set the Commitment Method field in the Item Branch/Plant table to 2 or 3 (lot number or expiration date control), you must use the 
Split-Don't Cross Branch Boundaries option.

cHardSoftCommitFLD2charNONENONE

An option that determines how the Shop Floor Management system commits inventory. The options are as follows:     o Hard commitment at 
creation of parts list. The system performs a hard commitment at the creation of the parts list. The hard commitment remains in effect until 
inventory is relieved.     o Soft commitment, then changed to hard commitment when printing. The system performs a soft commitment at the 
creation of the parts list.        The system then changes the commitment to a hard commitment during the pick list print process (P31410) for the 
work order. The hard commitment remains in effect until inventory is relieved.     o Soft commitment at creation of parts list. The system performs a 
soft commitment at creation of the parts list. The soft commitment remains in effect until inventory is relieved. When you set the Commitment 
Method field in the Branch/Plant Constants form to 2 or 3, you must use either Hard commitment at creation of parts list or Soft commitment, 
then hard commitment when printing because a hard commitment must be performed. If you want to identify substitute items when a shortage 
occurs, you must choose the hard commitment at creation of parts list option. When you choose either Soft, Hard when printing or Soft at creation 
of Parts List, any line item in the parts list may be hard-committed prior to printing or relieving the inventory. For World: When the hard/soft 
commit option is set to 2 or 3, any line item in the parts list may be hard committed prior to printing or relieving the inventory. Valid codes are:    1   
Hard commitment    2   Soft commitment, hard commitment when printing (P31410)    3   Soft commitment For OneWorld: To specify how the 
program commits inventory, click one of the following options under the Hard/Soft Commit heading:     o Hard at creation of parts list     o Soft, Hard 
when printing (P31410)     o Soft at creation of parts list

cModWorkCenterEffMWCEcharNONENONE

An option that determines whether the cost rollup creates cost component B4  (for labor efficiency) based on the direct labor value (cost 
component B1) and the Work Center Efficiency percent from the Work Center Master table (F30006). For World: Valid values are:    Y Yes. Create 
cost component B4.    N No. Do not create cost component B4. For OneWorld: To create cost component B4, click the Modify cost by Work 
Center Efficiency option under the Costing Options heading.

cIncludeVariableMachOHIVMOcharNONENONE

An option that determines whether the cost rollup creates cost component C1  (for variable machine overhead) in the Cost Components 
table (F30026). For World: Valid values are:    Y Yes. Create cost component C1.    N No. Do not create cost component C1. For OneWorld: To 
create cost component C1, click the Include Var. Machine Overhead in Cost option under the Costing Options heading.

cIncludeFixedMachOHIFMOcharNONENONE

An option that determines whether the cost rollup creates cost component C2  (for fixed machine overhead) in the Item Cost Component 
Add-Ons table (F30026). For World: Valid values are:    Y Yes. Create cost component C2.    N No. Do not create cost component C2. For 
OneWorld: To create cost component C2, click the Include Fixed Machine Overhead in Cost option under the Costing Options heading.

cIncludeVarLaborOHIVOcharNONENONE

An option that determines whether the cost rollup creates cost component C3  (for variable labor overhead) in the Item Cost Component 
Add-Ons table (F30026). For World: Valid values are:    Y Yes. Create cost component C3.    N No. Do not create cost component C3. For 
OneWorld: To create cost component C3, click the Include Variable Labor Overhead in cost option under the Costing Options heading.

cCalculateVaronDirectLaborCVDLcharNONENONE

An option that determines whether the cost rollup includes direct labor expenses (cost component B1) in the total used to calculate variable 
labor overhead (cost component C3). For World: Valid values are:    Y Yes. Include direct labor expenses.    N No. Do not include direct labor 
expenses. For OneWorld: To include direct labor expenses, click the Calculate Var. on Direct Labor option under the Costing Options 
heading.

cCalculateVaronSetupLaborCVSLcharNONENONE

An option that determines whether the cost rollup includes setup labor expenses (cost component B2) in the total used to calculate variable 
setup overhead (cost component C3). For World: Valid values are:    Y Yes. Include setup labor expenses.    N No. Do not include setup labor 
expenses. For OneWorld: To include setup labor expenses, click the Calculate Var. on Setup Labor option under the Costing Options 
heading.

cCalculateFixedOnDirectLaborCFDLcharNONENONE

An option that determines whether the cost rollup includes direct labor expenses (cost component B1) in the total used to calculate fixed 
labor overhead (cost component C4). For World: Valid values are:    Y Yes. Include direct labor expenses.    N No. Do not include direct labor 
expenses. For OneWorld: To include direct labor expenses, click the Calculate Fixed on Direct Labor option under the Costing Options heading.

cIncludeFixedLaborOHIFOcharNONENONE

An option that determines whether the cost rollup creates cost component C4  (for fixed labor overhead) in the Item Cost Component 
Add-Ons table (F30026). For World: Valid values are:    Y Yes. Create cost component C4.    N No. Do not create cost component C4. For 
OneWorld: To create cost component C4, click the Include Fixed Labor Overhead in cost option under the Costing Options heading.

cCalculateFixedOnSetupLaborCFSLcharNONENONE

An option that determines whether the cost rollup includes setup labor expenses (cost component B2) in the total used to calculate fixed 
setup overhead (cost component C4). For World: Valid values are:    Y Yes. Include setup labor expenses.    N No. Do not include setup labor 
expenses. For OneWorld: To include setup labor expenses, click the Calculate Fixed on Setup Labor option under the Costing Options heading.

Related Functions

None

Related Tables

F3009 Job Shop Manufacturing Constants