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 purchase 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
Data Item Data Structure DescriptionI/ORequiredNotes
ITM
mnIdentifierShortItemIR
EV07SuppressCostRetrievalIR
EV04cSuppressWriteToWFIR
KC00szOrderCompanyIR
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
DTAIszErrorMessageIDOO
PROVcPriceOverrideCodeIOSet it to 1 for ParentMethodOfPriceCalc = 3
PRRCmnPurchasingUnitPriceI/ORPass total value from
X rules and user added Cost and set cPriceOverrideCode to
1
FUPmnForeignUnitPriceOR
AEXPmnExtendedPriceOR
FEAmntForeignExtendedPriceOR
AMC3mnUnitCostPurchasingOO
FUCmnForeignUnitCostOO
ECSTmnAmtExtendedCostOO
FECmtForeignExtendedCostOO
EMCUszCostCenterHeaderIO
SHANmnAddressNumberShipToIO
IVIcInventoryInterfaceFlagIO
EV05cSuppressAdvancedPricingIO
2.2Related Tables
Table Table Description
F4101Item Master
F4102Item Branch File
2.3Related Business Functions
Source NameFunction Name
B4500250CalculatePurchasePrice
2.4Processing
Essentially this function is a wrapper for the business function B4500250. This function accepts a minimum of input parameters and defaults in all
the information that B4500250 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 purchase order, not every
feature available in OW pricing is available through this business function. The unavailable features include:
Interbranch order pricing
Purchase 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.)
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF
Name
N3201650RollupPriceCostWeightVolume
B3200460F3293EvaluateAndProcessAIR
P32942Configured Item Specifications
D3201730 - CalculateItemCostPrice
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnIdentifierShortItem | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
cSuppressCostRetrieval | EV06 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressWriteToWF | EV04 | char | OPT | 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
| ||||
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,
| ||||
jdEffectiveDate | EFTJ | JDEDATE | OPT | NONE |
The date when a transaction, contract, obligation, preference, or policy rule becomes effective. | ||||
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). | ||||
mnQuantityOrdered | UORG | MATH_NUMERIC | OPT | NONE |
The quantity of units affected by this transaction. | ||||
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. | ||||
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
| ||||
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
| ||||
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. | ||||
mnUnitCostPurchasing | AMC3 | MATH_NUMERIC | OPT | NONE |
In the event the organization recognizes a unit cost that should be used other than current unit cost, this special purpose unit cost may be
| ||||
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. | ||||
cInventoryInterfaceFlag | 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
| ||||
cSuppressAdvancedPricing | EV05 | char | OPT | NONE |
A flag that indicates whether automatic spell check is turned on. | ||||
szPurchasingUnitOfMeasure | UOM3 | char | OPT | NONE |
A code (table 00/UM) that identifies the unit of measure in which you usually purchase the item. | ||||
mnUnitPrice | PRRC | MATH_NUMERIC | OPT | NONE |
The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual
| ||||
mnForeignUnitPrice | FUP | MATH_NUMERIC | OPT | NONE |
The foreign price per unit. | ||||
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. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
szOrderCompany | KCOO | char | OPT | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnParentPOLineNumber | 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
| ||||
mnParentWFLineIndex | 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
| ||||
cMethodOfCostCalcula | CMETH | char | OPT | NONE |
A code that indicates how the system calculates the cost for a configured item. Valid values are:
1
The system accumulates the base costs
| ||||
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
| ||||
szItemGroup | ITTP | char | OPT | NONE |
Item types that a item can be grouped into for each of the different preference types. | ||||
szCustGroup | CSTP | char | OPT | NONE |
Customer types that a customer can be grouped into for each of the different preference types. | ||||
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
| ||||
szPOEMBFInternalFlags | POEF | char | OPT | NONE |
This field is broken down into 10 different flags which are passed in and out of the purchase order entry MBF - F4311 Begin Doc, F4311 Edit
| ||||
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
|
None |
None |