Script API

Deze documentatie is verouderd

De meest volledige en bijgewerkte documentatie is die van Banana Boekhouding Plus: Probeer het nu

In this article

The whole API is under the namespace "Banana". The following objects can be accessed by the script at run time:

Banana.application

The object Banana.application represent the running application.

Banana.document

The object Banana.document represent the current document opened in the application. If any document is opened this object is of type Undefined.

Banana.Converter

The class Banana.Converter contains methods useful to convert data from and to various formats.

Banana.Report

The class Banana.Report enable you to create reports, preview and print them in Banana Accounting.

Banana.Ui

The class Banana.Ui contains predefined dialogs to interact with the user, and methods to load dialogs from .ui or .qml.