CacheProcessAllComponents

Cache Process All Components

Major Business Rule

Object Name: B3200370

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

This function will perform Get, Add, Update, Delete, Delete All, Get Next, Add/Update, and Terminate functions on the All Components (parts list) cache 

used in Configurator Order Processing (P3294, X3294, P32943). 


1.2Setup Notes and Prerequisites

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.  


• Cache Action Code
• 
'1' Get - retrieve the cache element.  
• '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
'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7
• Number of Keys 
• 
If the number of keys is passed as a parameter, the business function uses this value to setup 
key values for a Get, Update, Delete, Get Next, and Add/Update.  

• A zero may be passed to retrieve or update the first record.
'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7

• Index Number
• 
1  Sales Order Line Number, Sequence ID  
• 2  Sales Order Line Number, Parent Item Number, Parent Branch, Sequence ID
• 3  Sales Order Line Number, Stocking Type, Sequence ID
• 4  Sales Order Line Number, User Added Code, Sequence ID
• 5  Sales Order Line Number, Parent Item Number, Parent Branch, Stocking Type, Sequence ID
'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7'b7

1.3Special Logic

There is no special logic within this function.


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes

LNIDSales Order Line NumberI/OYKey value.

ATSQConfigurator Sequence NumberI/OYKey value.

KITParent Item Number(short)I/O* 

ITMComponent Item (short)I/O*

MCUBranch/PlantI/O*

ATOT Rule TypeI/O*

ATO#Rule NumberI/O*

ATOSRule Sequence NumberI/O*

QNTYQuantityI/O*

MULTMultiplier for QuantityI/O*

SEQConfigured Level Seq. No.I/O*

EV01User Added ItemI/O*

SO03Print PartI/O*

PRUPrice RollupI/O*

UMUnit of MeasureI/O*

CMCUComponent BranchI/O*

LNTYLine TypeI/O*

DSC1Assembly Rule DescriptionI/O*

ITCIssue Type CodeI/O*

OPSQOperation Sequence No.I/O*

DOCOWork Order NumberI/O*Used by R31410 only.

INT01Number of KeysIYNumber of Keys to be used in the cache retrieval/delete process. Note: This cache only has one key value, 

ATSQ.  If in fetch mode and the number of keys is 0 then the first element in the cache will be found without using a key. 

EV01Cache Action CodeIY"1" = Get cache element "2" = Add element  "3' = Update element "4" = Delete cache elements 

(keyed) "5" = Delete All cache elements "6" = Get Next cache element "7'  = Add/Update cache element "8" = End cache (terminate cache) "9" = Close 

cursor 

EV01Cache Code ErrorON"0" = Successful Process "1" = Reached End Of CACHE "2" = Invalid Input Parameter "3" = 

Failed to Create CACHE "4" = Failed to Add CACHE "5" = Failed to Delete CACHE "6" = Fetch Failed (Mode 4) 

EV01Suppress Error MessagesIN1=Suppress runtime error message handling. 0=Allow runtime error                                 message 

handling.

DTAIError Message ID ON

STKTStocking TypeIYStocking Type from F4102.

JOBSJob NumberIYUse with BSFN # for Cache name

GENLNGCursorI/ONStore Data pointer

EV01Return CursorINset to '1' to request a return of cursor

KTLNLine Number KIT MasterI/ON

ATLVConfigurator Level No.I/OY

RLINRelated Line NumberI/ON

RORNWork Order Related No.I/ON

STRTWork Order Start DateI/ON

LNIXSOE Line IndexI/ON

LNIXWO Line IndexI/ON

INT01Index NumberIN

UPRCPriceI/ON

UNCSCostI/ON

FUPForeign PriceI/ON

FUCForeign CostI/ON

GRWTWeightI/ON



2.2Related Tables 

Table Table Description

None.


2.3Related Business Functions

Source NameFunction Name

None.


2.4Processing 

Cache Layout:


AliasData ItemNotes

LNIDSales Order Line NumberIndex value.

ATSQConfigurator Sequence NumberIndex value.

KITParent Item Number(short)

ITMComponent Item (short)

MCUBranch/Plant 

ATOT Rule Type

ATO#Rule Number

ATOSRule Sequence Number

QNTYQuantity

MULTMultiplier for Quantity

SEQConfigured Level Seq. No.

LVLConfigured Level

EV01Parent Item Indicator1 = This item is a parent item. 0 = This item is a child item. Used by R31410.

SO03Print Part

PRUPrice Rollup

UMUnit of Measure

CMCUComponent Branch

LNTYLine Type

DSC1Assembly Rule Description

ITCIssue Type Code

OPSQOperation Sequence No.

WOWork Order NumberUsed by R31410.

KTLNLine Number KIT Master

UPRCPrice

UNCSCost

FUPForeign Price

FUCForeign Cost

GRWTWeight





I.    Perform setup functions 

A. Initialize cache to get handle.
B.Retrieve cursor (either from data pointer or new CACHE cursor)

C.Return CACHE cursor upon requested

D. Set  DS Cache Error Code = '0';   

E. If not successful Set error "032E,"  "Error Processing Cache".


II.  Processing Based on Mode.


A.If Process Mode is "1" - GET:
1.Open cursor, reset cursor.
2.Retrieve 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. 

3.Load the values from the retrieved element into the data structure to be passed back to the calling program. 

4.If get fails DS Cache Error Code = '6'.


B.If Process Mode is "2" - ADD (same logic as mode "7").

1.Fetch record with full key
2.If record in CACHE is found, update record with new value.

Otherwise add new record to CACHE.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.

C.If Process Mode is "3" - UPDATE (same logic as mode "7").
1.Fetch record with full key
2.If record in CACHE is found, update record with new value.

Otherwise add new record to CACHE.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.

D.If Process Mode is "4" - DELETE:
1.Delete all elements on the cache matching the key values passed as input.
2.If delete fails DS Cache Error Code  = '5'.


E.If Process Mode is "5" - DELETE ALL:

1.Delete all elements in the cache.
2.If delete fails DS Cache Error Code  = '5'.


F.If Process Mode is "6" - GET NEXT:
1.Retrieve 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.Load the values from the retrieved element into the data structure to be passed back to the calling program.

3.If there are no more elements close cursor and set  DS Cache Error Code = '1'.


G.If Process Mode is "7" - ADD/UPDATE:

1.Fetch record with full key
2.If record in CACHE is found, update record with new value.

Otherwise add new record to CACHE.
3.If add fails set error "032E" and set DS Cache Error Code = '4'.

H.If Process Mode is "8" - END
1.Perform cleanup functions (Terminate cache).

I.If  Process Mode is "9" - CLOSE CURSOR:
1.Perform close cursor.


Data Structure

D3200370 - Process All Components Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
cCacheActionCodeEV01charOPTNONE

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

nIndexNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nNumberOfKeysINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

cReturnCursorEV01charOPTNONE

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

idCursorGENLNGIDOPTNONE

General purpose ID variable.

cCacheCodeErrorEV01charOPTNONE

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

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

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.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

mnConfigurationIDNumberCFGIDMATH_NUMERICOPTNONE

An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables.

mnComponentIDNumberCFGCIDMATH_NUMERICOPTNONE

A number that represents a component in a configuration. This number, which is generated by next numbers, always restarts at 1 and 
increments, based on the number of components in the configuration.

mnParentIDNumberCFGPIDMATH_NUMERICOPTNONE

A number that represents the parent component of a component in a configuration.

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szCostCenterMCUcharOPTNONE

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.

szDescriptionLine1DSC1charOPTNONE

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

mnQuantityQNTYMATH_NUMERICOPTNONE

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

szUnitOfMeasureUMcharOPTNONE

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, 
cubic meter, liter, hour, and so on.

cFixedOrVariableQuantityFOVQcharOPTNONE

Reserved by J.D. Edwards A code that specifies whether the quantity of a configured item varies according to the quantity of the parent item 
produced or is fixed regardless of the parent quantity. Valid values are: F Fixed quantity V Variable quantity

cPrintPartSO03charOPTNONE

A user defined code (32/PF) that indicates whether the system prints the configurator part on the sales order and work order. The system 
uses the value that you enter in this field to affect programs such as Print Pick Slips (R42520), Print Invoices (R42565), Bill of Lading (R42530), 
and parts list on Work Order Print (R31415). Valid values are: 0 Do not print the configurator part on the sales order or the work order. 1 Print the 
configurator part on both the sales order and the work order. 2 Print the configurator part on the sales order only. 3 Print the configurator part on 
the work order only.

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

cCommittedHSCOMMcharOPTNONE

A value that indicates whether you specified from which Location and Lot a particular item was to come. If you specified a storage area, the 
program assigns a Hard (H) commit, and subsequent programs will not determine which Location and Lot to use to satisfy the order line. If 
you did not specify a storage area, the program assigns a Soft (S) commit and attempts to determine which Location and Lot records can best 
satisfy the order line quantity. Valid codes are:    S Soft Committed,    H Hard Committed    C Hard Committed by Commitment Program    K Kit 
Master Line (No Commitment)    N Work Order (No Commitment)

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

mnAmountExtendedCostECSTMATH_NUMERICOPTNONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnAmountExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnAmountForeignExtCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

mnAmountForeignExtPriceFEAMATH_NUMERICOPTNONE

The product of the foreign price times the number of units.

cUserAddedComponentSOCFcharOPTNONE

A code that indicates whether the item, price adjustment, or cost adjustment was added to the configuration by a cross-segment editing rule 
or manually by a user.

cWriteAttachedDetailLineWADLcharOPTNONE

A user defined code (32/WA) that indicates whether the component line generates a detail line that indicates whether the component is 
going to be shipped. Valid values are: 0 Do not create a detail line. 1 Create a detail line.

cIssueTypeCodeITCcharOPTNONE

A code that indicates how the system issues each component in the bill of material from stock. In Shop Floor Management, it indicates how 
the system issues a part to a work order. Valid values are:    I Manual issue    F Floor stock (there is no issue)    B Backflush (when the part is 
reported as complete)    P Preflush (when the parts list is generated)    U Super backflush (at the pay-point operation)    S Sub-contract item (send 
to supplier)    Blank Shippable end item  You can issue a component in more than one way within a specific branch/plant by using different 
codes on the bill of material and the work order parts list. The bill of material code overrides the branch/plant value.

mnSequenceNoOperationsOPSQMATH_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.

cRuleTypeATOTcharOPTNONE

A value that identifies whether the resulting value of the assembly inclusion rule is a part number, price, routing operation, or calculated 
value. The valid values are:    P Part List    Q Work Order Component    C Calculation    H Hot Spot    X Price/Cost Adjustment    R Route Sheet

mnRuleNumberATO#MATH_NUMERICOPTNONE

The number associated with a set of cross-segment editing rules or assembly inclusion rules.

mnRuleSeqNumberATOSMATH_NUMERICOPTNONE

The Sequence number is the rule number within an edit group of cross-segment editing rules or assembly inclusion rules. You can insert a 
line within a rule to assign a new sequence number.

cValidFlagEV01charOPTNONE

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

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnWeightGRWTMATH_NUMERICOPTNONE

Essentially a memo field at present, this value is intended to reflect the fact that many inventory items are always packaged in the same 
way for shipment to the customer.  This packaging in turn effectively adds to the shipment weight for the item.  Since much of the mainstream 
freight calculations depend upon a weight basis for their accuracy, the ability to store a gross weight which reflects the estimated additional 
weight of standard packaging was deemed to be a worthwhile enhancement. (Future Use)

szWeightUnitOfMeasureGWUMcharOPTNONE

Gross weight unit of measure.

mnVolumeITVLMATH_NUMERICOPTNONE

The cubic units occupied by one inventory item. The definition of the unit itself (cubic feet, yards, meters, and so on) is defined in the volume 
unit of measure.

szVolumeUnitOfMeasureVLUMcharOPTNONE

The unit of measure for the cubic space occupied by an inventory item. Typical volume unit of measures are:    ML Milliliter    OZ Fluid Ounce   
 PT Pint    LT Liter    CF Cubic Foot    CM Cubic Meter    CY Cubic Yard 

mnMBFLineIndex1LNIXMATH_NUMERICOPTNONE

mnMBFLineIndex2LNIXMATH_NUMERICOPTNONE

mnMBFLineIndex3LNIXMATH_NUMERICOPTNONE

mnMBFLineIndex4LNIXMATH_NUMERICOPTNONE

mnMBFLineIndex5LNIXMATH_NUMERICOPTNONE

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnRelatedLineNumberRLINMATH_NUMERICOPTNONE

This field is not updated by the receipt applications; it is always populated with the value zero. 

mnLineNumberKitMasterKTLNMATH_NUMERICOPTNONE

This line number indicates the relative sequence in which a component is added to a kit or single level bill of materials. For example, the 
system automatically assigns a whole number to the kit master line, for example, 1.0000. Each component line is assigned a consecutive 
subset of that line number, for example, the first component has line 1.010, and the second component has 1.020.

szUniqueConfigurationIDCFGSIDcharOPTNONE

An identifier that represents a unique configuration. It is generated from an encryption algorithm.  Regardless of the number of segments or 
levels in the configured item, the system always converts the information into a 32-character digest. The digest is always a full 32 characters 
in length, consists of numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it 
has no significant meaning.

szConfiguredItemAliasCIAcharOPTNONE

Reserved by J.D. Edwards A code that references a configured item within a derived calculation. The code is associated with the particular 
occurrence of the item in the configuration. It can then be used in a derived calculation to reference that occurrence.

cConfiguredItemDestinationCIDNcharOPTNONE

A user defined code (32/DE) that specifies the type of transaction that the component of a configured item should generate. If the conditions 
for the transaction, processing options, and branch/plant are not correct for the transaction type, then the system does not generate the 
transaction. You use the Transaction Type field in combination with the Write Attached Detail Line on Assembly Inclusion Rules field. Valid values 
are: 0 Sales Order 1 Direct Ship 2 Transfer 3 Inter Branch/Company

cDisplayItemNumberDSPIcharOPTNONE

A code that indicates whether the system prints the configured item number before the segment value information in the text string format or 
the user defined format. Valid values are: 1 Print the configured item number 0 Do not print the configured item number

cTextStringorCustomFormatTXTScharOPTNONE

A code that indicates whether the configured text string format or a user defined format appears on the sales order (pick slip and invoice 
print) and work order (print parts list). You define the user defined format for each segment. You can choose to print the segment number, 
description, value, or value description in the user defined format. Valid values are: 1 Configured text string 0 User defined format

szCompanyKeyRelatedRKCOcharOPTNONE

The key company that is associated with the document number of the related order.

szRelatedPoSoNumberRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

mnUniqueKeyIDInternalUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

szInstananceIDCFGSIDcharOPTNONE

An identifier that represents a unique configuration. It is generated from an encryption algorithm.  Regardless of the number of segments or 
levels in the configured item, the system always converts the information into a 32-character digest. The digest is always a full 32 characters 
in length, consists of numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it 
has no significant meaning.

mnUnusedMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

cUnusedEV01charOPTNONE

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

szUnusedCNIDcharOPTNONE

A code on the container or that you assign to the container in which the items on this purchase order or order line were shipped to you. You 
can assign container information to an order during receipts entry.

szItemNoUnknownFormatUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

cInventoryInterfaceFlagIVIcharOPTNONE

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

mnQtyOrderMultiplesATMUMATH_NUMERICOPTNONE

Reserved by J.D. Edwards The result of a derived calculation that will be used to extend the quantity of an item.

cReValidateRulesDownEV01charOPTNONE

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

cActiveComponentEV01charOPTNONE

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

cCacheSlidingPerformedEV01charOPTNONE

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

mnAmountTransferCostECSTMATH_NUMERICOPTNONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnAmountForeignTransferCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

cGenerateWOGWOcharOPTNONE

A code indicating whether the system automatically generates an internal work order for this order detail line. In World software, valid values 
are:    Y Generate an internal work order.    N Do not generate an internal work order. In OneWorld, a checkmark indicates that the system 
generates an internal work order for this order detail line.

cGeneratePOIDC1charOPTNONE

A code generally used with the 'D' and 'N' Inventory Interface which indicates whether a Purchase Order should be generated or not. A 
code of '1' will generate a Purchase Order while a code of '0' does not. This field is only used in OneWorld.

mnAmountPOCostECSTMATH_NUMERICOPTNONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnAmountForeignPOCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

cInheritedTransactionTypeCIDNcharOPTNONE

A user defined code (32/DE) that specifies the type of transaction that the component of a configured item should generate. If the conditions 
for the transaction, processing options, and branch/plant are not correct for the transaction type, then the system does not generate the 
transaction. You use the Transaction Type field in combination with the Write Attached Detail Line on Assembly Inclusion Rules field. Valid values 
are: 0 Sales Order 1 Direct Ship 2 Transfer 3 Inter Branch/Company

mnMPMTaskIDDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

cPurgedItemEV01charOPTNONE

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

mnUnitListPriceLPRCMATH_NUMERICOPTNONE

The list price in the unit of measure of the base price retrieved from the Base Price File (F4106).  This is the price the customer would pay if 
there were no price adjustments applied during Sales Order Entry.  This price is stated in domestic currency.

mnUnitPriceUPRCMATH_NUMERICOPTNONE

The list or base price to be charged for one unit of this item. In sales order entry, all prices must be set up in the Item Base Price File table 
(F4106).

mntForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnUnitCostUNCSMATH_NUMERICOPTNONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnPOUnitCostUNCSMATH_NUMERICOPTNONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnForeignPOUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnExtTransferCostECSTMATH_NUMERICOPTNONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnForExtTranferCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

mnTransferUnitCosUNCSMATH_NUMERICOPTNONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnTransferForUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnForeignListPriceFPRCMATH_NUMERICOPTNONE

The list price in the unit of measure of the base price retrieved from the Base Price File (F4106).  This is the price the customer would pay if 
there were no price adjustments applied during Sales Order Entry.  This price is stored in the customer's currency.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

szSOEMBFInternalFlagsSOEFcharOPTNONE

This field is broken down into 30 different flags which are passed in and out of the sales order entry MBF - F4211 Begin Doc, F4211 Pre 
Processor, F4211 Edit Line, and F4211 End Doc.

szPOEMBFInternalFlagsPOEFcharOPTNONE

This field is broken down into 10 different flags which are passed in and out of the purchase order entry MBF - F4311 Begin Doc,  F4311 Edit 
Line, and F4311 End Doc.

szAlphaFlagsALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

cConfigPriceCostControlOWTRFLcharOPTNONE

Specifies an indicator setting. Valid values are:    0   False    1   True 

cPriceOverrideCodePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

cCostOverrideCodeCSTOcharOPTNONE

A code that specifies whether the change order is a terms only change. For those organizations that elect to view subcontracts on a 
detailed line item basis, terms only changes are in most cases those that have a non-dollar effect, such as a schedule change. For those 
organizations that elect to view their contracts on a summary job cost coding basis, all changes are automatically classified for processing purposes 
as terms only changes. In this case the base contract is automatically incremented for each change order and the individual change order 
amount is carried for informational purposes only. All change orders created in processing mode 3 (account method -incremental), are terms 
only changes. Most inquiry screens and reports exclude terms only items.

Related Functions

None

Related Tables

None
tyle="position: absolute; left: 1.500000in">I/O*

DOCOWork Order NumberI/O*Used by R31410 only.

INT01Number of KeysIYNumber of Keys to be used in the cache retrieval/delete process. Note: This cache only has one key value, 

ATSQ.  If in fetch mode and the number of keys is 0 then the first element in the cache will be found without using a key. 

EV01Cache Action CodeIY"1" = Get cache element "2" = Add element  "3' = Update element "4" = Delete cache elements 

(keyed) "5" = Delete All cache elements "6" = Get Next cache element "7'  = Add/Update cache element "8" = End cache (terminate cache) "9" = Close 

cursor 

EV01Cache Code ErrorON"0" = Successful Process "1" = Reached End Of CACHE "2" = Invalid Input Parameter "3" = 

Failed to Create CACHE "4" = Failed to Add CACHE "5" = Failed to Delete CACHE "6" = Fetch Failed (Mode 4) 

EV01Suppress Error MessagesIN1=Suppress runtime error message handling. 0=Allow runtime error                                 message 

handling.

DTAIError Message ID ON

STKTStocking TypeIYStocking Type from F4102.

JOBSJob NumberIYUse with BSFN # for Cache name

GENLNGCursorI/ONStore Data pointer

EV01Return CursorINset to '1' to request a return of cursor

KTLNLine Number KIT MasterI/ON

ATLVConfigurator Level No.I/OY

RLINRelated Line NumberI/ON

RORNWork Order Related No.I/ON

STRTWork Order Start DateI/ON

LNIXSOE Line IndexI/ON

LNIXWO Line IndexI/ON

INT01Index NumberIN

UPRCPriceI/ON

UNCSCostI/ON

FUPForeign PriceI/ON

FUCForeign CostI/ON

GRWTWeightI/ON



2.2Related Tables 

Table Table Description

None.


2.3Related Business Functions

Source NameFunction Name

None.


2.4Processing 

Cache Layout:


AliasData ItemNotes

LNIDSales Order Line NumberIndex value.

ATSQConfigurator Sequence NumberIndex value.

KITParent Item Number(short)

ITMComponent Item (short)

MCUBranch/Plant 

ATOT Rule Type

ATO#Rule Number

ATOSRule Sequence Number

QNTYQuantity

MULTMultiplier for Quantity