F4076UpdatePriceFormulaTable

F4076 Update Price Formula Table

Minor Business Rule

Object Name: N4502310

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4502310 - F4076 Update Price Formula Table

Parameter NameData ItemData TypeReq/OptI/O/Both
szPriceFormulaNameFRMNcharOPTNONE

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

szFormulaCalculationFieldFMLcharOPTNONE

An algebraic expression the system uses to calculate the adjustment to which the formula is attached. When you define formulas, use 
standard arithmetic symbols to indicate addition (+), subtraction (-), multiplication (*), and division (/). In the formula you can also include units of 
measure and currency codes, and references to fields in the Sales Order Detail table (F4211) and to variable tables. You identify each of these 
with a symbol. You define these symbols in the pricing constants, which you access from the branch/plant constants. The following is an 
example of a pricing formula that refers to a variable table. (.90 * &PROPANE) + 2  The ampersand identifies PROPANE as a variable table.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

szProgramIdPIDcharOPTNONE

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.

szWorkStationIdJOBNcharOPTNONE

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

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

cActionCodeEV01charOPTNONE

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

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

szErrorMsgIdDTAIcharOPTNONE

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.

Related Functions

None

Related Tables

None