CalculateGainLossInfo

Calculate Gain Loss Information

Minor Business Rule

Object Name: N41B0431

Parent DLL: CLOG

Location: Client/Server

Language: NER

Data Structure

D41B0430 - Calculate Gain Loss Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szGainLossReasonGLRScharOPTBOTH

mnVolumeGainLossGLQTMATH_NUMERICOPTBOTH

The operational gain/loss calculated for that day. Gains are shown as positive and losses as negative.

szCostCenterMCUcharOPTINPUT

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.

mnIdentifierShortItemITMMATH_NUMERICOPTINPUT

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

mnOutgoingsOUTGMATH_NUMERICOPTINPUT

The total of all unreconciled outgoing transactions for the document types listed in the processing options.

mnPercentofTotalOutgoingsOPCTMATH_NUMERICOPTOUTPUT

The gain/loss expressed as a percentage of the total outgoings for the reporting period.

jdDateFromDTFRJDEDATEOPTINPUT

The beginning date for which the transaction or code is applicable.

jdDateThruDTTOJDEDATEOPTINPUT

The ending date for which the transaction or code is applicable.

mnPercentofAverageDailyStoADSBMATH_NUMERICOPTOUTPUT

A percentage that identifies the gain or loss of the average daily stock balance. View the amount of stock that is gained or lost compared to 
the amount of stock normally kept. The calculation is as follows: 1.  Add up the opening stock for each of the reporting days. 2.  Divide the 
total by the number of days to arrive at the average stock. 3.  Divide the gain or loss by the average stock.

mnAmountExtendedCostECSTMATH_NUMERICOPTOUTPUT

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnAverageDailyStockBalanceGLQTMATH_NUMERICOPTBOTH

The operational gain/loss calculated for that day. Gains are shown as positive and losses as negative.

mnAmountUnitCostUNCSMATH_NUMERICOPTBOTH

The amount per unit, derived by dividing the total cost by the unit quantity.

szLocationLOCNcharOPTINPUT

The storage location from which goods will be moved.

szLotLOTNcharOPTINPUT

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cFlag01FLAGcharREQINPUT

Contains an indicator for the operation.

cFlag02FLAGcharREQINPUT

Contains an indicator for the operation.

cFlag03FLAGcharREQINPUT

Contains an indicator for the operation.

cFlag04FLAGcharREQINPUT

Contains an indicator for the operation.

cFlag05FLAGcharREQINPUT

Contains an indicator for the operation.

Related Functions

None

Related Tables

None