B0900008TerminateCaches

Return Account Balance

Major Business Rule

Object Name: B0900008

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0900008A - B0900008 Terminate Caches

Parameter NameData ItemData TypeReq/OptI/O/Both
cTerminateCoDateEV01charOPTNONE

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

cTerminateThruDateEV01charOPTNONE

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

Related Functions

B0900009 Retrieve Companys Begin Date
X0903 Fiscal Date Edits +

Related Tables

F0902 Account Balances
F0911 Account Ledger
ReturnAccountBalance

ReturnAccountBalance

Return Account Balance

Major Business Rule

Object Name: B0900008

Parent DLL: CFIN

Location: Client/Server

Language: C


Data Structure

D0900008 - Return Account Balance


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szAccountIdAIDcharNONENONE

Special Input Expected
Pass in the Account ID (AID) of the account that you are calcuating the balance for.

^

szCompanyCOcharNONENONE

Special Input Expected
Pass in the Company Number to be used for From Date Determination.

^

szLedgerTypeLTcharNONENONE

Special Input Expected
Pass in the Ledger Type to be used in calculating the account's balance.

^

jdThruDateD02JDEDATENONENONE

Special Input Expected
Pass in the Thru Date to be used in calculating the account's balance.

^

szSubledgerSBLcharNONENONE

Special Input Expected
Pass in the Subledger to be used in calculating the account's balance.  If you need all subledgers 

and subledger types, pass an "*" in this parameter and pass a blank in the Subledger Type parameter.


^

cSubledgerTypeSBLTcharNONENONE

Special Input Expected
Pass in the Subledger Type to be used in calculating the account's balance.  If you need all 

subledgers and subledger types, pass a blank in this parameter and pass an "*" in the Subledger parameter.

^

szCurrencyCRCDcharNONENONE

Special Input Expected
Pass in the Currency Code to be used in calculating the account's balance.  If you need all 

currencies, pass an "*" in this parameter.  This parameter will only calculate correctly if the account has 

posted by currency.



^

cIncludeUnpostedPOSTcharNONENONE

Special Input Expected
If you wish to include unposted F0911 records in your account balance calculation then pass a "1" in 

this parameter.

^

mnAmountAN01MATH_NUMERICNONENONE

Special Output Returned
This parameter will return the account balance.

^

cBalanceTypeEV01charNONENONE

Special Input Expected
This parameter is used to determine the type of account balance you want.


Valid values:


0 - Inception to Thru Date (Include Beginning Balance)

1 - Year to Thru Date (Do Not Include Beginning Balance)

2 - Period Balance (Period Balance Only)

^

Related Functions

B0900009 Retrieve Companys Begin Date
X0903 Fiscal Date Edits +

Related Tables

F0902 Account Balances
F0911 Account Ledger