1.Functional Description
1.1Purpose
This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update, and Terminate
functions on the Bill of Material cache.
The calling application is responsible for loading all appropriate key values to the data structure
and identifying the number of keys to use in retrieval/update processes.
'2' Add - add a cache element.
'3' Update - update a cache element.
'4' Delete - delete a cache element.
'5' Delete All - delete all cache elements
'6' Get Next - retrieve the next cache element
'7' Add/Update - will add if element does not exist, will change if it does exist.
'8' Terminate - terminate cache
'9' Close Cursor- closes cache cursor
Number of Keys
key values for a Get, Update, Delete, Get Next, and Add/Update.
A zero may be passed to retrieve or update the first record.
1.3 Special Logic
Only modify the Save Key fields on the first Add.
1.4 Notation
Any where that there is DS this refers to the business function Data Structure, any where there
is Cache DS this refers to the cacht data structure.
2.Technical Specifications
2.4 Processing
Cache Layout:Same as Data Structure.
2.4.2.2Set DS Cache Error Code = '0';
2.4.2.3If not successful Set error "032E," "Error Processing Cache".
2.5.1.2If DS- Save Parent Item Number is equal to 0 then use the keys passed
in. If it is not blank than use the old keys.
2.5.1.3Retrieve the first element on the cache matching the key values passed
as input; the number of keys to be used is passed in the input parameters, If "0"
fetch first element in the list.
2.5.1.4Load the values from the retrieved element into the data structure to
be passed back to the calling program.
2.5.1.5If get fails DS Cache Error Code = '6'.
2.5.2.2Verify that the record does not currently exisit in the cache by
fetching the cache with the New key fields
2.5.2.3Insert a new cache element with values from data structure.
2.5.2.4If add fails set error "032E" and set DS Cache Error Code = '4'.
in. If it is not blank than use the old keys.
2.5.3.2Verify that the record does not currently exisit in the cache by
fetching the cache with the New key fields
2.5.3.3Fetch the record that matches the key. Copy all fields from DS to the
Cache Except the Save Fields because these will be needed for the update of the Data
base
2.5.3.4Insert a new cache element with values from data structure.
2.5.3.5If add fails set error "032E" and set DS Cache Error Code = '4'.
input.
2.5.4.2If delete fails DS Cache Error Code = '5'.
2.5.5.2If delete fails DS Cache Error Code = '5'.
in. If it is not blank than use the old keys.
2.5.6.2Retrieve the next element on the cache matching the key values passed
as input (the cursor should have been set through a previous "Get" action, i.e.
process mode "1", if number of keys is "0" then fetch next record with out using any
key).
2.5.6.3Load the values from the retrieved element into the data structure to
be passed back to the calling program.
2.5.6.4If there are no more elements close cursor and set DS Cache Error Code
= '1'.
in. If it is not blank than use the old keys.
2.5.7.2Verify that the record does not currently exisit in the cache by
fetching the cache with the New key fields
2.5.7.3Fetch the record that matches the key. Copy all fields from DS to the
Cache Except the Save Fields because these will be needed for the update of the Data
base
2.5.7.4Insert a new cache if fetch failed copying the Key Fields to the Save
Key fields element with values from data structure.
2.5.7.5Update record if Fetch was successful.
2.5.7.6If add fails set error "032E" and set DS Cache Error Code = '4'.
^
D3002020 - Cache Bill of Material MBF
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szTypeBill | TBM | char | NONE | NONE |
A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses.
| ||||
mnKitItemNumberShort | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szKitItemNumber2nd | KITL | char | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szKitItemNumber3rd | KITA | char | NONE | NONE |
The system provides three separate item numbers:
1. Item Number (short) - An eight-digit, computer assigned, completely non-significant
| ||||
szParentBranch | MMCU | char | NONE | NONE |
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
| ||||
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szIdentifier2ndItem | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
szIdentifier3rdItem | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
szBranchComponent | CMCU | char | NONE | NONE |
A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several
| ||||
mnComponentNumber | CPNT | MATH_NUMERIC | NONE | NONE |
A number that indicates the sequence of the components on a bill of material.
It initially indicates the relative sequence in which a
| ||||
mnSubstituteItemSequenceNu | SBNT | MATH_NUMERIC | NONE | NONE |
A number that indicates the sequence for the substitute items for a component.
The system looks for substitute items by this sequence
| ||||
cPartialsAllowedYN | PRTA | char | NONE | NONE |
When you specify component and substitute items on the bill of material, this field indicates whether the total quantity is required to be
| ||||
mnQtyRequiredStandard | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
szUnitOfMeasureUM | UM | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
mnUnitsBatchQuantity | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
szUnitOfMeasureAsInputUOM | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
cFixedorVariableBatchSize | FVBT | char | NONE | NONE |
jdEffectiveFromDate | EFFF | JDEDATE | NONE | NONE |
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
| ||||
jdEffectiveThruDate | EFFT | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
szEffectiveFromSerialNo | FSER | char | NONE | NONE |
This field is used to identify the serial number of a particular parent part and specify when the component will become an active part of the
| ||||
szEffectiveThruSerialNo | TSER | char | NONE | NONE |
This field is used to identify the serial number of a particular parent part and specify when the component will no longer be an active part of
| ||||
cIssueTypeCode | ITC | char | NONE | NONE |
A code that indicates how the system issues each component in the bill of material from stock. In Shop Floor Management, it indicates how
| ||||
cRequiredYN | FTRC | char | NONE | NONE |
A code that specifies whether a component is required. Valid codes are:
Y The component is required.
N The component is not a
| ||||
cOptionalItemKit | OPTK | char | NONE | NONE |
A code that indicates whether a component is standard or optional within a bill of material or for kit processing. Valid codes are:
S
| ||||
cDefaultComponent | FORV | char | NONE | NONE |
An option that specifies a default component. Use this field if you are creating Sales Orders using the Recurring Orders Edited Creation
| ||||
cComponentCostingMethod | CSTM | char | NONE | NONE |
Indicates the method to be used to compute the cost of the component.
Valid values are:
# indicates that this cost will be entered by you
| ||||
cCostMethodPurchasing | CSMP | char | NONE | NONE |
Indicates which of the numerous unit costs available is to be used in costing outgoing Purchase Orders. Up to seven costs can be chosen
| ||||
cOrderWithYN | ORDW | char | NONE | NONE |
Future use. The Order With code determines if work order generation (P31410) will explode this items bill of material to create orders for this
| ||||
cFixedOrVariableQty | FORQ | char | NONE | NONE |
A code that indicates if the quantity per assembly for an item on the bill of material varies according to the quantity of the parent item
| ||||
cCoproductsByproducts | COBY | char | NONE | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
cComponentType | COTY | char | NONE | NONE |
The component type determines what the component is used for in a bill of material. For example:
A Active ingredient
C Standard
| ||||
mnFromPotency | FRMP | MATH_NUMERIC | NONE | NONE |
A number that indicates the minimum potency or percentage of active ingredients acceptable for an item.
The system displays a warning
| ||||
mnThruPotency | THRP | MATH_NUMERIC | NONE | NONE |
A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item.
The system displays a
| ||||
szFromGrade | FRGD | char | NONE | NONE |
A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item.
The system displays a warning message if
| ||||
szThruGrade | THGD | char | NONE | NONE |
A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item.
The system displays a warning message if
| ||||
mnPrimarySequenceNumber | PSQ | MATH_NUMERIC | NONE | NONE |
mnBubbleSequence | BSEQ | MATH_NUMERIC | NONE | NONE |
A secondary bill of material sequence number that indicates the drawing bubble number. | ||||
mnFeaturePlannedPercent | FTRP | MATH_NUMERIC | NONE | NONE |
The percentage of demand for a specified feature based on projected production. For example, a company might produce 65% of their
| ||||
mnFeatureCostPercent | F$RP | MATH_NUMERIC | NONE | NONE |
A percentage that the Simulate Cost Rollup program uses to calculate the cost of a feature or option item as a percentage of the total cost
| ||||
mnResourcePercent | RSCP | MATH_NUMERIC | NONE | NONE |
A number that indicates what percent of the ingredients should be issued separately to co-products and by-products. | ||||
mnPercentOfScrap | SCRP | MATH_NUMERIC | NONE | NONE |
The percentage of unusable component material that is created during the manufacture of a particular parent item.
During DRP/MPS/MRP
| ||||
mnReworkPercent | REWP | MATH_NUMERIC | NONE | NONE |
mnAsIsPercent | ASIP | MATH_NUMERIC | NONE | NONE |
mnPercentCumulativePla | CPYP | MATH_NUMERIC | NONE | NONE |
The cumulative planned output yield percent for a step. The system uses this value to adjust the operation step scrap percent for the
| ||||
mnStepScrapPercent | STPP | MATH_NUMERIC | NONE | NONE |
A value that the system uses to increase or decrease the amount of materials to account for loss within the operation. The system updates
| ||||
mnLeadtimeOffsetDays | LOVD | MATH_NUMERIC | NONE | NONE |
The number of days that a part is needed before or after the start date of a manufacturing work order. The system adds the leadtime offset
| ||||
szEngineerChngOrderNo | ECO | char | NONE | NONE |
The number assigned to an engineering change order. | ||||
szEngineeringChngReason | ECTY | char | NONE | NONE |
A code (table 40/CR) that identifies the reason for the engineering change order. | ||||
jdDateEngineerChgeDate | ECOD | JDEDATE | NONE | NONE |
The date of the engineering change order. | ||||
szDescriptionLine1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
mnUnitPricePerPrimary | PRIC | MATH_NUMERIC | NONE | NONE |
A base or default price that is used with multipliers from the pricing rules to develop discounted prices. If no formula applies to an item or no
| ||||
mnAmountUnitCost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnPerAssemblySalePrice | PCTK | MATH_NUMERIC | NONE | NONE |
The percentage of the total assembly/kit price this component represents. | ||||
szMessageNo | SHNO | char | NONE | NONE |
A generic rates and message code (48/SN) that is assigned to a standard note, message, or general narrative explanation. You can use
| ||||
szPurchasingCostCenter | OMCU | char | NONE | NONE |
The business unit from an account number. The account number business unit is usually found in the data item MCU, however, Distribution
| ||||
szObjectAccount | OBJ | char | NONE | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary | SUB | char | NONE | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
szBillRevisionLevel | BREV | char | NONE | NONE |
A value that indicates the revision level of a bill of material. It is usually used in conjunction with an engineering change notice or
| ||||
szComponentRevisionLevel | CMRV | char | NONE | NONE |
A code that indicates the current revision level of a component on the bill of material. It is usually used with an engineering change notice
| ||||
szRevisionNumber | RVNO | char | NONE | NONE |
A subset to the drawing number. It provides an additional description of the drawing and is useful if the system uses an engineering drawing
| ||||
mnItemNumberUseUp | UUPG | MATH_NUMERIC | NONE | NONE |
Future use This is the item number to use after this bill of material item is used up. | ||||
szUserReservedCode | URCD | char | NONE | NONE |
This is a 2 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
jdUserReservedDate | URDT | JDEDATE | NONE | NONE |
This is a 6 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
mnUserReservedAmount | URAT | MATH_NUMERIC | NONE | NONE |
This is a 15 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
szUserReservedReference | URRF | char | NONE | NONE |
A 15-position reference that is reserved for the user. J.D. Edwards does not currently use this field and does not plan to use it in the future. | ||||
mnUserReservedNumber | URAB | MATH_NUMERIC | NONE | NONE |
This is a 8 position code that is reserved for the user. JDE does not currently use this field and will not utilize this field in the future. | ||||
szUserId | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szWorkStationId | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
jdDateUpdated | UPMJ | JDEDATE | NONE | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | NONE | NONE |
The computer clock in hours:minutes:seconds. | ||||
szSaveTypeBill | TBM | char | NONE | NONE |
A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses.
| ||||
mnSaveItemNumberShortKit | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szSaveParentBranch | MMCU | char | NONE | NONE |
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
| ||||
mnSaveComponentNumber | CPNT | MATH_NUMERIC | NONE | NONE |
A number that indicates the sequence of the components on a bill of material.
It initially indicates the relative sequence in which a
| ||||
mnSaveSubstituteItemSequenceNo | SBNT | MATH_NUMERIC | NONE | NONE |
A number that indicates the sequence for the substitute items for a component.
The system looks for substitute items by this sequence
| ||||
mnSaveUnitsBatchQuantity | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
cSaveCoproductsByproducts | COBY | char | NONE | NONE |
A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are
| ||||
cActionCode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
nNumberOfKeys | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cProcessMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCacheCodeError | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
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
| ||||
cReturnCursor | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
idCursor | GENLNG | ID | NONE | NONE |
General purpose ID variable. |
None |
F3002 Bill of Material Master File |