Functional Description
Purpose
Apply changes in a kit component line's price and cost fields to the corresponding kit master line.
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
Related Tables
Table Table Description
F4211Sales Order Detail Line
F4101Item Master
Related Business Functions
None.
Processing
*** Main Processing ***
Retrieve kit master line from Sales Order Detail file (F4211).
If record retrieval is successful,
Add new values into F4211 price fields.
Return Error Number (DTAI).
If override cost field <> '1',
Add new values into F4211 cost fields.
Return Error Number (DTAI).
End
^
D4200960 - Roll Up Kit Components
Special Input Expected
Parameters:
Data Item Data Structure Description I/O Required Notes
DOCO Order Number I Y Key to kit master
line
DCTO Order Type I Y
KCOO Key Company I Y
KTLN Line Number I Y
UPRC Old Unit Price I Y
AEXP Old Extended Price I Y Values to be
updated
UNCS Old Unit Cost I Y
ECST Old Unit Cost I Y
LPRC Old List Price I Y
UPRC New Unit Price I Y Values to be
written
AEXP New Extended Price I Y
UNCS New Unit Cost I Y
ECST New Unit Cost I Y
LPRC New List Price I Y
Special Output Returned
Parameters:
Data Item Data Structure Description I/O Required Notes
EV01 Error Code O
DTAI Error Number O
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnOrderNumber | 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
| ||||
szKeyCompany | 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
| ||||
mnOldUnitPrice | UPRC | MATH_NUMERIC | NONE | NONE |
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
| ||||
mnOldExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
mnOldUnitCost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnOldExtendedCost | 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
| ||||
mnOldListPrice | LPRC | MATH_NUMERIC | NONE | NONE |
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
| ||||
mnNewUnitPrice | UPRC | MATH_NUMERIC | NONE | NONE |
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
| ||||
mnNewExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
mnNewUnitCost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnNewExtendedCost | 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
| ||||
mnNewListPrice | LPRC | MATH_NUMERIC | NONE | NONE |
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
| ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessage | 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 |