1.Functional Description
1.1Purpose
This function is intended to provide a relatively simple business function to call to retrieve a price/cost from the J.D. Edwards pricing system. The
price returned will include any applicable advanced pricing adjustments. Because of the desire to keep it simple, this function does not allow for the full
flexibility of the pricing system, but it includes enough to be useful in many situations.
This function should, in almost all cases, return the same price for the item that you would get if you entered a sales order line with the same
information. See section 2.4 for exceptions.
1.2Setup Notes and Prerequisites
This function uses the same pricing table set-up that is used when entering orders through traditional means. No new set-up is needed if you will be
passing the function an Address Book Number and a Cost Center.
If the function is not passed an Address Book Number or a Cost Center, then some additional set-up is needed so that the function can properly default
these values:
If the function is not passed an Address Number (i.e. Customer Number) it will default the address book number from the OneWorld sign-on
information. This address book number (or any address book number passed in) needs to be set up as a valid customer within OneWorld.
If the function is not passed a Cost Center (i.e. Business Unit or Branch/Plant), it will attempt to default the Cost Center from the sign-on information.
So if a Cost Center is not passed into the function, then a default Branch/Plant needs to be set up for the sign-on using P400951 on menu G4241.
1.3Special Logic
None
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
ITM
mnIdentifierShortItemIR
EV07SuppressCostRetrievalIR
EV04cSuppressWriteToWFIR
KC00SzOrderCompanyIR
PMTHcParentMethodOfPriceCalIR
SUPPScSuppressErrorMessageIO
MCUszBranchPlantIO
AN8mnAddressNumberIO
EFTJjdEffectiveDateIO
UORGmnQuantityOrderedIO
UOMszUnitOfMeasureIO
COszCompanyIO
CERAmnCurrencyExchangRateIOSend either the
Triangulation Rates and Currency Conversion Method, or Exchange Rate not both.
TRR1TriangulRateFromCurrencyIOSame as above
TRR2TriangulRateToCurrencyIOSame as above
CRYRCurrencyConversionMethodCodeIOSame as
above
CRCDszCurrencyCodeFromIO
CRDCszCurrencyCodeToIO
ASNszPriceAdjustmentScheduleIO
LEDGszCostMethodIO
DTAIszErrorMessageIDOO
PROVcPriceOverrideCodeIOSet it to 1 for ParentMethodOfPriceCalc =
3
UPRCmnUnitPriceORPass total value from X rules and user added Price and set cPriceOverrideCode to
1
FUPmnForeignUnitPriceOR
LPRCmnUnitListPriceOR
FPRCAmtForeignUnitListPriceOR
APUMszListPriceUnitOfMeasureOR
AEXPmnExtendedPriceOR
FEAmntForeignExtendedPriceOR
UNCSmnUnitCostOO
FUCmnForeignUnitCostOO
ECSTmnAmtExtendedCostOO
FECmtForeignExtendedCostOO
EMCUszCostCenterHeaderIO
SHANmnAddressNumberShipToIO
PROVCPriceOverrideCodeIO
PMTHcParentMethodOfPriceCalcIO
EV06cSuppressPriceExtentionIO
EV04CSuppressAdvancedPricingIO
2.2Related Tables
Table Table Description
F4101Item Master
F4102Item Branch File
2.3Related Business Functions
Source NameFunction Name
B4501500CalculateSalesPricesAndCosts
2.4Processing
Essentially this function is a "wrapper" for the business function B4201500. This function accepts a minimum of input parameters and defaults in all
the information that B4201500 needs to calculate a price.
Error handling in this function is not robust.
Because of the simplifications to the call interface and the fact that we do not have all the information we would have in a full sales order, not every
feature available in OW pricing is available through this business function. The unavailable features include:
Interbranch order pricing
Sales Order Entry Processing Options
Order totals
Free Goods
Cash Line logic
Preferences
Non-primary locations
Contract pricing ("Contract" in the OneWorld sense. Specific prices for specific customers are available.)
Different Sold-To and Ship-To addresses
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF
Name
N3201650RollupPriceCostWeightVolume
B3200460F3293EvaluateAndProcessAIR
P32942Configured Item Specifications
D3201460 - CalculateItemPriceCost
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnIdentifierShortItem | ITM | MATH_NUMERIC | REQ | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
cSuppressCostRetrieval | EV07 | char | REQ | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressWriteToWF | EV04 | char | REQ | NONE |
PeopleSoft event point processing flag 04. | ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | OPT | 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
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
jdEffectiveDate | EFTJ | JDEDATE | OPT | NONE |
The date when a transaction, contract, obligation, preference, or policy rule becomes effective. | ||||
mnQuantityOrdered | UORG | MATH_NUMERIC | OPT | NONE |
The quantity of units affected by this transaction. | ||||
szUnitOfMeasure | 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). | ||||
szBranchPlant | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szCompany | CO | char | OPT | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
cCurrencyConversionMethodCode | CRYR | char | OPT | NONE |
A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use:
Codes are:
N Do not
| ||||
mnCurrencyExchangRate | CERA | MATH_NUMERIC | OPT | NONE |
mnTriangulRateFromCurrency | TRR1 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate used to convert the From currency code to the Triangulation currency code. | ||||
mnTriangulRateToCurrency | TRR2 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate that used to convert from the Triangulation currency code to the To currency code. | ||||
szCurrencyCodeFrom | CRCD | char | OPT | NONE |
A code that identifies the currency of a transaction. | ||||
szCurrencyCodeTo | CRDC | char | OPT | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
szPriceAdjustmentSchedule | ASN | char | OPT | NONE |
A user defined code (40/AS) that identifies a price and adjustment schedule. A price and adjustment schedule contains one or more
| ||||
mnUnitPrice | UPRC | MATH_NUMERIC | OPT | 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 | OPT | NONE |
The foreign price per unit. | ||||
mnUnitListPrice | LPRC | MATH_NUMERIC | OPT | 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
| ||||
mnForeignUnitListPrice | FPRC | MATH_NUMERIC | OPT | 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
| ||||
szListPriceUnitOfMeasure | APUM | char | OPT | NONE |
The basic measurement abbreviation used to designate the quantity of an inventory item.
Examples are:
BA bale
LB - pound
BG bag
| ||||
mnAmtExtendedPrice | AEXP | MATH_NUMERIC | OPT | NONE |
The number of units multiplied by the unit price. | ||||
mnAmtForeignExtendedPrice | FEA | MATH_NUMERIC | OPT | NONE |
The product of the foreign price times the number of units. | ||||
szCostMethod | LEDG | char | OPT | NONE |
A user defined code (40/CM) that specifies the basis for calculating item costs. Cost methods 01 through 19 are reserved for J.D. Edwards
| ||||
mnUnitCost | UNCS | MATH_NUMERIC | OPT | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnForeignUnitCost | FUC | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Unit Cost | ||||
mnAmtExtendedCost | ECST | MATH_NUMERIC | OPT | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
mnAmtForeignExtendedCost | 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. | ||||
szCostCenterHeader | 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,
| ||||
mnAddressNumberShipTo | SHAN | MATH_NUMERIC | OPT | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
| ||||
cPriceOverrideCode | PROV | char | OPT | NONE |
A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the
| ||||
cParentMethodOfPriceCalc | PMTH | char | REQ | NONE |
A code that determines how the system calculates the price for kit items or configured items. Valid values are:
Blank
Use for items that are
| ||||
cSuppressPriceExtention | EV06 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressAdvancedPricing | EV05 | char | OPT | NONE |
A flag that indicates whether automatic spell check is turned on. | ||||
cSuppressBasePriceRetrieval | EV03 | char | OPT | NONE |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
szLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
szLot | LOTN | char | OPT | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
cConfiguredItemDestination | CIDN | char | OPT | NONE |
A user defined code (32/DE) that specifies the type of transaction that the component of a configured item should generate. If the conditions
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
szCustomerGroup | CSTP | char | OPT | NONE |
Customer types that a customer can be grouped into for each of the different preference types. | ||||
szItemGroup | ITTP | char | OPT | NONE |
Item types that a item can be grouped into for each of the different preference types. | ||||
mnAmountTransferCost | ECST | MATH_NUMERIC | OPT | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
mnAmountForeignTransferCost | 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. | ||||
mnAmountPOCost | ECST | MATH_NUMERIC | OPT | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
mnAmountForeignPOCost | 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. | ||||
cInheritedTransactionType | CIDN | char | OPT | NONE |
A user defined code (32/DE) that specifies the type of transaction that the component of a configured item should generate. If the conditions
| ||||
cParentInventoryInterface | IVI | char | OPT | NONE |
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
| ||||
szOrderCompany | KCOO | char | REQ | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnParentSOLineNumber | 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
| ||||
mnParentSOWFLineIndex | LNIX | MATH_NUMERIC | OPT | NONE |
mnDocumentOrder | DOCO | MATH_NUMERIC | OPT | 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 | OPT | 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
| ||||
szOrderSuffix | SFXO | char | OPT | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
szComputerID | CTID | char | OPT | NONE |
mnProcessID | DEID | MATH_NUMERIC | OPT | NONE |
A system-generated number that identifies a demand record. | ||||
mnTransactionID | TCID | MATH_NUMERIC | OPT | NONE |
szProgramID | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnAdjustmentRevisionLevel | AREV | MATH_NUMERIC | OPT | NONE |
This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with
| ||||
mnPOUnitCost | UNCS | MATH_NUMERIC | OPT | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnPOForeignUnitCost | FUC | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Unit Cost | ||||
mnTransferUnitCost | UNCS | MATH_NUMERIC | OPT | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnTransferForeignUnitCost | FUC | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Unit Cost | ||||
szSOEMBFInternalFlags | SOEF | char | OPT | NONE |
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
| ||||
szAlphaFlags | ALPH | char | OPT | NONE |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
| ||||
cCostOverrideCode | CSTO | char | OPT | NONE |
A code that specifies whether the change order is a terms only change. For those organizations that elect to view subcontracts on a
| ||||
mnWeight | 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
| ||||
szWeightUnitOfMeasure | GWUM | char | OPT | NONE |
Gross weight unit of measure. | ||||
mnVolume | 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
| ||||
szVolumeUnitOfMeasure | VLUM | char | OPT | NONE |
The unit of measure for the cubic space occupied by an inventory item. Typical volume unit of measures are:
ML Milliliter
OZ Fluid Ounce
| ||||
szSystemCode | SY | char | OPT | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
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
| ||||
szTransferToBranch | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
|
None |
None |