F4072WritePriceAdjustmentDetail

F4072 Write Price Adjustment Detail

Minor Business Rule

Object Name: B4500060

Parent DLL: CDIST

Location: Client/Server

Language: C


Data Structure

D4500060 - F4072 Write Price Adjustment Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
szAdjustmentTypeASTcharNONENONE

A user defined code (system 40, type TY) that identifies an adjustment definition. You define adjustments on Price Adjustment Names. For 
Agreement Penalty Schedules Add a definition for each of the four types of penalties:        Minimum quantity         Maximum quantity         Under 
commitment         Over commitment

mnShortItmNoCurrentITMMATH_NUMERICNONENONE

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

mnAddressNoCurrentAN8MATH_NUMERICNONENONE

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

szCurrencyCodeCurrentCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szCurrencyCodeNewCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szUnitOfMeasureCurrentUOMcharNONENONE

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

szUnitOfMeasureNewUOMcharNONENONE

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

mnFromQtyCurrentMNQMATH_NUMERICNONENONE

A value that specifies how an adjustment or preference will be applied to a price. This value can be a quantity, weight, or amount, 
depending on how you have defined the level-break type in the Price Adjustment Detail table (F4072).

mnFromQtyNewMNQMATH_NUMERICNONENONE

A value that specifies how an adjustment or preference will be applied to a price. This value can be a quantity, weight, or amount, 
depending on how you have defined the level-break type in the Price Adjustment Detail table (F4072).

jdEffectiveDateEFTJJDEDATENONENONE

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdExpirationDateCurrentEXDJJDEDATENONENONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

jdExpirationDateNewEXDJJDEDATENONENONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

cBasisCodeBSCDcharNONENONE

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.

szCostMethodLEDGcharNONENONE

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.

szFormulaNameFRMNcharNONENONE

A user defined code (system 40, type FM) that identifies a price formula. All price formulas are stored in the Price Formula table (F4076).

mnFactorValueFVTRMATH_NUMERICNONENONE

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.

cFreeGoodsFGYcharNONENONE

If a price adjustment is associated with any free goods information, this flag will be set to Y.  Moreover, the option field in the Price 
Adjustment Detail Revisions will be displayed in reverse image to signify that the record is associated with free good information.

mnAdjustKeyIDATIDMATH_NUMERICNONENONE

The unique key I.D. for each adjustment level.

cModeEV01charNONENONE

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

cSuppressMessageEV02charNONENONE

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

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharNONENONE

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.

mnShortItmNoNewITMMATH_NUMERICNONENONE

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

mnAddressNoNewAN8MATH_NUMERICNONENONE

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

szProgramIdPIDcharNONENONE

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

cPriceApprovalRequiredCP13charOPTNONE

A value that specifies whether the user wants all price changes provided through price approval workflow.    Y Apply price approval 
workflow.    N Do not apply price approval workflow.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

mnItemGroupKeyIDCurrentIGIDMATH_NUMERICOPTNONE

A number that identifies an item group or an order detail pricing group. Each pricing group is comprised of either item category codes (for 
an item group) or sales order detail field values (for an order detail group). For every unique combination of values in the pricing group, the 
system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers program (P0002) for the 
system code 40 and the line number 5.

mnCustomerGroupKeyIDCurrentCGIDMATH_NUMERICOPTNONE

A number that identifies a customer pricing group. Each pricing group comprises customer category codes. For every unique combination 
of values in the pricing group, the system assigns a number (key ID) to identify the group. This number is retrieved from the Next Numbers 
program (P0002) using system code 45, line number 2.

mnOrderGroupKeyIDCurrentOGIDMATH_NUMERICOPTNONE

A number that identifies an order detail pricing group. Each group consists of sales order detail values. For each unique combination of 
values in the order group, the system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers 
program (P0002) by using system code 45 and line number.

mnOrderGroupKeyIDNewOGIDMATH_NUMERICOPTNONE

A number that identifies an order detail pricing group. Each group consists of sales order detail values. For each unique combination of 
values in the order group, the system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers 
program (P0002) by using system code 45 and line number.

mnItemGroupKeyIDNewIGIDMATH_NUMERICOPTNONE

A number that identifies an item group or an order detail pricing group. Each pricing group is comprised of either item category codes (for 
an item group) or sales order detail field values (for an order detail group). For every unique combination of values in the pricing group, the 
system assigns a number (key ID) to identify the group. The system retrieves this number from the Next Numbers program (P0002) for the 
system code 40 and the line number 5.

mnCustomerGroupKeyIDNewCGIDMATH_NUMERICOPTNONE

A number that identifies a customer pricing group. Each pricing group comprises customer category codes. For every unique combination 
of values in the pricing group, the system assigns a number (key ID) to identify the group. This number is retrieved from the Next Numbers 
program (P0002) using system code 45, line number 2.

szFactorValueUMFVUMcharOPTNONE

A user defined code (00/UM) that specifies the unit of measure associated with the factor value for an advanced price adjustment.   This 
value is valid for adjustments that represent a whole monetary unit only. For example, you can define a level break of 10 DZ and an adjustment 
will award a discount of 1 USD per EA.

cPricePartialQtyFlagPARTFGcharOPTNONE

An option that indicates whether the system awards discounts to partial values (quantities, weights, or amounts).  For example, if a certain 
discount is to be awarded for quantities of two dozen and greater, selecting this option allows the system to award the adjustment to two dozen, 
24 each, or any quantity that is greater. If you leave this option blank, then the system does not award the discount to partial quantities. For 
example, when a customer orders 30 each, then only 24 each are discounted. Valid values are: Blank The system does not allow partial 
values. 1 The system allows partial values. This is the default value. 

szUOMforVolumneIncentivesUOMVIDcharOPTNONE

The unit of measure (for example, EA for eaches and BX for boxes) by which the system records quantity for a volume incentive deal.

mnNumberofOrdersNBRORDMATH_NUMERICOPTNONE

The number of orders that are defined for a volume incentive deal.

mnBasketParentIDBKTPIDMATH_NUMERICOPTNONE

A code that links exception pricing basket records to a standard basket adjustment.

szRULENAMERULENAMEcharOPTNONE

The name of the set of instructions that characterize a specific rounding rule requirement.

szCurrencyCodeforVolumneInCRCDVIDcharOPTNONE

The currency code on which the volume incentive price adjustment is based.

Related Functions

B9800100 Get Audit Information
X4101 Validate and Retrieve Item Master

Related Tables

F4072 Price Adjustment Detail