GetDistributionConstants

Get Distribution Constants

Minor Business Rule

Object Name: B4000530

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

This Business Function retrieves all of the distribution system constants flags.  


Setup Notes and Prerequisites


Special Logic




Technical Specification

Retrievals:

Retrieve the record from the F4009 file using the system code (SystemCode - SY) with BLANKS as the 

key for the fetch.


Returns:

Returns the values from the table as defined in the parameters.


If no fetch has been performed, error code 4430 and set CONTINUE_GBR.





Data Structure

D4000530 - GetDistributionConstants

Parameter NameData ItemData TypeReq/OptI/O/Both
cUoMConversionByBranchBUMCcharNONENONE

A code that indicates how the system uses the branch/plant within the Item Specific Unit of Measure Conversion tables. Valid values are:    Y 
The system displays the item-specific conversion table when you add an item to a specific branch/plant.    N The system displays the 
item-specific conversion table for all branch/plants from the Item Master table.

cSupplementalDataByBranchBSDBcharNONENONE

A code that indicates how the system uses the branch/plant within the Inventory Management Supplemental Database. Valid values are:    
Y The supplemental data is unique by item and branch.    N The supplemental data is unique by item only.

cAllowDuplicateLotsULOTcharNONENONE

A code that determines whether the system can assign the same lot to multiple items. Valid values are:    1   Do not allow duplicate lots. The 
lot is restricted to one item and one branch/plant.    2   Allow duplicate lots. You can create a lot that contains multiple items and 
branch/plants.    3   Do not allow duplicate lots. The lot is restricted to one item, but can contain quantities in multiple branch/plants.

cUpdateAverageCostAVGCcharNONENONE

A code that indicates when the system calculates the new average cost for an item. Valid values are:    Y The system calculates a new 
average cost immediately after any transaction occurs that affects the average cost of an item.    N All processes that affect average cost create 
transactions to the Average Cost Work table (F41051). The system calculates a new average cost when you run the Average Cost Update 
program.

cAdvancedSalesPricingADVPcharNONENONE

Indicates how the system determines the price of items within your system.  If your system includes the advanced pricing module, you may 
use this feature.    Y The system will use advanced pricing.    N The system will NOT use advanced pricing.

cSalesPriceRetrievalUoMUMB1charNONENONE

A code that specifies the unit of measure that the system uses for retrieving base prices and price adjustments for sales order processing, 
service and warranty management, and ship and debit processing. The system allows users to define base prices in the Item Base Price 
File table (F4106) and price adjustments in the Price Adjustment Detail table (F4072) in various units of measure. If the base price or price 
adjustments are not found in the specified unit of measure, then the system uses the primary unit of measure for the item.

cSalesPriceBasedOnDateCP01charNONENONE

A code that determines how the system updates the Price Effective Date in the Sales Order Header (F4201) and Detail (F4211) tables. In 
the Sales Order Management system, the system uses the Price Effective Date to retrieve the base price from the Sales Order Header table 
(F4106) and price adjustments from Sales Order Detail table (F4072).

cSymbolToIdentifyVariableCP02charNONENONE

A character that you want to use to identify a variable table in advanced pricing in your system. When you enter a table name preceded by 
this character, the system recognizes the name as a table name for formula pricing calculations. Alphabetic, numeric, and mathematical 
function (for example,+,-,*,/) values are not valid in this field.

cSymbolToIdentifyUoMCP03charNONENONE

A character that you want to use to identify a unit of measure in advanced pricing formulas. When you enter a unit of measure preceded by 
this character,the system recognizes the entry as a unit of measure for formula pricing calculations. Alphabetic, numeric, and mathematical 
function (for example,+,-,*,/) values are not valid in this field.

cSymbolToIdentifyCurrencyCP04charNONENONE

A character that you want to use to identify a currency code in advanced pricing formulas. When you enter a currency code preceded by 
this character,the system recognizes the entry as a currency code for formula pricing calculations. Alphabetic, numeric, and mathematical 
function (for example, +,-, *, /) values are not valid in this field.

cSymbolToIdentifyColumnCP05charNONENONE

Character that you want to use to identify database fields in advanced pricing formulas. When you enter a database field preceded by this 
character, the system recognizes the entry as a database field for formula pricing calculations. Alphabetic, numeric, and mathematical 
function (for example, +,-, *, /) values are not valid in this field.

cPurchasePriceRetrivalUOMCP06charNONENONE

A code that represents the unit of measure that the system retrieves for the purchase base price (F41061) during purchase order 
processing. If you specify the unit of measure for transaction or pricing and the system does not find a record in that unit of measure, the system repeats 
the process using the primary unit of measure of the item.

cSystemConstants07CP07charNONENONE

A number that determines which category code the system uses in the criteria for inclusion comparison.

cSystemConstants08CP08charNONENONE

Code indicating whether the system tracks changes to the following pricing files:     o Price Adjustment Schedule (F4070)     o Price 
Adjustment Definition (F4071)     o Price Adjustment Detail (F4072)     o Price Variable (F4075)     o Price Formula (F4076)     o Base Prices (F4106) If you 
track changes, the system creates records in the following audit files:     o Price Adjustment Schedule Audit (F4070A)     o Price Adjustment 
Name Audit (F4071A)     o Price Adjustment Detail Audit (F4072A)     o Price Variable Table Audit (F4075A)     o Price Formula Audit (F4076A)     o 
Base Prices Audit (F4106A) Valid codes are    Y The system tracks changes and creates audit records    N The system does not track changes

cSystemConstants09CP09charNONENONE

A code that indicates whether the system sends over the internet any messages that are generated by Distribution programs.  For 
PeopleSoft World, valid values are: Y  Attempt to send e-mail over the internet. N  Send e-mail to the PeopleSoft mail box.  For PeopleSoft 
EnterpriseOne, a checkmark indicates Y (Yes).

cSystemConstantsCode10CP10charNONENONE

A code that the system uses to determine the maximum length of the Lot/Serial Number field for lot processing. The length of the field 
depends on whether OneWorld coexists with WorldSoftware. For WorldSoftware, valid values are:    0   indicates coexistence and a maximum 
12-character lot    1   indicates non-coexistence and a maximum 30-character lot    NOTE: A blank functions the same as a 0. For OneWorld, a 
check indicates non-coexistence and a maximum 30-character lot; a blank indicates coexistence and a maximum 12-character lot.

cControlCodeECSCCTLcharNONENONE

A code that indicates whether to use the Energy and Chemical System application.

cShipAscendingDateRuleSADRcharOPTNONE

An option that indicates whether the system applies the ship ascending date rule by customer and by item. When you choose this option, 
the system applies the ship ascending date rule during the sales order entry, pick slip/commitment processing, and ship confirmation 
processes. When the system applies the Ship Ascending Date rule, the system sorts shipping customers' lots in ascending order by expiration date, 
sell by date, or best before date.

cAdvancedProcurementPricingCP11charOPTNONE

Use this field to specify whether to apply advanced pricing to the purchase price. Valid values are:    Y Apply advanced pricing to the 
purchase price.    N Apply standard price adjustments to the purchase price.

cScientificRoundingCP12charOPTNONE

A flag that indicates if scientific rounding should be performed. Currently this feature is only enabled for Quality Management Test 
Results. Valid Values are:   0 = Scientific Rounding should not be performed   1 = Scientific Rounding should be performed

cRequirePriceApprovalCP13charOPTNONE

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.

cProcurementCostBasedOnDateCP14charOPTNONE

System Constants Code 14

cSystemConstantsCode15CP15charOPTNONE

System Constants Code 15

cUseAuditLogForSalesOrderCCP16charOPTNONE

An option that indicates whether the system writes sales order changes to an audit log.

cReasonCodeRequiredCP17charOPTNONE

An option that indicates whether a reason code is required for each sales order change.

cApprovalProcessRequiredCP18charOPTNONE

An option that specifies whether changes made to a sales order will go through an approval process.

cUseCustomerSetCP19charOPTNONE

An option that specifies whether the system uses the customer set.

cPrepaymentProcessingCP20charOPTNONE

An option that indicates whether the system is using prepayment processing.

cCriticalHoldDecouplingCHDCcharOPTNONE

cEnhancedLotProcessingELOTcharOPTNONE

An option that indicates whether the expanded lot status is activated.

cAdjustmentRetrievalMethodAJRMcharOPTNONE

A code, used in Direct Price Adjustments, that specifies how the pricing calculation program selects the price adjustments. Valid values 
are: Blank Select a named price adjustment schedule. This is the default. 1 Select the pricing address number. 2 Select both a schedule and the 
address number. 

szOrganizationTypeStructurOSTPcharOPTNONE

A user defined code (01/TS) that identifies a type of organizational structure that has its own hierarchy in the Address Book system (for 
example, e-mail). When you create a parent/child relationship for the Accounts Receivable system, the structure type must be blank.

cPricingAddressFlagPRADcharOPTNONE

An option that specifies whether the system uses the sold to address book number or the ship to address book number to retrieve direct 
price adjustments. The system uses this address number as the starting point for processing through the buying structure to find direct price 
adjustments. When this option is turned off, the system uses the sold to address number.

cPreferenceRetrievalUOMCP22charOPTNONE

A code that specifies the unit of measure that the system uses for retrieving advanced preference adjustments during sales order 
processing. The system allows you to define your advanced preference adjustments in the Adjustment Detail table (F4072) in various unit of 
measures.   If you specify the unit of measure for transaction or pricing and the system does not locate a record in that unit of measure, the system 
repeats the process using the primary unit of measure of the item.

szPreferenceSchedulePRSNcharOPTNONE

A user defined code (40/AP) that identifies the advanced preference schedule that the system uses when resolving preferences. The 
advanced preference schedule determines which preferences the system resolves when using the advanced preference functionality. You 
cannot maintain preference schedules directly through user defined codes, but you can maintain preference schedules by using the Price 
Adjustment Schedule program (P4070).

cPromotionsMultipleResolutPMRFcharOPTNONE

An option that specifies which promotion to use when more than one promotion is in effect for an item or customer.

cPromotionsSystemFlagPRSFcharOPTNONE

An option that indicates whether an in-house or third-party promotion package is being used. Valid values are: 0 No promotions system 1 J.D. 
Edwards ERP promotions system 2 Third-party promotions system

cFlagForFuture23CP23charOPTNONE

Future use.

cFlagForFuture24CP24charOPTNONE

Future use.

cFlagForFuture25CP25charOPTNONE

Future use.

cFlagForFuture26CP26charOPTNONE

Future use.

cFlagForFuture27CP27charOPTNONE

Related Functions

None

Related Tables

F4009 Distribution/Manufacturing Constants