Follow

CashFlowDetAmount

This method returns the total balance for a group of accounts.

Syntax:

CashFlowDetAmount(<nCashFlowDetId>[, < dDateStart>][, < dDateEnd>])

 

Parameters

Description

nCashFlowDetId

Identifier of the group of accounts for which the balance has to be returned.

dDateEnd

The entries up to this date are considered. This parameter is optional. If the parameter is omitted the entries up to the end of the fiscal year are considered.

dDateStart

The entries starting from this date are considered. This parameter is optional. If the parameter is omitted the entries starting from the beginning of the fiscal year are considered.

Example:

*/ Instantiate end set the database location.

oBiz = createobject("bizinfo.application")

oBiz.cDatabasePath = "C:\WinBIZ Data"

oBiz.nCompany = 1000

oBiz.nYear = 2017

*/ Show the balance for the group of accounts with Identifier = 9.

messagebox(oBiz.CashFlowDetAmount(9))

*/ Show the balance for the group of accounts with Identifier = 9 at the 1.03.2017.

messagebox(oBiz.CashFlowDetAmount(9, {01.03.2017}))

*/ Show the balance for the group of accounts with Identifier = 9 for the month of march 2017.

messagebox(oBiz.CashFlowDetAmount(9, {01.03.2017}, {31.03.2017}))

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments