LoadAndRetrieveSalesCommCache

Load and Retrieve Sales Commission Cache

Minor Business Rule

Object Name: B4202160

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4202160 - Load and Retrieve Sales Commission Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSalesperson1SLSMMATH_NUMERICOPTNONE

The first of two salespeople who have responsibility for or can receive a commission on sales to this customer. You create this code by 
using the Address Book system or the Related Salesperson form.

mnSalespersonCommission1SLCMMATH_NUMERICOPTNONE

The percentage commission rate that the system uses in computing commission liability on sales made by salesperson 01.

mnFlatCommissionAmountFCAMATH_NUMERICOPTNONE

A value that specifies a commission amount. Enter a flat commission amount instead of a commission percentage. The per-unit amount 
must be entered to calculate commission amounts against the invoice, gross margin, or cost.

mnAmountPerUnitAPUNMATH_NUMERICOPTNONE

The dollar amount per unit of the item.

szComputerIDCTIDcharOPTNONE

mnCommissionLineNumberCMLNMATH_NUMERICOPTNONE

A number that identifies a record in commission tables.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

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

cModeProcessingMODEcharOPTNONE

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

cRecordsProcessedEV01charOPTNONE

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

idhCursorGENLNGIDOPTNONE

General purpose ID variable.

szErrorMessageIDDTAIcharOPTNONE

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.

mnJobnumberJOBSMATH_NUMERICOPTNONE

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

cCommissionCodeTypeCCTYcharOPTNONE

A code that designates whether the system calculates commission using Invoice Amount or Gross Margin.  No matter which item the 
system uses, you should consider an amount as the starting point in the commission calculation and apply loading factors, fixed costs, minimum 
margins and so on

Related Functions

None

Related Tables

None