CommissionAccrualsCache

Commission Accruals Cache

Minor Business Rule

Object Name: B4206040

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4206040 - Commission Accruals Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharOPTNONE

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

szCompanyKeyOrderNoKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnSalespersonCommission1SLCMMATH_NUMERICOPTNONE

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

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.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

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.

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdDateTransactionJulianTRDJJDEDATEOPTNONE

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

szReportCodeAddBook001AC01charOPTNONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to group address book 
records for reports, mailings, and so on. Category codes are user defined (system 01, types 01 through 30). Examples of category codes 
include: Category code 01   Location or Branch Category code 02 Salesperson Category code 03   Product Category code 04   Credit officer

szReportCodeAddBook002AC02charOPTNONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Account Representative  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook003AC03charOPTNONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Salesperson  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook004AC04charOPTNONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Salesperson  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook005AC05charOPTNONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01               Location 
or Branch Category code 02               Salesperson Category code 03               New tenant Category code 04               Credit officer

szSalesReportingCode1SRP1charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode2SRP2charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or 
use. This field represents one of ten property type categories available for sales purposes.

szSalesReportingCode3SRP3charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode4SRP4charOPTNONE

One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material 
content, or use.

szSalesReportingCode5SRP5charOPTNONE

One of ten category codes to be used for sales coding purposes.  These codes can represent such classifications as color, material 
content, or use.

szFreightHandlingCodeFRTHcharOPTNONE

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

mnAmountSalesTotalOrderTOTOMATH_NUMERICOPTNONE

The total dollar value of the extended list prices for the items on this order, less any applicable discounts.

mnAmtSalesOrderTotalCoORCSMATH_NUMERICOPTNONE

The Cost of Sales amount. The system subtracts this amount from the Order Sales amount to calculate the Gross Profit amount for this 
order.

mnAmountTotalLineCostLRCSMATH_NUMERICOPTNONE

The Cost of Sales amount. The system subtracts this amount from the line sales amount to calculate the gross profit amount for this order 
line.

mnAmountExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

szCostCenterMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cModeProcessingMODEcharOPTNONE

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

mnIdentifierShortItemITMMATH_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

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

cProofOrFinalEV01charOPTNONE

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

mnAmountCommissionCOMAMATH_NUMERICOPTNONE

The system computes this dollar amount as a potential commission liability. Based upon the sales amount at the order or line level, this 
amount might be the result of cost of sales, overhead "load" factor, minimum gross margin, and so forth. See Commission Constants.

cOrderOrLinelevelEV01charOPTNONE

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

mnJobnumberJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

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

mnLoadFactorLFACMATH_NUMERICOPTNONE

The factor that the system uses as multiplier of product cost.

mnAmountFixedCostAFXCMATH_NUMERICOPTNONE

The dollar amount of processing overhead per order.

mnAmtOrderGrossMarginMRGNMATH_NUMERICOPTNONE

The initial amount of gross profit (Sales Amount minus Cost of Sales) on an order before the system adds or subtracts other factors in the 
commission liability calculation.

mnAmtOrderEligibleMargELIGMATH_NUMERICOPTNONE

The portion of the gross profit (Sales Amount minus Cost of Sales) that the system might use in computing sales commission liability. This 
amount might be the gross profit minus such things as a loading factor or minimum gross margin amount.

mnAmountLineGrossMarginMRGLMATH_NUMERICOPTNONE

The initial amount of gross profit (Sales Amount minus Cost of Sales) on an order line before the system adds or subtracts other factors in 
the Commission Liability calculation.

mnAmtLineEligibleMarginELILMATH_NUMERICOPTNONE

That portion of the gross profit (Sales Amount minus Cost of Sales) that the system might use in computing sales commission liability. This 
amount might be the gross profit minus such things as a loading factor, fixed cost, or minimum gross margin amount.

mnAmtRebateCostTotalOrREBTMATH_NUMERICOPTNONE

The total dollar amount due from supplier as a result of selling the items on this order. This amount is in the form of a rebate.

mnAmtRebateCostTotalLiREBLMATH_NUMERICOPTNONE

The total dollar amount due from the supplier as a result of selling the item on this order line. The amount is in the form of a rebate.

mnAmtMinimumGrossMarginMGMMATH_NUMERICOPTNONE

The order-based minimum gross margin. If the gross margin is not equal to at least this amount, then the order does not qualify for a 
commission.

mnPercentRelatedCommissCPCRMATH_NUMERICOPTNONE

The percentage of an order sales amount payable to the related salesperson. The system recognizes a related salesperson as any 
salesperson in a designated (related) sales group.

mnAmtRelatedCommissionCOMRMATH_NUMERICOPTNONE

The system computes this dollar amount as a potential commission liability. Based upon the sales amount at the order or line level, this 
amount might be the result of cost of sales, overhead "load" factor, minimum gross margin and so forth.

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

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.

idhCursorGENLNGIDOPTNONE

General purpose ID variable.

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

cRecordsProcessedEV01charOPTNONE

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

nNoOfKeysUsedINTEGERintegerOPTNONE

Related Functions

None

Related Tables

None