CalculateSalesPricesAndCosts

Calculate Sales Price And Cost

Minor Business Rule

Object Name: B4201500

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4201500 - Calculate Sales Price And Cost

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharOPTNONE

mnJobNoJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

mnWorkFileLineNoLNIXMATH_NUMERICOPTNONE

mnLastLineNoAssignedLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szOrderTypeDCTOcharOPTNONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

mnOrderNoDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderCoKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNoLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szAdjustmentScheduleASNcharOPTNONE

A user defined code (40/AS) that identifies a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level. For 
Agreement Management, this is the Agreement Penalty Schedule. The information in the Agreement Penalty Schedule provides the system 
with the criteria for an agreement to have penalty conditions.

mnAddressNoAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToNoSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnShortItemNoITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBaseCurrencyCodeCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

szCustomerCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

mnTriangulationRateFromTRR1MATH_NUMERICOPTNONE

The triangulation currency rate used to convert the From currency code to the Triangulation currency code.

mnTriangulationRateToTRR2MATH_NUMERICOPTNONE

The triangulation currency rate that used to convert from the Triangulation currency code to the To currency code.

cCurrencyConversionMethodCRCMcharOPTNONE

A value that specifies which method to use when converting from one currency to another. Valid values are:  Y  Multiplier method. The 
system multiplies the foreign amount by the multiplier exchange rate to calculate the domestic amount. Z Divisor method. The system divides the 
foreign amount by the divisor exchange rate to calculate the domestic amount.

cPriceOverridePROVcharOPTNONE

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

mnUnitPriceUPRCMATH_NUMERICOPTNONE

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 
(F4106).

mnExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForeignExtPriceFEAMATH_NUMERICOPTNONE

The product of the foreign price times the number of units.

mnListPriceLPRCMATH_NUMERICOPTNONE

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 
there were no price adjustments applied during Sales Order Entry.  This price is stated in domestic currency.

mnForeignListPriceFPRCMATH_NUMERICOPTNONE

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 
there were no price adjustments applied during Sales Order Entry.  This price is stored in the customer's currency.

szListPriceUOMAPUMcharOPTNONE

The basic measurement abbreviation used to designate the quantity of an inventory item. Examples are:    BA bale     LB - pound    BG bag     
MB - per thousand pieces    BU bundle     MF - per thousand feet    BX box MW - per thousand weight      CB - per hundred pieces    PC piece     
CF - per hundred feet     PR - pair  Although entry of cost and price per primary unit of measure is the accepted standard, the user may choose 
to enter cost and price per any of the five basic units of measure available.  If that happens, that unit of measure is recorded separately so 
that all subsequent costing and pricing algorithms will be performed properly.

cCostOverrideCSTOcharOPTNONE

A code that specifies whether the change order is a terms only change. For those organizations that elect to view subcontracts on a 
detailed line item basis, terms only changes are in most cases those that have a non-dollar effect, such as a schedule change. For those 
organizations that elect to view their contracts on a summary job cost coding basis, all changes are automatically classified for processing purposes 
as terms only changes. In this case the base contract is automatically incremented for each change order and the individual change order 
amount is carried for informational purposes only. All change orders created in processing mode 3 (account method -incremental), are terms 
only changes. Most inquiry screens and reports exclude terms only items.

mnUnitCostUNCSMATH_NUMERICOPTNONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnExtendedCostECSTMATH_NUMERICOPTNONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

mnDetachedAdjDETDMATH_NUMERICOPTNONE

The total sum of Detached Adjustments which relate to a Sales Order Detail line. This amount is expressed in the domestic currency.

mnForeignDetachedAdjDETFMATH_NUMERICOPTNONE

The total sum of Detached Adjustments which relate to a Sales Order Detail line. This amount is expressed in the foreign currency.

szBranchPlantDtlMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

szCostMethodLEDGcharOPTNONE

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 
use.

cTransferOrderProcessingEV01charOPTNONE

An option that specifies the type of processing for an event.

cTransferOrderCostMarkupEV02charOPTNONE

An option that specifies the type of processing for an event.

cSalesOrderFlag1SO01charOPTNONE

A value of 1 indicates that this sales detail line contains an inter branch item. Interbranch sales orders allow the user to record the 
transactions of transferring inventory from one branch/plant to another and the subsequent sale of the transferred inventory all in one sales order.  In 
the sales order,the user will enter the ship-from location in the order detail line and the ship-to location is the branch/plant in the sales order 
header. During sales update, the system creates journal entries that record the transfers and stores the entries in an interbranch batch, indicated 
by batch type ST. The sales update program will also create the normal A/R and G/L transactions in the I batch. To activate interbranch 
processing in sales order entry and sales update, the user will have to specify the order type of an interbranch sales order in the processing 
options.

szHdrBranchPlantMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

jdTransactionDateTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

cExchangeRateOverrideDCFLcharOPTNONE

mnCurrencyConverRateCRRDMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is divided by to calculate a domestic currency amount. The number you enter in 
this field can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

mnTriangulationRateFromPrevTRD1MATH_NUMERICOPTNONE

The triangulation rate used as a workfield when converting from the From currency to the triangulation currency code.

mnTriangulationRateToPrevTRD2MATH_NUMERICOPTNONE

The triangulation rate used as a workfield when converting from the To currency to the triangulation currency code.

mnTransferCostTCSTMATH_NUMERICOPTNONE

This is the cost of transferring inventory from one branch to another.  The method of calculating this transfer cost is maintained in the Inter 
Branch Sales Markup Revisions (P3403).

szTransferOrderToBranchTMCUcharOPTNONE

mnQtyShippedSOQSMATH_NUMERICOPTNONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnQtyBackOrderedSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnQtyCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

mnQtyOrderedUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

mnConvFactorTransToPrimCONVMATH_NUMERICOPTNONE

The factor that the system uses to convert one unit of measure to another unit of measure.

mnConvFactorPricingToPrimCNV3MATH_NUMERICOPTNONE

The mathematical relationship showing the conversion between the primary and pricing units of measure.

szOriginalOrderNoOORNcharOPTNONE

The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems. The document number 
(DOC) is always the original document number. The matching document number (DOCM) is the check, adjustment, or credit to be applied 
against the original document.

szOriginalOrderTypeOCTOcharOPTNONE

This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher 
entry, invoice entry, receipts entry, and time sheet entry.  Because the offsetting entries for document types are created automatically during the 
post program, they will not be self-balancing on original entry. The reserved document types are:    PR Purchase Requisition Orders    PQ 
Purchase Quote    PO Purchase Order    PD Purchase Order - Direct Ship    PB Purchase Order - Blanket    SQ Sales Quote    SO Sales Order    
SD Sales Order - Direct Ship    SB Sales Order - Blanket 

szOriginalOrderCoOKCOcharOPTNONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

mnOriginalLineNoOGNOMATH_NUMERICOPTNONE

A number identifying which line on the original order that the current line matches.

cSalesOrderFlag8SO08charOPTNONE

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 
upcharge or a discount.  A value of 2 indicates that this detail line was created after invoicing as an adjustment line that should not have additional 
processing performed on it. During Sales Price Recalculation (P42950), these price adjustment lines will automatically be cancelled by the 
system.  The recalculation program will create new price adjustment lines, if necessary, to reflect the new unit price.  All cancelled price 
adjustment lines will have a Last Status of '987'. Please note that free good lines created during price adjustment processing won't have a 1 in this 
field.  This is because the price recalculation module will not automatically cancel any free good lines.

szPricingCategoryLevelCLVLcharOPTNONE

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 
allowed quantity, and whether it is based on the item's cost, price, or an amount specified as an override.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cSuppressBasePriceRetrievalEV03charOPTNONE

If this is set to a 1 the base price will not be retrieved.
^

szTransactionUomUOMcharOPTNONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szPricingUomUOM4charOPTNONE

A user defined code (00/UM) that indicates the unit of measure in which you usually price the item.

jdPriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

mnFromPotencyFRMPMATH_NUMERICOPTNONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICOPTNONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharOPTNONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharOPTNONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

szCustomerPricingGroupPRGPcharOPTNONE

A user defined code (system 40/type PC) identifying the pricing group associated with this customer or supplier:     o For sales orders, you 
assign a pricing group to a customer through the Customer Billing Instructions. Groups typically contain customers with common pricing 
characteristics, such as retailers, wholesalers, and so forth.     o For purchase orders, you assign a pricing group to a supplier through the Supplier 
Billing Instructions.

idF4102PointerGENLNGIDOPTNONE

This is for passing the item branch record. If you do not pass this pointer the function will 
retrieve it (it will not pass it back out).

^

cSuppressWriteToWFEV04charOPTNONE

Set this to a 1 if you do not want records written to the Price History Work File (F40UI74) - this 
will also prevent any history records being written to the Price History File (F4074) for this line.

^

cTemporaryPriceYNTPCcharOPTNONE

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 
commitments or shipment confirmations.  All of the above conditions could cause the Unit Price of a line item to become inaccurate.  You can 
use the Recalculate Sales Order Amount Program (P42950) to recalculate the sales prices.  This flag should be used as a criterion in the Data 
Selections of the DREAM Writer version P42950.

mnRelatedKitComponentRKITMATH_NUMERICOPTNONE

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 
item, it will be grouped and stored in the Sales Order Detail File (F4211) under a related kit component. This relationship is maintained so that 
the system can perform kit balancing on the kit throughout the order processing cycle. For example, if a kit has the following structure in the 
Bill of Materials:        Level 0 - A         Level 1 - B, C, D        Level 2 - B1, B2, D1, D2, D3                 Level 3 - B11, B12   Components B1, B2, B11, and 
B12 will be grouped under Related Item B.

szRelatedKitItemNoRLITcharOPTNONE

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 
'related'item number.

cSuppressAdvancedPricingEV05charOPTNONE

Set this to a 1 if you do not want to perform Advanced Price Adjustments for this line.
^

cParentMthdOfPriceCalcPMTHcharOPTNONE

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 
neither kit items nor configured items. 1 The system accumulates the base prices of components with the configured price adjustments, and 
then discounts the total. 2 The system accumulates the base price of the parent item with the configured price adjustments, and then discounts 
the total. 3 The system accumulates the configured price adjustments, and then discounts the total. 4 The system accumulates the individually 
discounted price of the components with the configured price adjustments. Note: Configured price adjustments are only included in the 
calculation for a configured item. Also, the system only discounts costs if you are using the Advanced Pricing system.  The following is an example of 
how the system uses the various methods:   Parent Item: 125 Component A: 50 Component B: 100 Configured Cost Adjustment 1: 15 Configured 
Cost Adjustment 2: 10 Advanced Price Discount: 10% Methods: 1: 50 + 100 = 150 + 15 + 10 = 175 - 17.50 = 157.5 2: 125 + 15 + 10 = 150 - 15 = 135 3: 
15 + 10 + 25 - 2.5 = 22.5 4: (50 - 5) + (100 - 10) = 135 + 15 + 10 = 160

idF4101PointerGENLNGIDOPTNONE

This is for passing the Item Master record. If it is not passed the function will retrieve it (it 
does not pass the pointer out).

^

mnDiscountTradeTRDCMATH_NUMERICOPTNONE

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 
enter a price. Enter the percentage as a whole number (that is, 5 for 5%).

mnItemWeightITWTMATH_NUMERICOPTNONE

The weight of one unit of an item, expressed in the primary unit of measure.

cCommittedHSCOMMcharOPTNONE

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 
program assigns a Hard (H) commit, and subsequent programs will not determine which Location and Lot to use to satisfy the order line. If 
you did not specify a storage area, the program assigns a Soft (S) commit and attempts to determine which Location and Lot records can best 
satisfy the order line quantity. Valid codes are:    S Soft Committed,    H Hard Committed    C Hard Committed by Commitment Program    K Kit 
Master Line (No Commitment)    N Work Order (No Commitment)

mnDiscountFactorDSPRMATH_NUMERICOPTNONE

This is an output parameter.
^

cDiscountApplicationTypeFAPPcharOPTNONE

This is an output parameter.
^

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

cSalesOrderFlag9SO09charOPTNONE

A code that indicates the existence of pricing history behind a given sales detail line. Valid values are: 1    Standard detail adjustments exist 
in the price history file. These adjustments might include accruals. 2    At least one of the adjustments in the price history file is a rebate accrual 
(ACNT = 5) and will be processed by Sales Update for purposes of sales volume history accummulation. 3   At least one of the adjustments 
in the price history file is a volume-level adjustment. 4    A volume-level adjustment and a rebate accrual exists in the price history file.

mnCarrierCARSMATH_NUMERICOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szAgreementNoDMCTcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szDutyStatusDTYScharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szHdrCostCenter_EMCUEMCUcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szEndUseEUSEcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szRateCodeFrieghtMiscFRATcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szLineofBusinessLOBcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szModeOfTransportMOTcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szPaymentTermsCodePTCcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

cRateTypeFreightMiscRATTcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szRouteCodeROUTcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szShippingCommodityClassSHCMcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szShippingConditionsCodeSHCNcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szStopCodeSTOPcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szPriceCode1UPC1charOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szPriceCode2UPC2charOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szPriceCode3UPC3charOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

szZoneNumberZONcharOPTNONE

Possible Sales Order Detail group field, used in Advanced Pricing.
^

mnDiscountCashCADCMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnDaysBeforeExpirationEXDPMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnGrossWeightGRWTMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnItemVolumeITVLMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnQtyOrderedInPrimaryPQORMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnQuantityRelievedQRLVMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnQuantityShippedToDateQTYTMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnQtyOpenUOPNMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

mnUserReservedAmountURATMATH_NUMERICOPTNONE

Possible Sales Order Formula field, used in Advanced Pricing.
^

szOrderRepriceCategoryORPRcharOPTNONE

Items with common order repricing characteristics are assigned to an order reprice category on the Item Master Revisions screen. 
Categories can be varied at the Location level (fold area). Order repricing is a technique in which items within an order that belong to the same 
repricing category are accumulated during a batch program and their aggregate quantities are compared to the appropriate quantity "breaks" in 
the reprice category. Typical quantity breaks in this situation might be the total weight or the total dollar value of the order as whole. If the 
items qualify for additional discount, that discount is reflected as a flat dollar amount in a new discount line. This facility supplements the repricing 
function and operates in the same batch program.

szRepriceBasketPriceCatRPRCcharOPTNONE

You can assign items with common repricing characteristics to a reprice category on Item Branch/Plant Revisions. You can define different 
categories based on location. Repricing is a technique that the system uses to:     o Accumulate items on order that belong to a common 
repricing category during a batch program     o Compare the aggregate quantities of items on order to the appropriate quantity breaks in the 
reprice category  If the items qualify for an additional discount, that discount is reflected as a change in unit and extended price for each 
qualifying item in the original order line.

szVolumeUomVLUMcharOPTNONE

The unit of measure for the cubic space occupied by an inventory item. Typical volume unit of measures are:    ML Milliliter    OZ Fluid Ounce   
 PT Pint    LT Liter    CF Cubic Foot    CM Cubic Meter    CY Cubic Yard 

szWeightUomWTUMcharOPTNONE

The unit of measure that indicates the weight of an individual item. Typical weight units of measure are:    GM Gram    OZ Ounce    LB Pound    
KG Kilogram    CW Hundredweight    TN Ton 

cSuppressPriceExtensionEV06charOPTNONE

The extended price and foreign extended price will not be calculated if this is set to 1.
^

szItemPriceGroupPRGRcharOPTNONE

A user defined code (system 40/type PI) that identifies an inventory price group for an item. Inventory price groups have unique pricing 
structures that direct the system to incorporate discounts or markups on items on sales and purchase orders. The discounts or markups are 
based on the quantity, dollar amount, or weight of the item ordered. When you assign a price group to an item, the item takes on the same pricing 
structure defined for the inventory price group. You must assign an inventory price group to the supplier or customer, as well as to the item, for 
the system to interactively calculate discounts and markups on sales orders and purchase orders.

mnConvFactorTransToPricingCONVMATH_NUMERICOPTNONE

The factor that the system uses to convert one unit of measure to another unit of measure.

cSuppressCostRetrievalEV07charOPTNONE

An option that specifies the type of processing for an event.

cAdvPriceCalledEV08charOPTNONE

An option that specifies the type of processing for an event.

cSuppressErrorMsgEV09charOPTNONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharOPTNONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

idF49211PtrGENLNGIDOPTNONE

General purpose ID variable.

szFreightHandlingCodeFRTHcharOPTNONE

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

mnParentAddressNoPA8MATH_NUMERICOPTNONE

The address book number of the parent company. The system uses this number to associate a particular address with a parent company 
or location. Any value that you enter in this field updates the Address Organizational Structure Master table (F0150) for the blank structure 
type. This address number must exist in the Address Book Master table (F0101) for validation purposes. Examples of address book records 
that would have a parent number include:   o  Subsidiaries with parent companies     o  Branches with a home office     o  Job sites with a general 
contractor 

szDetailBPCurrCodeCRCEcharOPTNONE

szPaymentTermsARTRARcharOPTNONE

A code that indicates the default payment terms for a customer. Payment terms determine the due date, discount amount, and discount due 
date that the system assigns when you create an invoice. Use a blank code for the payment terms that you use most frequently.  Examples 
of payment terms include: Blank Net 15   1 1/10 net 30   2 2/10 net 30   D Due upon receipt   N Net 30   P Prox 25th  

szTaxExplanationCode1EXR1charOPTNONE

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 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

mnHdrBPAddressNoIAN8MATH_NUMERICOPTNONE

The Address Book Number of the individual to which the Savings Bond is issued.

cPaymentInstrumentARYINcharOPTNONE

The user defined code (00/PY) that specifies how payments are made by the customer. For example: C Check   D Draft   T Electronic funds 
transfer  

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

mnPercentofProfitMarginPRMGMATH_NUMERICOPTNONE

This value indicates the profit margin percentage for the order detail line. This is calculated by ((Price - Cost) / Price) * 100.

szReasonCodeRCDcharOPTNONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

szDualUOMUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

mnDualQtySQORMATH_NUMERICOPTNONE

If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens.

mnOverrideBasePriceOVBPRCMATH_NUMERICOPTNONE

The foreign base price that the system calculates when no base price exists in the Item Base Price File table (F4106). The system 
calculates this value when all of the following conditions apply:   o  The base price for the item in the Item Base Price File table is zero.   o  The first 
adjustment is an override adjustment.   o  The currency mode is foreign (F).

mnOverrideForeignBasePriceOVFBPRCMATH_NUMERICOPTNONE

The foreign base price that the system calculates when no base price exists in the Item Base Price File table (F4106). The system 
calculates this value when all of the following conditions apply:   o  The base price for the item in the Item Base Price File table is zero.   o  The first 
adjustment is an override adjustment.   o  The currency mode is foreign (F).

mnVolumeTolerancePercentageINCRAMMATH_NUMERICOPTNONE

This field is for the percentage amount of increase.

szSOEMBFInternalFlagsSOEFcharOPTNONE

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 
Processor, F4211 Edit Line, and F4211 End Doc.

cUsePrefPricingUOMBasePriceEV01charOPTNONE

An option that specifies the type of processing for an event.

Related Functions

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

Related Tables

F4101 Item Master
F4102 Item Branch File
F4201 Sales Order Header File
F4211 Sales Order Detail File