D4201500 - Calculate Sales Price And Cost
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szComputerID | CTID | char | OPT | NONE |
mnJobNo | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnWorkFileLineNo | LNIX | MATH_NUMERIC | OPT | NONE |
mnLastLineNoAssigned | 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
| ||||
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
| ||||
mnOrderNo | 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,
| ||||
szOrderCo | 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
| ||||
mnLineNo | 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
| ||||
szAdjustmentSchedule | 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
| ||||
mnAddressNo | 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
| ||||
mnShipToNo | 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,
| ||||
mnShortItemNo | 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
| ||||
szBaseCurrencyCode | CRDC | char | OPT | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
szCustomerCurrencyCode | CRCD | char | OPT | NONE |
A code that identifies the currency of a transaction. | ||||
mnExchangeRate | CRR | MATH_NUMERIC | OPT | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
mnTriangulationRateFrom | TRR1 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate used to convert the From currency code to the Triangulation currency code. | ||||
mnTriangulationRateTo | TRR2 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate that used to convert from the Triangulation currency code to the To currency code. | ||||
cCurrencyConversionMethod | CRCM | char | OPT | NONE |
A value that specifies which method to use when converting from one currency to another. Valid values are:
Y
Multiplier method. The
| ||||
cPriceOverride | 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
| ||||
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
| ||||
mnExtendedPrice | AEXP | MATH_NUMERIC | OPT | NONE |
The number of units multiplied by the unit price. | ||||
mnForeignUnitPrice | FUP | MATH_NUMERIC | OPT | NONE |
The foreign price per unit. | ||||
mnForeignExtPrice | FEA | MATH_NUMERIC | OPT | NONE |
The product of the foreign price times the number of units. | ||||
mnListPrice | 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
| ||||
mnForeignListPrice | 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
| ||||
szListPriceUOM | 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
| ||||
cCostOverride | 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
| ||||
mnUnitCost | UNCS | MATH_NUMERIC | OPT | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
mnExtendedCost | 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
| ||||
mnForeignUnitCost | FUC | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Unit Cost | ||||
mnForeignExtCost | 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. | ||||
mnDetachedAdj | DETD | MATH_NUMERIC | OPT | NONE |
The total sum of Detached Adjustments which relate to a Sales Order Detail line. This amount is expressed in the domestic currency. | ||||
mnForeignDetachedAdj | DETF | MATH_NUMERIC | OPT | NONE |
The total sum of Detached Adjustments which relate to a Sales Order Detail line. This amount is expressed in the foreign currency. | ||||
szBranchPlantDtl | 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
| ||||
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. | ||||
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
| ||||
cTransferOrderProcessing | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cTransferOrderCostMarkup | EV02 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSalesOrderFlag1 | SO01 | char | OPT | NONE |
A value of 1 indicates that this sales detail line contains an inter branch item.
Interbranch sales orders allow the user to record the
| ||||
szHdrBranchPlant | 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
| ||||
jdTransactionDate | TRDJ | JDEDATE | OPT | NONE |
The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing. | ||||
cExchangeRateOverride | DCFL | char | OPT | NONE |
mnCurrencyConverRate | CRRD | MATH_NUMERIC | OPT | NONE |
A number (exchange rate) that a foreign currency amount is divided by to calculate a domestic currency amount. The number you enter in
| ||||
mnTriangulationRateFromPrev | TRD1 | MATH_NUMERIC | OPT | NONE |
The triangulation rate used as a workfield when converting from the From currency to the triangulation currency code. | ||||
mnTriangulationRateToPrev | TRD2 | MATH_NUMERIC | OPT | NONE |
The triangulation rate used as a workfield when converting from the To currency to the triangulation currency code. | ||||
mnTransferCost | 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
| ||||
szTransferOrderToBranch | TMCU | char | OPT | NONE |
mnQtyShipped | SOQS | MATH_NUMERIC | OPT | 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
| ||||
mnQtyBackOrdered | SOBK | MATH_NUMERIC | OPT | NONE |
The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of
| ||||
mnQtyCanceled | 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
| ||||
mnQtyOrdered | UORG | MATH_NUMERIC | OPT | NONE |
The quantity of units affected by this transaction. | ||||
mnConvFactorTransToPrim | CONV | MATH_NUMERIC | OPT | NONE |
The factor that the system uses to convert one unit of measure to another unit of measure. | ||||
mnConvFactorPricingToPrim | CNV3 | MATH_NUMERIC | OPT | NONE |
The mathematical relationship showing the conversion between the primary and pricing units of measure. | ||||
szOriginalOrderNo | OORN | char | OPT | NONE |
The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document
| ||||
szOriginalOrderType | OCTO | char | OPT | NONE |
This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher
| ||||
szOriginalOrderCo | OKCO | char | OPT | NONE |
A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction. | ||||
mnOriginalLineNo | OGNO | MATH_NUMERIC | OPT | NONE |
A number identifying which line on the original order that the current line matches. | ||||
cSalesOrderFlag8 | SO08 | char | OPT | NONE |
A value of 1 in this field indicates to the system that this sales detail line was created during price adjustment processing to record an
| ||||
szPricingCategoryLevel | CLVL | char | OPT | NONE |
A pricing category or price rule can contain a variety of levels. Within each price rule, each level is defined by its effective date range and
| ||||
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
| ||||
cSuppressBasePriceRetrieval | EV03 | char | OPT | NONE |
If this is set to a 1 the base price will not be retrieved.
| ||||
szTransactionUom | 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). | ||||
szPricingUom | UOM4 | char | OPT | NONE |
A user defined code (00/UM) that indicates the unit of measure in which you usually price the item. | ||||
jdPriceEffectiveDate | PEFJ | JDEDATE | OPT | NONE |
The system uses the Price Effective Date to determine the base price and all advanced price adjustments. The value loaded in this date
| ||||
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
| ||||
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
| ||||
szFromGrade | FRGD | char | OPT | NONE |
A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item.
The system displays a warning message if
| ||||
szThruGrade | THGD | char | OPT | NONE |
A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item.
The system displays a warning message if
| ||||
szCustomerPricingGroup | PRGP | char | OPT | NONE |
A user defined code (system 40/type PC) identifying the pricing group associated with this customer or supplier:
o For sales orders, you
| ||||
idF4102Pointer | GENLNG | ID | OPT | NONE |
This is for passing the item branch record. If you do not pass this pointer the function will
| ||||
cSuppressWriteToWF | EV04 | char | OPT | NONE |
Set this to a 1 if you do not want records written to the Price History Work File (F40UI74) - this
| ||||
cTemporaryPriceYN | TPC | char | OPT | 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
| ||||
mnRelatedKitComponent | RKIT | MATH_NUMERIC | OPT | NONE |
In the Sales Order Processing System, when a kit component is defined in the Bill of Materials Master (F3002) as a second level or higher
| ||||
szRelatedKitItemNo | RLIT | char | OPT | NONE |
If an individual item of inventory is sold as a component of a kit or assembly (single level bill-of-materials), the item number of that kit is the
| ||||
cSuppressAdvancedPricing | EV05 | char | OPT | NONE |
Set this to a 1 if you do not want to perform Advanced Price Adjustments for this line.
| ||||
cParentMthdOfPriceCalc | PMTH | char | OPT | 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
| ||||
idF4101Pointer | GENLNG | ID | OPT | NONE |
This is for passing the Item Master record. If it is not passed the function will retrieve it (it
| ||||
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
| ||||
mnItemWeight | ITWT | MATH_NUMERIC | OPT | NONE |
The weight of one unit of an item, expressed in the primary unit of measure. | ||||
cCommittedHS | COMM | char | OPT | 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
| ||||
mnDiscountFactor | DSPR | MATH_NUMERIC | OPT | NONE |
This is an output parameter.
| ||||
cDiscountApplicationType | FAPP | char | OPT | NONE |
This is an output parameter.
| ||||
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
| ||||
cSalesOrderFlag9 | SO09 | char | OPT | NONE |
A code that indicates the existence of pricing history behind a given sales detail line. Valid values are:
1
Standard detail adjustments exist
| ||||
mnCarrier | CARS | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szAgreementNo | DMCT | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szDutyStatus | DTYS | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szHdrCostCenter_EMCU | EMCU | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szEndUse | EUSE | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szRateCodeFrieghtMisc | FRAT | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szLineofBusiness | LOB | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szModeOfTransport | MOT | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szPaymentTermsCode | PTC | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
cRateTypeFreightMisc | RATT | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szRouteCode | ROUT | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szShippingCommodityClass | SHCM | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szShippingConditionsCode | SHCN | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szStopCode | STOP | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szPriceCode1 | UPC1 | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szPriceCode2 | UPC2 | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szPriceCode3 | UPC3 | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
szZoneNumber | ZON | char | OPT | NONE |
Possible Sales Order Detail group field, used in Advanced Pricing.
| ||||
mnDiscountCash | CADC | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnDaysBeforeExpiration | EXDP | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnGrossWeight | GRWT | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnItemVolume | ITVL | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnQtyOrderedInPrimary | PQOR | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnQuantityRelieved | QRLV | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnQuantityShippedToDate | QTYT | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnQtyOpen | UOPN | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
mnUserReservedAmount | URAT | MATH_NUMERIC | OPT | NONE |
Possible Sales Order Formula field, used in Advanced Pricing.
| ||||
szOrderRepriceCategory | ORPR | char | OPT | NONE |
Items with common order repricing characteristics are assigned to an order reprice category on the Item Master Revisions screen.
| ||||
szRepriceBasketPriceCat | RPRC | char | OPT | NONE |
You can assign items with common repricing characteristics to a reprice category on Item Branch/Plant Revisions. You can define different
| ||||
szVolumeUom | 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
| ||||
szWeightUom | WTUM | char | OPT | 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
| ||||
cSuppressPriceExtension | EV06 | char | OPT | NONE |
The extended price and foreign extended price will not be calculated if this is set to 1.
| ||||
szItemPriceGroup | 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
| ||||
mnConvFactorTransToPricing | CONV | MATH_NUMERIC | OPT | NONE |
The factor that the system uses to convert one unit of measure to another unit of measure. | ||||
cSuppressCostRetrieval | EV07 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cAdvPriceCalled | EV08 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMsg | EV09 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
idF49211Ptr | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
szFreightHandlingCode | FRTH | char | OPT | NONE |
A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to
| ||||
mnParentAddressNo | PA8 | MATH_NUMERIC | OPT | NONE |
The address book number of the parent company. The system uses this number to associate a particular address with a parent company
| ||||
szDetailBPCurrCode | CRCE | char | OPT | NONE |
szPaymentTermsAR | TRAR | char | OPT | NONE |
A code that indicates the default payment terms for a customer. Payment terms determine the due date, discount amount, and discount due
| ||||
szTaxExplanationCode1 | EXR1 | char | OPT | NONE |
A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The
| ||||
mnHdrBPAddressNo | IAN8 | MATH_NUMERIC | OPT | NONE |
The Address Book Number of the individual to which the Savings Bond is issued. | ||||
cPaymentInstrumentA | RYIN | char | OPT | NONE |
The user defined code (00/PY) that specifies how payments are made by the customer. For example:
C
Check
D
Draft
T
Electronic funds
| ||||
mnProcessID | PEID | MATH_NUMERIC | OPT | NONE |
A code that identifies the Inter-Process Communication ID. | ||||
mnTransactionID | TCID | MATH_NUMERIC | OPT | NONE |
mnPercentofProfitMargin | PRMG | MATH_NUMERIC | OPT | NONE |
This value indicates the profit margin percentage for the order detail line. This is calculated by ((Price - Cost) / Price) * 100. | ||||
szReasonCode | RCD | char | OPT | NONE |
A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning
| ||||
szDualUOM | UOM2 | char | OPT | NONE |
A user defined code (00/UM) that indicates an alternate unit of measure for the item. | ||||
mnDualQty | SQOR | MATH_NUMERIC | OPT | NONE |
If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens. | ||||
mnOverrideBasePrice | OVBPRC | MATH_NUMERIC | OPT | NONE |
The foreign base price that the system calculates when no base price exists in the Item Base Price File table (F4106). The system
| ||||
mnOverrideForeignBasePrice | OVFBPRC | MATH_NUMERIC | OPT | NONE |
The foreign base price that the system calculates when no base price exists in the Item Base Price File table (F4106). The system
| ||||
mnVolumeTolerancePercentage | INCRAM | MATH_NUMERIC | OPT | NONE |
This field is for the percentage amount of increase. | ||||
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
| ||||
cUsePrefPricingUOMBasePrice | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
B0000027 CurrencyConvForAndDom | ||||
B0000033 Get Exchange Rate | ||||
B4000870 Standard Pricing Adjustments | ||||
B4002000 Compute Unit Or Extended Amount | ||||
B4200070 Get Sales Base Price | ||||
B4200230 F4074 Maintain Price History | ||||
B4200710 CalculateTransferCost | ||||
B4500050 F4072 Calculate Price Adjustments | ||||
B4500090 F4074 Price Adjustment Ledger Server | ||||
N41B0460 Calculate Extended Price for Bulk Orders | ||||
X0005 Get User Defined Codes | ||||
XF4105 Item Cost I/O |
F4101 Item Master | ||||
F4102 Item Branch File | ||||
F4201 Sales Order Header File | ||||
F4211 Sales Order Detail File |