LoadAndRetrieveOrderAmounts

Load and Retrieve Order Amounts

Minor Business Rule

Object Name: B4205080

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4205080 - Load and Retrieve Order Amounts

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobnumberJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

mnSalespersonSLSPMATH_NUMERICOPTNONE

The standard for commission calculations requires a maximum of two salespersons and respective commission rates for each order 
line. To create a commission liability for more than two salespersons, you can relate individuals or entities (for royalties) to a single order line. To 
do so, set up a sales/commission/salesperson code that represents not one but many salespersons in the related salesperson file. The 
system inserts this code in the billing instructions record for any customer or during sales order entry to create multiple commission records at the 
appropriate point in the order processing cycle (one record for each related salesperson).

mnAmountOrderGrossOTOTMATH_NUMERICOPTNONE

The total value of all lines on the order that have not been shipped and billed to the customer.

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.

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

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.

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.

cModeProcessingMODEcharOPTNONE

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

Related Functions

None

Related Tables

None