Functional Description
Purpose
This function will Get/Add/Write records from/to the 'F4213' cache. When a sequential read is
requested (EV02 = '1') this function will process the 'F4213' cache sequentially and will return a pointer
to the current 'F4213' cache entry. Also, on all adds and updates to the 'F4213' cache, a basket
group/line number/revision level entry will be written to the 'B4500110B' cache.
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
Related Tables
Table Table Description
F42UI11Sales Order Detail Work File
'F4213' cacheBasket/Order Reprice cache
Related Business Functions
None.
Processing
If EV02 != 1
DCTO, KCOO, LNID).
FPRC, AEXP, FEA, ECST, Math01, ERRC.
Else
Return: ERRC.
data structure).
OGNO, AREV).
WTUM, MCU, UOM, UORG, UPRC, FUP, LPRC, FPRC, AEXP, FEA, ECST, Math01, ERRC.
OGNO, AREV).
If EV02 == 1
If Open Cache fails,
Save the 'F4213' cache handle in hCache.
If EOF reached,
(F4211 format).
DCTO
KCOO
ITM
MCU
ASN
CRCD
UPRC
FUP
RPRC
ORPR
QTY
APTS
GENLNG - hCache
GENLNG - Pointer to Sales Detail Data Structure
ERRC
Data Structure for 'B4500110B' cache.
RPRCBasket Price Group
OGNOLine Number
AREVRevision Level
D4500110A - F4213 Get/Update Basket/Order Sum
Special Input Expected
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
ACTN Action to perform I Y 1 = Add
2 = Change/Update
4 = Inquire
RPRC Basket Price Group I Y Required for basket
group fetch
ORPR Order Price Group I Y Required for order
group fetch
CTID Computer ID I Y
JOBS Job Number I Y
XLIN Line Number I Y
DOCO Order Number I Y
DCTO Order Type I Y
KCOO Document Company I Y
LNID Line Number I Y
AN8 Address Number I
SHAN Address Number - Ship To I
ITM Item Number - Short I
PEFJ Price Effective Date I
SOQS Quantity Shipped I/O
SOBK Quantity Backordered I/O
ITWT Unit Weight I/O
WTUM Weight Unit of Measure I/O
MCU Business Unit I/O
UOM Unit of Measure as InputI/O
UOM1 Unit of Measure - Primary I
UOM4 Unit of Measure - Pricing I
APUM Unit of Measure - Entered
for Unit Price I
LOCN Location I
LOTN Lot Number I
CRR Currency Exchange Rate I
CRCD Currency Code I
TPC Temporary Price (Y/N) I
ASN Adjustment Schedule I
COMM Committed (H/S) I
UORG Quantity Ordered I/O
UPRC Unit Price I/O
FUP Foreign Unit Price I/O
LPRC List Price I/O
FPRC Foreign List Price I/O
AEXP Extended Price I/O
FEA Foreign Extended Price I/O
ECST Extended Cost I/O
FEC Foreign Extended Cost I/O
APTS Partial Shipments Allowed I
MATH01Basket Group Line CounterI/O
EV01 Suppress Errors I 1 = Suppress Errors
GENLNGPointer to SO Detail O
GENLNGPointer to Cache Handle O
EV02 Return F4213 Pointer I 1 = Return pointer
OGNO Sales Detail Line Number I Required when ACTN = 1
or 2
AREV Revision Level I Required when ACTN = 1
or 2;
Zero when executed in
batch mode.
ERRC Error Code O 0 = Success (Default)
1 = Record not found
DTAI Error Message ID O
Special Output Returned
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
SOQS Quantity Shipped I/O
SOBK Quantity Backordered I/O
ITWT Unit Weight I/O
WTUM Weight Unit of Measure I/O
MCU Business Unit I/O
UOM Unit of Measure as InputI/O
UORG Quantity Ordered I/O
UPRC Unit Price I/O
FUP Foreign Unit Price I/O
LPRC List Price I/O
FPRC Foreign List Price I/O
AEXP Extended Price I/O
FEA Foreign Extended Price I/O
ECST Extended Cost I/O
FEC Foreign Extended Cost I/O
MATH01Basket Group Line CounterI/O
GENLNGPointer to SO Detail O
GENLNGPointer to Cache Handle O
ERRC Error Code O 0 = Success (Default)
1 = Record not found
DTAI Error Message ID O
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode | ACTN | char | NONE | NONE |
| ||||
szBasketPriceGroup | RPRC | char | NONE | NONE |
You can assign items with common repricing characteristics to a reprice category on Item Branch/Plant Revisions. You can define different
| ||||
szOrderPriceGroup | ORPR | char | NONE | NONE |
Items with common order repricing characteristics are assigned to an order reprice category on the Item Master Revisions screen.
| ||||
szComputerId | CTID | char | NONE | NONE |
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnWorkFileLineNo | XLIN | MATH_NUMERIC | NONE | NONE |
Line number. | ||||
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
| ||||
szDocumentCompany | 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
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnShipToAddressNumber | SHAN | MATH_NUMERIC | NONE | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
| ||||
mnShortItemNumber | 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
| ||||
jdPriceEffectiveDate | PEFJ | JDEDATE | NONE | NONE |
The system uses the Price Effective Date to determine the base price and all advanced price adjustments. The value loaded in this date
| ||||
mnShippedQuantity | SOQS | MATH_NUMERIC | NONE | NONE |
The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this
| ||||
mnBackorderedQty | SOBK | MATH_NUMERIC | NONE | NONE |
The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of
| ||||
mnUnitWeight | ITWT | MATH_NUMERIC | NONE | NONE |
The weight of one unit of an item, expressed in the primary unit of measure. | ||||
szWeightUOM | WTUM | char | NONE | NONE |
The unit of measure that indicates the weight of an individual item. Typical weight units of measure are:
GM Gram
OZ Ounce
LB Pound
| ||||
szBusinessUnit | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szTransactionUOM | 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). | ||||
szPrimaryUOM | UOM1 | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA
| ||||
szPricingUOM | UOM4 | char | NONE | NONE |
A user defined code (00/UM) that indicates the unit of measure in which you usually price the item. | ||||
szUnitPriceUOM | APUM | char | NONE | NONE |
The basic measurement abbreviation used to designate the quantity of an inventory item.
Examples are:
BA bale
LB - pound
BG bag
| ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
mnCurrencyExchRate | CRR | MATH_NUMERIC | NONE | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
szCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
cTemporaryPriceYN | TPC | char | NONE | NONE |
The Advanced Price Adjustment System will set this flag to Y when the Price Effective Date (PEFJ) is blank or when a line is split during
| ||||
szPriceAdjustmentSchedule | ASN | char | NONE | NONE |
A user defined code (40/AS) that identifies a price and adjustment schedule. A price and adjustment schedule contains one or more
| ||||
cCommittedHS | COMM | char | NONE | NONE |
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
| ||||
mnOrderedQuantity | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. | ||||
mnUnitPrice | 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
| ||||
mnForeignUnitPrice | FUP | MATH_NUMERIC | NONE | NONE |
The foreign price per unit. | ||||
mnListPrice | 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
| ||||
mnForeignListPrice | FPRC | 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
| ||||
mnExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
mnForeignExtPrice | FEA | MATH_NUMERIC | NONE | NONE |
The product of the foreign price times the number of units. | ||||
mnExtendedCost | 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
| ||||
cPartialShipmntsAllowed | APTS | char | NONE | NONE |
An option that indicates whether the customer accepts partial line shipments. Valid values are:
On
The customer accepts partial line
| ||||
mnBasketGroupLineCounter | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. | ||||
idPtrToSODtl | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
idF4213CacheCursor | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cSuppressErrors | EV01 | char | NONE | NONE |
| ||||
cErrorCode | ERRC | char | NONE | NONE |
| ||||
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
| ||||
cReturnF4213Ptr | EV02 | char | NONE | NONE |
| ||||
mnForeignExtCost | 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. | ||||
mnSalesDetailLineNo | OGNO | MATH_NUMERIC | NONE | NONE |
| ||||
mnAdjustmentRevLvl | AREV | MATH_NUMERIC | NONE | NONE |
| ||||
mnF42UI11WFLineNo | LNIX | MATH_NUMERIC | NONE | NONE |
szLineType | LNTY | char | OPT | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
mnSODtlParentForBsktFG | LNID | MATH_NUMERIC | OPT | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnAmountOpen1 | AOPN | MATH_NUMERIC | OPT | NONE |
The amount of the order, invoice, or voucher that is still unpaid or open.
When you enter a document (for example, an order, invoice, or
| ||||
mnDiscountCash | CADC | MATH_NUMERIC | OPT | NONE |
A discount which is passed forward from the manufacturer or mill to the customer based upon the payment terms of the supplier. Enter 10
| ||||
mnDiscountFactor | DSPR | MATH_NUMERIC | OPT | NONE |
The factor that the system applies to the unit price of an inventory item to determine the net price. The system retrieves this value from the
| ||||
mnDaysPastExpiration | EXDP | MATH_NUMERIC | OPT | NONE |
The number of days allowed before expiration for an item where it still can be used or sold to a specific customer. When negative, this
| ||||
mnAmountForeignExtCost_2 | FEC | MATH_NUMERIC | OPT | NONE |
The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units. | ||||
mnFromPotency | FRMP | MATH_NUMERIC | OPT | NONE |
A number that indicates the minimum potency or percentage of active ingredients acceptable for an item.
The system displays a warning
| ||||
mnAmountForeignUnitCost | FUC | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Unit Cost | ||||
mnGrossWeight | GRWT | MATH_NUMERIC | OPT | NONE |
Essentially a memo field at present, this value is intended to reflect the fact that many inventory items are always packaged in the same
| ||||
mnAmountUnitVolume | ITVL | MATH_NUMERIC | OPT | NONE |
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
| ||||
mnUnitsPrimaryQtyOrder | PQOR | MATH_NUMERIC | OPT | NONE |
The quantity ordered by the customer expressed in the primary stocking unit of measure. | ||||
mnQuantityRelieved | QRLV | MATH_NUMERIC | OPT | NONE |
Unit relieved (future use). | ||||
mnQuantityShippedToDate | QTYT | MATH_NUMERIC | OPT | NONE |
The number of units which have passed through the Sales Update process. In Workorder Processing, this field identifies the total quantity
| ||||
mnUnitsQuantityCanceled | SOCN | MATH_NUMERIC | OPT | NONE |
The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for
| ||||
mnUnitsQuantityFuture | SONE | MATH_NUMERIC | OPT | NONE |
The number of inventory units tentatively committed to this order line. Such tentative commitment may occur through the use of Blanket
| ||||
mnExtendedCostTransfer | TCST | MATH_NUMERIC | OPT | 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
| ||||
mnThruPotency | THRP | MATH_NUMERIC | OPT | NONE |
A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item.
The system displays a
| ||||
mnDiscountTrade | TRDC | MATH_NUMERIC | OPT | NONE |
Percentage by which the system reduces the price of each item. This is the only discount that will be applied. You can override it if you
| ||||
mnAmountUnitCost | UNCS | MATH_NUMERIC | OPT | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnUnitsOpenQuantity | UOPN | MATH_NUMERIC | OPT | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
mnUserReservedAmount | URAT | MATH_NUMERIC | OPT | 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. | ||||
szBasketUOM | UOM | char | OPT | 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). | ||||
mnItemGroupKeyID | IGID | MATH_NUMERIC | OPT | NONE |
A number that identifies an item group or an order detail pricing group. Each pricing group is comprised of either item category codes (for
| ||||
cBasketAccumulationRule | BSKTA | char | OPT | NONE |
A code that specifies whether an item or an item group is included for basket-level summation or item-level summation, or both. Valid
| ||||
cBasketPricingRule | BSKTP | char | OPT | NONE |
A code that indicates whether the system applies a standard basket adjustment or exception pricing to an item or an item group. Valid
| ||||
cEnhancedBasketYN | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cProcessingMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szAgreementNo | DMCT | char | OPT | NONE |
A unique number your company assigns to identify a particular agreement. You might want to assign some significance to the agreement
| ||||
szDutyStatus | DTYS | char | OPT | NONE |
A user defined code (system 40, type DS) identifying the duty status of an order line. You should only specify this value for duty reporting.
| ||||
szHeaderBranchPlant | EMCU | char | OPT | NONE |
A business unit is an accounting entity required for management reporting. It can be a profit center, department, warehouse location, job,
| ||||
szEndUse | EUSE | char | OPT | NONE |
User defined code (system 40, type EU) identifying the end use of an order line and used for duty reporting only. The system supplies a
| ||||
szRateCodeFrieghtMisc | FRAT | char | OPT | NONE |
The user defined code (system 41/type RT) for freight rate. This designates the amount that the customer is charged for postage, freight, or
| ||||
szItemGroup | PRGR | char | OPT | NONE |
A user defined code (system 40/type PI) that identifies an inventory price group for an item.
Inventory price groups have unique pricing
| ||||
szShippingCommodityClass | SHCM | char | OPT | NONE |
A user defined code (41/E) that represents an item property type or classification (for example, international shipment handling). The
| ||||
szShippingConditionsCode | SHCN | char | OPT | NONE |
A code (table 41/C) that represents an item property type or classification,such as special shipping conditions. The system uses this code
| ||||
szStopCode | STOP | char | OPT | NONE |
The stop code is a user defined code (system 42, type SP) that represents the stop on a delivery route. This field is one of several factors
| ||||
szPriceCode1 | UPC1 | char | OPT | NONE |
User defined code (system 40, type P1) you can use to control pricing adjustments. You can associate this code with a preference
| ||||
szPriceCode2 | UPC2 | char | OPT | NONE |
User defined code (system 40, type P2) you can use to control pricing adjustments. You can associate this code with a preference
| ||||
szPriceCode3 | UPC3 | char | OPT | NONE |
User defined code (system 40, type P3) you can use to control pricing adjustments. You can associate this code with a preference
|
None |
F4211 Sales Order Detail File | ||||
F42UI11 SO Detail Cache File (MBF) |