ShowCalculationString

Show Calculation String

Minor Business Rule

Object Name: B4500780

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4500780A - Show Calculation String

Parameter NameData ItemData TypeReq/OptI/O/Both
mnFactorValueFVTRMATH_NUMERICOPTINPUT

A code that indicates how the system adjusts an order line. The value in this field works in conjunction with the Basis field (BSCD). How you 
define the Basis field determines whether you enter a number or a code in this field. For WorldSoftware , if your basis code is    1-5   Enter a 
positive number for markups, for example, 10. Enter a negative number for discounts, for example, 10-.    6     You want to base the adjustment on 
a variable table. Enter the code that identifies the variable table.    7     You want to use a formula to calculate the price. Enter the code that 
identifies the formula.    8     You want to calculate the adjustment using a custom program. Enter the program ID. For Agreement Penalty 
Schedules: Because the basis code for penalties is 5,enter a number as the factor value. Most agreement penalties are for a currency amount. The 
system multiplies the factor you enter by each unit of measure to calculate the penalty. For OneWorld, if your BasisCode is    1-5   Enter a 
positive number for markups, for example, 10. Enter a negative number for discounts, for example, 10-.    6     You want to base the adjustment on a 
variable table. Enter the code that identifies the variable table in the Formula Name column.    7     You want to use a formula to calculate the 
price. Enter the code that identifies the formula in the Formula Name column.    8     You want to calculate the adjustment using a custom 
program. Enter the program ID in the Formula Name column.

mnBasedOnValueBSDVALMATH_NUMERICOPTINPUT

A value that the system uses to calculate an adjustment. The value can be a quantity, weight, or amount.

mnEligibleQuantityMATH01MATH_NUMERICOPTINPUT

- - - Good Performance Low Value. 

cBasisCodeBSCDcharOPTINPUT

A code that specifies how the system uses the factor value to calculate the adjustment or penalty schedule. The Basis Code field works 
with the Factor Value field. Valid values are: 1 Multiply the base price by the factor value. The adjusted price is a percentage of the base 
price. 2 Multiply the current net price by the factor value. The adjusted price is a percentage of the current net price. 3 Multiply the item cost by the 
factor value. The adjusted price is a percentage of the item cost. You cannot use this basis code for a basket-level or order-level 
adjustment. 4 Add the factor value to the item cost. You cannot use this basis code for a basket-level or order-level adjustment. Note: If you use basis code 3 
or 4, specify the item cost that you want to use in the calculation in the Cost Method field (LEDG) in the detail area of the Price Adjustment 
Detail form. 5 Adjust the price by the factor value. If the value is positive, it increases the price by that amount; if the value is negative, it 
decreases the price by that amount. 6 Use the adjustment amount from the variable table. You specify the variable table in the Factor Value field. 7 Use 
a formula to calculate the adjustment. You specify the name of the formula in the Factor Value field. 8 Use a custom, user-defined program to 
calculate the adjustment. You specify the program ID in the Object Library field.         Note: If you define an adjustment that uses a custom 
program, the program must be one that you developed for this purpose and are prepared to support. J.D. Edwards is not responsible for providing 
custom programs or for supporting programs that you have developed. 9 Calculate the adjustment so that the resulting unit price has a gross 
profit margin equal to the factor value. You cannot use this basis code for a basket-level or order-level adjustment, or for a sliding rate 
adjustment. For Agreement Penalty Schedules, enter 5 for all penalty schedules.

cPartialsYNEV01charOPTINPUT

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

szAdjustmentCalculationADJCALcharOPTBOTH

An equation that the system uses to determine the adjustment unit price for sliding rate adjustments or adjustments that do not allow partial 
quantities.

cSlidingRateFlagSRFLAGcharOPTNONE

An option that specifies how the system applies adjustments to the unit price. Valid values are: On The system applies a sliding rate 
adjustment. This type of adjustment is based on a collection of rates that are applied from each threshold level. Off The system applies a single rate 
adjustment. This type of adjustment is based on the most applicable threshold. Note: If you choose the sliding rate, you cannot add a gross 
profit margin adjustment (basis code 9) to this adjustment.

mnTotalQtyWgtAmtMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

cModeEV01charOPTNONE

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

cAdjustmentCurrencyModeEV01charOPTNONE

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

cLevelBreakTypeLBTcharOPTNONE

A user defined code that indicates how level breaks occur in the Price Adjustment Detail table (F4072). The system supports the following 
four  types of level breaks: Quantity The system determines the correct adjustment based on the quantity ordered in the sales order. You can 
set up different adjustment breaks for different units of measure. Weight The system uses the weight assigned to the sales order detail line 
item to determine the proper adjustment level break. Amount The system uses the extended amount of the sales order detail line to determine 
the proper adjustment level break. When Currency Conversion is turned on, all amount-level breaks are stored and displayed based on the 
floating decimals of the currency code. None The system uses advanced preference features to determine the proper adjustment level break. 
Use this option only if you are using advanced preferences. 

cCurrencyCtrlEV01charOPTNONE

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

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szCurrencyCodeToCRDCcharOPTNONE

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

mnAdjNonWeightedMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

mnForAdjNonWeightedMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

None