ReturnAccountBalancesPeriods

Return Account Balances Periods

Minor Business Rule

Object Name: B0900060

Parent DLL: CFIN

Location: Client/Server

Language: C


Functional Description


Purpose


Returns the fourteen periods amounts, the prior year net postings, and balance forward for the account requested using one of four possible 

secnarios.  Case 1 is a specific subledger and currency code has been requested.  Case 2 is a specific subledger and all currency codes have 

been requested.  Case 3 is all subledgers and all currency codes have been requested.  Case 4 is all subledgers and a specific currency code 

has been requested.


The values in the subledger and currency fields determine how the account balances will be rolled together.  (An "*" will indicate all 

subledgers, and/or all currencies).  A blank value in either field will look for the F0902 with the key value or blank.



Data Structure

D0900060 - Return Account Balances Periods

Parameter NameData ItemData TypeReq/OptI/O/Both
szAccountIdAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

mnCenturyCTRYMATH_NUMERICNONENONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

mnFiscalYear1FYMATH_NUMERICNONENONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

szFiscalQtrFQcharNONENONE

A data field reserved for future use.

szLedgerTypeLTcharNONENONE

A user defined code (09/LT) that specifies the type of ledger, such as AA (Actual Amounts), BA (Budget Amount), or AU (Actual Units). You 
can set up multiple, concurrent accounting ledgers within the general ledger to establish an audit trail for all transactions.

szSubledgerSBLcharNONENONE

Special Input Expected
If all subledgers are to be accumulated into one value, pass an *. If a specific subledger value and 

type are passed, this function assumes they have been formatted prior to calling this function.


Significant Data Values

 * = All subledgers.

^

cSubledgerTypeSBLTcharNONENONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szCurrencyCodeFromCRCDcharNONENONE

Special Input Expected
If all currencies are to be accumulated into one value, pass an * for currency code.


Significant Data Values

* = All currency codes.


mnAmtBeginningBalancePYAPYCMATH_NUMERICNONENONE

The cumulative prior year-end balance. The system uses this amount as the beginning balance for balance sheet and job cost 
accounts. NOTE: Do not confuse this amount with the prior year-end net posting amount. The prior year-end net posting amount includes only the 
postings from the prior year. It does not include the ending balance of the previous year. The prior year-end net postings are typically used for profit 
and loss statement comparisons.

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

mnAmountNetPosting002AN02MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting003AN03MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting004AN04MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting005AN05MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting006AN06MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting007AN07MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting008AN08MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting009AN09MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting010AN10MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting011AN11MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting012AN12MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting013AN13MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmountNetPosting014AN14MATH_NUMERICNONENONE

Number that represents the net amount posted during the accounting period. The system uses the accounting periods from the Company 
Constants file (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.

mnAmtPriorYrNetPostAPYNMATH_NUMERICNONENONE

The prior year-end net postings.  The system uses this number for profit and loss statement comparisons. NOTE: Do not confuse this 
number with the prior year-end cumulative balance. The prior year-end cumulative balance is typically used for balance sheet and job cost 
carry-forward amounts.

Related Functions

None

Related Tables

F0902 Account Balances