F40073GetPricingPrefHierarchy

F40073 Get Pricing Preference Hierarchy

Major Business Rule

Object Name: B4200800

Parent DLL: CDIST

Location: Client/Server

Language: C


Data Structure

D4200800A - F40073 Get Pricing Pref Hierarchy

Parameter NameData ItemData TypeReq/OptI/O/Both
szPreferenceTypePRFRcharNONENONE

A user defined code (40/PR) that identifies a preference type or a price adjustment hierarchy. In the user defined code table 40/PR, a 1 in 
the Special Handling Code field identifies a preference that J.D. Edwards supports. This field is hard coded for each preference. For 
Agreement Penalty Schedules, first set up a user defined code of PN (for penalty). Then enter it in this field.

mnSoldToAddrNumberAN8MATH_NUMERICNONENONE

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

mnShipToAddrNumberSHANMATH_NUMERICNONENONE

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.

idSortedArrayOfPrefModesGENLNGIDNONENONE

General purpose ID variable.

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

szErrorMsgIDDTAIcharNONENONE

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.

cSuppressErrorMsgEV01charNONENONE

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

nNumOfArrayElementsINT01integerNONENONE

Number of Days in Future to Query for Responses Due. 

mnParentAddrNumberPA8MATH_NUMERICNONENONE

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 

cUpSellAdjustmentYNUSADJcharOPTNONE

An option that indicates whether an adjustment is eligible for up-sell processing during sales order entry. If you turn on this option, then you 
can specify only one entry for the selected adjustment hierarchy.

Related Functions

B0100002 A/B - Get Parent Address
N0100042 Customer Master -MBF

Related Tables

F0101 Address Book Master
F40073 Preference Hierarchy File
F4092 Group Code Key Definition Table
F4093 Item/Customer Group Relationship
F4094 Item/Customer Key ID Master File
F4102 Item Branch File
LoadPriceKeyByPreference

LoadPriceKeyByPreference

F40073 Get Pricing Preference Hierarchy

Major Business Rule

Object Name: B4200800

Parent DLL: CDIST

Location: Client/Server

Language: C

This function will return the key values necessay to locate a Base Price or Advanced Pricing 
Adjustment Record.

Data Structure

D4200800B - Load Price Key By Preference

Parameter NameData ItemData TypeReq/OptI/O/Both
idSortedArrayOfPrefModesGENLNGIDNONENONE

General purpose ID variable.

cPriceLevelPLEVcharNONENONE

A code that indicates whether the system maintains standard sales prices for an item, different sales prices for each branch/plant, or 
different sales prices for each location and lot within a branch/plant. The system maintains sales prices in the Base Price file (F4106). Valid codes 
are:    1   Item level    2   Item/Branch level    3   Item/Branch/Location level 

mnShortItemNumberITMMATH_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

szBranchPlantMCUcharNONENONE

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.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotNumberLOTNcharNONENONE

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

mnCustomerNumberAN8MATH_NUMERICNONENONE

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

szItemPriceGroupPRGRcharNONENONE

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.

szCustomerPriceGroupCPGPcharNONENONE

A user defined code (40/PC) that identifies a customer group. You can group customers with similar characteristics, such as comparable 
pricing.

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

szErrorMsgIDDTAIcharNONENONE

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.

cSuppressErrorMsgEV01charNONENONE

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

nIndexINT01integerNONENONE

Number of Days in Future to Query for Responses Due. 

idF4102RecordPtrGENLNGIDNONENONE

General purpose ID variable.

szCompany_COCOcharOPTNONE

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.

cProcessingMode_MODEMODEcharOPTNONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

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

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

idArrayABCatCodesGENLNGIDOPTNONE

General purpose ID variable.

Related Functions

B0100002 A/B - Get Parent Address
N0100042 Customer Master -MBF

Related Tables

F0101 Address Book Master
F40073 Preference Hierarchy File
F4092 Group Code Key Definition Table
F4093 Item/Customer Group Relationship
F4094 Item/Customer Key ID Master File
F4102 Item Branch File