CostBuildBOMExplosion

Costing Build BOM Explosion

Minor Business Rule

Object Name: B3003810

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1. Functional Description

1.1. Purpose

The purpose of this business function is to explode all items in the Build Of Material and store them 

into Item Information CACHE (B3003770)and their parent and child relationship to Parent Child Cache. 

Parent Child Cache(B3003780) will only containts parents that need to recalculate cost and Item 

Information contains all items in the BOM.


2. Technical Specification


2.4. Processing 

While unexploded BOM record in Item Information CACHE

• 

Retrieve unexploded BOM record in Item Information CACHE with mode '1'
• Update data with reversed LLX and set BEXP = '2'
• If data is a process, add coby of data to CACHE
'b7'b7'b71.While coby of data in F3002
A.Add coby to Item Information CACHE 
Fill data CACHE with F4101 and F4102 information
Set BEXP = '2' and reversed LLX

B.Add coby to Parent Child CACHE
Fill data CACHE with F3002 information
C.Add coby outside operation to Item Information CACHE
End while

• 
While explode BOM of this data
'b7'b7'b71.Add child data to Item Information CACHE with BEXP = '1' 
and reversed LLX

2.If cSingleLevelRollup != '1' OR parent item is in data selection

A.  Add ParentChild CACHE 
3.Add outside operation to Item Information CACHE
A.Explode BOM of this child data 
End while

• 
Add outside operation to Item Information CACHE
'b7'b7'b71.Fetch F3009 with item branch to get Master Routing flag
2.If Master Routing flag = 'Y'

A.Call VerifyAndGetItemXref
B.Set Item = ItemXref

End if
3.While Item exist in F3003
A.If outside operation item exist
Add outside operation to Item Information CACHE
End while
End while


Data Structure

D3003810 - Costing Build BOM Explosion

Parameter NameData ItemData TypeReq/OptI/O/Both
cRollCoByProductsEV01charOPTNONE

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

cSingleLevelRollupEV01charOPTNONE

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

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

cSuppressErrorMessagesEV01charOPTNONE

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

szErrorMessageIDDTAIcharOPTNONE

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.

jdEffectiveFromDateEFFFJDEDATEOPTNONE

A date that indicates one of the following:     o When a component part goes into effect on a bill of material     o When a routing step goes into 
effect as a sequence on the routing for an item     o When a rate schedule is in effect The default is the current system date. You can enter 
future effective dates so that the system plans for upcoming changes. Items that are no longer effective in the future can still be recorded and 
recognized in Product Costing, Shop Floor Management, and Capacity Requirements Planning. The Material Requirements Planning system 
determines valid components by effectivity dates, not by the bill of material revision level. Some forms display data based on the effectivity 
dates you enter.

cClearCalcCoByCostsEV01charOPTNONE

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

Related Functions

B3003770 Cache Process Cost Item Information
B3003780 Cache Process Cost Parent And Child
B3003870 Get Work Center By Operation Sequence
B4000520 Get Item UoM Conversion Factor
B4100600 Verify And Get Item XRef
X0005 Get User Defined Codes
X4101 Validate and Retrieve Item Master

Related Tables

F3002 Bill of Material Master File
F3003 Routing Master File
F3009 Job Shop Manufacturing Constants
F4101 Item Master
F4102 Item Branch File