F4211UpdateConfiguredItemCost

F4211 Update Configured Item Costs

Major Business Rule

Object Name: N3200840

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose
This named E/R function updates cost fields for configured items on the Sales Order Detail table 
(F4211).  Costs are recalculated and updated for configured items during the work order generation 

processing (R31410). The following fields are updated:


• Unit Cost UNCS
• Extended CostECST
• Foreign Unit CostFUC
• Foreign Extended Cost FEC
• Cost Override CodeCSTO
• Extended Transfer CostTCST

This function returns '026N' in the Error Message Id parameter if the update fails.


1.2Setup Notes and Prerequisites
All of the above fields are replaced on the Sales Order Detail table (F4211) with the values passed 
in as input.  The calling program is responsible for calculating the cost values and setting up valid 

values in all of the required input parameters.   If the value of one of these fields should not be 

changed from its current value on F4211, the input parameter must contain the current F4211 value of the 

field because this function will replace all F3211 UNCS, ECST, FUC, FEC, CSTO, and TCST fields with 

input parameter values.


1.3Special Logic

No special logic.

2.Technical Specifications

2.4Processing


1.Using the key values specified in the input parameters, update the F4211 row with the UNCS, 
ECST, FUC, FEC, CSTO, and TCST values passed in as input.

2.If the update is successful, initialize the Error Message Id parameter to blanks.  If the 

update fails, set the Error Message Id parameter to "026N".


^

Data Structure

D3200840 - F4211 Update Configured Item Costs

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentorderinvoiceeDOCOMATH_NUMERICNONENONE

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.

szOrdertypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanykeyordernoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLinenumberLNIDMATH_NUMERICNONENONE

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.

mnAmountunitcostUNCSMATH_NUMERICNONENONE

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

mnAmountextendedcostECSTMATH_NUMERICNONENONE

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

mnAmountforeignunitcostFUCMATH_NUMERICNONENONE

Amount - Foreign Unit Cost

mnAmountforeignextcostFECMATH_NUMERICNONENONE

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

cCostoverridecodeCSTOcharNONENONE

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.

mnExtendedcosttransferTCSTMATH_NUMERICNONENONE

This is the cost of transferring inventory from one branch to another.  The method of calculating this transfer cost is maintained in the Inter 
Branch Sales Markup Revisions (P3403).

szErrorMessageIDDTAIcharNONENONE

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.

Related Functions

None

Related Tables

None