CalculateYTDIncome

Calculate YTD Income

Minor Business Rule

Object Name: N1000001

Parent DLL: CFIN

Location: Client/Server

Language: NER

This function calculates Year to Date Net Income based upon the GLG AAI's and the assumption that 
Assets = Liability + Equity.This number is not an addition of the account balances of all income 

statement accounts. You must pass the account number, GLG2 (Begining Assets), GLG3 (Begining Liability), and 

GLG5 (Last P/L account) as strings that contain object and subsidiary concatenated. You must also 

supply the account balance and two variables to hold the results of calculations. Year to Date Net Income 

is returned.

Data Structure

D1000004 - Calculate YTD Net Income

Parameter NameData ItemData TypeReq/OptI/O/Both
szObjectSubDL01charNONENONE

A user defined name or remark.

szBeginAssetsObjSubDL01charNONENONE

A user defined name or remark.

szBeginLiabilityObjSubDL01charNONENONE

A user defined name or remark.

szYTDIncomeObjSubDL01charNONENONE

A user defined name or remark.

mnColumnTotalAN01MATH_NUMERICNONENONE

A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants table (F0010). The net amount posted is the total of all debits and credits, beginning with the first day of the period through the last 
day of the period.

mnTotalAssetsAN01MATH_NUMERICNONENONE

A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants table (F0010). The net amount posted is the total of all debits and credits, beginning with the first day of the period through the last 
day of the period.

mnTotalLiabilityEquityAN01MATH_NUMERICNONENONE

A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants table (F0010). The net amount posted is the total of all debits and credits, beginning with the first day of the period through the last 
day of the period.

mnYTDIncomeAN01MATH_NUMERICNONENONE

A number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants table (F0010). The net amount posted is the total of all debits and credits, beginning with the first day of the period through the last 
day of the period.

mnReverseSignOWREVSMATH_NUMERICNONENONE

Use this processing option to reverse the sign of amounts printed on reports.  Valid values are:    0 = Do not reverse any signs.    1=  Reverse 
sign for Income Statement accounts (Revenues will print as positive and Expenses as negative).      2 = Reverse sign for Balance Sheet 
accounts (Assets, Liability and Equity will print as positive).        3 = Revenues will print as positive and Expenses will print as positive.

Related Functions

None

Related Tables

None