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:
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".
^
D3200840 - F4211 Update Configured Item Costs
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentorderinvoicee | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrdertype | DCTO | char | NONE | NONE |
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
| ||||
szCompanykeyorderno | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLinenumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnAmountunitcost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnAmountextendedcost | ECST | MATH_NUMERIC | NONE | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
mnAmountforeignunitcost | FUC | MATH_NUMERIC | NONE | NONE |
Amount - Foreign Unit Cost | ||||
mnAmountforeignextcost | FEC | MATH_NUMERIC | NONE | NONE |
The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units. | ||||
cCostoverridecode | CSTO | char | NONE | NONE |
A code that specifies whether the change order is a terms only change. For those organizations that elect to view subcontracts on a
| ||||
mnExtendedcosttransfer | TCST | MATH_NUMERIC | NONE | NONE |
This is the cost of transferring inventory from one branch to another. The method of calculating this transfer cost is maintained in the Inter
| ||||
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
|
None |
None |