frequently asked questions

All your questions in one place.

AnalyticAccountBalance

This method returns the balance at a given date for a given analytical account number.

Syntax:

oBiz.AnalyticAccountBalance(<cAnalyticalAccount>, [<dDateEnd>, <dDateStart>])

 

Parameters

Description

cAnalyticalAccount

Analytical account number.

dDateEnd

Accounting entries up to this date are included. The parameter is not mandatory. If it is not specified, all the entries are included.

dDateStart

Accounting entries starting form this date are included. The parameter is not mandatory. If it is not specified, all the entries are included.

Example:

*/ Instantiate end set the database location.

oBiz = createobject("bizinfo.application")

oBiz.cDatabasePath = "C:\WinBIZ Data"

oBiz.nCompany = 1000

oBiz.nYear = 2017

*/ Show the current balance for the Analytical Account 1000.

messagebox(oBiz.AnalyticAccountBalance("1000"))

*/ Show the balance at the 01.03.2017 for the Analytical Account 1000.

messagebox(oBiz.AnalyticAccountBalance("1000", {01.03.2017}))

*/ Show the balance between the 01.03.2017 and the 31.03.2017 for the Analytical Account 1000.

messagebox(oBiz.AnalyticAccountBalance("1000", {01.03.2017}, {31.03.2017}))

Did you find this article useful?

0 out of 0 found this helpful