F42004VerifyCommissionCode

F42004 Verify Commission Code

Minor Business Rule

Object Name: B4200050

Parent DLL: CDIST

Location: Client/Server

Language: C

Verify the commission code against the Commission Constants Table F42004
If a record is not found and the CallType = 0, this function will issue an error (0418) and return a 

1 in the ErrorCode.  If the CallType is = 1, the error message will be suppressed

^

Data Structure

D4200050 - F42004 Verify Commission Code

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCommissionCodeCMC1MATH_NUMERICNONENONE

The first of two eight-character codes used to designate the salespeople who should receive credit for a sale to the customer.  This code is 
first created in either the Address Book or through the Related Salespersons program.

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

cReturnCommissionRateEV01charNONENONE

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

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

mnCommissionRateCRT1MATH_NUMERICNONENONE

Commission Rate #1 can either be a % (1.5 equals 1.5%) of the total $ amount purchased or a fixed $ rate per unit based on the total 
number of units purchased. This is defined by the 'Type of Commission' code. NOTE: Commission Rate #1 and Rate #2 can be different values, but 
are considered to be the same type.

cCallTypeEV02charOPTNONE

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

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.

szCommissionCurrencyCodeCMCRcharOPTNONE

A code that identifies the currency of a salesperson's flat commission.

cCurrencyConversionFlagCRYRcharOPTNONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

szNameObjectOBNMcharOPTNONE

The name that identifies a system object. J.D. Edwards ERP architecture is object-based. Discrete software objects are the building blocks 
for all applications, and developers can reuse the objects in multiple applications. The Object Librarian tracks each object. Examples of 
system objects include:   o Batch Applications (such as reports)   o Interactive Applications   o Business Views   o Business Functions   o 
Business Functions Data Structures   o Event Rules   o Media Object Data Structures

mnJobnumberAJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

jdDateTransactionJulianTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

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.

Related Functions

None

Related Tables

None