CalculateCostedOutsideOperation

Calculate Costed Outside Ops

Minor Business Rule

Object Name: B3003200

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

The purpose of this function is to calculate the Routing Costs for outside operations.  The Cost 

Bucket (the second description in UDC table 30/CO for the Cost Type), Outside Operation Cost, Unit Cost, 

and Outside Operation Description are returned.   Using the values sent in, this function will retrieve 

the Unit Costs from F30026.  From the Unit Cost and other information about the item, the Outside 

Operation Cost will be calculated. 

• 

2.Technical Specifications


2.4 Processing

1.  Retrieve Cost Bucket from DRDL02 in UDC table and return in EV01.


2.Take 2nd Item Number and attach '*OP' to the end.  Take Operation Sequence Number and remove
decimal zeros and leading zeros and add to the end.  Check to see if record exists in F4101 
for this item number.  


3.Retrieve record from F30026 (Item Cost Component Add-ons) using the following key:
IRKIT = IEITM

IRMMCU = IEMMCU

BLANKS = IELOCN

BLANKS = IELOTN

DS LEDG = IELEDG

DS COST = IECOST

5.While F30026 record is found accumulate costs. 

If Frozen = 1
ComponentCost = Requested Quantity * F30026_AmountFrozen Cost (IESTDC)
OutsideOperationCost = OutsideOperationCost + ComponentCost

Else
ComponentCost = Requested Quantity * F30026_AmountSimualted Cost (IEXSMC)
OutsideOperationCost = OutsideOperationCost + ComponentCost 


6.  If no F30026 records are found, set ErrorMessageId = '3505' (Record does not exists)

Data Structure

D3003200 - Calculate Costed Outside Ops

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostComponentCOSTcharOPTNONE

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.

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

mnOperationSeqNoOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

szBranchMMCUcharOPTNONE

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.

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.

mnScrapPercentCPYPMATH_NUMERICOPTNONE

The cumulative planned output yield percent for a step. The system uses this value to adjust the operation step scrap percent for the 
components at that operation step. This enables the MRP system to use the operation step scrap percent along with the existing component scrap 
percent to plan component demand.

mnRequestedQuantityTRQTMATH_NUMERICOPTNONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

cIntermediateItemExistsEV01charOPTNONE

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

mnRequiredQuantityQNTYMATH_NUMERICOPTNONE

The number of units that the system applies to the transaction.

cCostBucketEV02charOPTNONE

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

mnOutsideOperationCostB1EV1MATH_NUMERICOPTNONE

Work Amount field for the Manufacturing System.

mnBatchQuantityBQTYMATH_NUMERICOPTNONE

The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components 
based on the amount of finished goods produced. For example, 1 ounce of solvent is required per unit up to 100 units of finished product. 
However, if 200 units of finished product is produced, 2 ounces of solvent are required per finished unit. In this example, you would set up batch 
quantities for 100 and 200 units of finished product, specifying the proper amount of solvent per unit.

cSuppressErrorMessageIDEV03charOPTNONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

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.

szOutsideOpDescrptionDSC1charOPTNONE

Brief information about an item; a remark or an explanation.

cFrozenEV04charOPTNONE

PeopleSoft event point processing flag 04.

Related Functions

None

Related Tables

F0005 User Defined Codes
F30026 Item Cost Component Add-Ons
F4101 Item Master
F41021 Item Location File