PriceCostColExitedAsynch

P4210 Pricing Related Event Logic

Minor Business Rule

Object Name: B4504210

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4504210D - P4210 Price & Cost Grid Col's, Col. Exited Asynch

Parameter NameData ItemData TypeReq/OptI/O/Both
mnUnitPriceOrCostUPRCMATH_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).

mnExtendedPriceOrCostAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnForUnitPriceOrCostFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForExtendedPriceOrCostFEAMATH_NUMERICOPTNONE

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

cCalledFromMODEcharOPTNONE

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

mnSavedPriceOrCostXEXPMATH_NUMERICOPTNONE

The product of the number of units and the unit price.

cPriceOrCostOverrideFlagEV01charOPTNONE

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

cSaveExtPriceEV01charOPTNONE

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

cAdvancedSalesPricingYNADVPcharOPTNONE

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.

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.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

szSalesOrderFlagsStringALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szEditLineSOEMBFFlagsSOEFcharOPTNONE

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.

Related Functions

B0000564 Get Internal Next Number
B4202090 GetF42UI02WFLineNumber
B4205100 Sales Order ALPH String Functions
B4205101 Sales Order Edit Line SOEF String Functions

Related Tables

None
PriceHistoryButtonClickPostproc

PriceHistoryButtonClickPostproc

P4210 Pricing Related Event Logic

Minor Business Rule

Object Name: B4504210

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4504210C - P4210 Price History Exit, Button Clicked Postprocessing

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

mnForUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForExtendedPriceFEAMATH_NUMERICOPTNONE

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

cCurrencyModeCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

cOverridePriceF4074EV01charOPTNONE

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

szSalesOrderFlagsStringALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

mnSavedUnitPriceUCSTRMATH_NUMERICOPTNONE

An amount that represents the unit cost of the item that you received.

cSalesOrderFlag09SO09charOPTNONE

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.

cManualAdjExistsEV01charOPTNONE

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

szEditLineSOEMBFFlagsSOEFcharOPTNONE

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.

Related Functions

B0000564 Get Internal Next Number
B4202090 GetF42UI02WFLineNumber
B4205100 Sales Order ALPH String Functions
B4205101 Sales Order Edit Line SOEF String Functions

Related Tables

None
PriceHistoryButtonClickPreproc

PriceHistoryButtonClickPreproc

P4210 Pricing Related Event Logic

Minor Business Rule

Object Name: B4504210

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4504210B - P4210 Price History Exit, Button Clicked Preprocessing

Parameter NameData ItemData TypeReq/OptI/O/Both
cPriceOverrideCodeEV01charOPTNONE

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

mnWFLineNumberXREFLNIXMATH_NUMERICOPTNONE

szComputerIDCTIDcharOPTNONE

mnJobnumberAJOBSMATH_NUMERICOPTNONE

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

mnPreviousWFLineNumberXREFLNIXMATH_NUMERICOPTNONE

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 

szErrorMsgCodeDTAIcharOPTNONE

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.

cDisableOrHidePriceEV01charOPTNONE

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

mnRelatedKitComponentITMMATH_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

szNonUpdateableStatusNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szStatusCodeNextNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szPaymentResponsibleCodePRCcharOPTNONE

A code to indicate whether the operator is going to assume payment responsibility for the leases governed by the agreement, or whether 
the responsibility remains with the party or parties who subjected such lease to the agreement.   See Descriptive Titles Record (System 20, 
Type 'RC").

cErrorCodeERRCcharOPTNONE

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

cFormModeEV01charOPTNONE

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

szEditLineSOEMBFFlagsSOEFcharOPTNONE

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.

cCMWriteToWFFlagEV01charOPTNONE

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

Related Functions

B0000564 Get Internal Next Number
B4202090 GetF42UI02WFLineNumber
B4205100 Sales Order ALPH String Functions
B4205101 Sales Order Edit Line SOEF String Functions

Related Tables

None
ZeroPriceExitButtonClicked

ZeroPriceExitButtonClicked

P4210 Pricing Related Event Logic

Minor Business Rule

Object Name: B4504210

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4504210A - P4210 Zero Price Exit, Button Clicked Datastructure

Parameter NameData ItemData TypeReq/OptI/O/Both
szSalesOrderFlagsStringALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

cExtendedPriceChangedEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cUnitPriceChangedEV06charOPTNONE

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

mnSavedUnitPriceUCSTRMATH_NUMERICOPTNONE

An amount that represents the unit cost of the item that you received.

mnSavedExtendedPriceXEXPMATH_NUMERICOPTNONE

The product of the number of units and the unit price.

cPriceOverrideCodeEV01charOPTNONE

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

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.

cAdvancedSalesPricingYNADVPcharOPTNONE

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.

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.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTNONE

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

Related Functions

B0000564 Get Internal Next Number
B4202090 GetF42UI02WFLineNumber
B4205100 Sales Order ALPH String Functions
B4205101 Sales Order Edit Line SOEF String Functions

Related Tables

None