Please enable JavaScript to view this site.

Visma.net Financials Data Model

Navigation: Schema: Ledger > Tables

Ledgers: Visma.net Ledgers

Contents Previous Home Next More

Get a range of Ledgers - ScreenId=GL201500

Catalog: VismaNet

Schema: Ledger

Label: Ledgers

The data in this table is partitioned per value of the COMPANY_CODE column.

This is a read-only table function. The Visma.net API may not support changing the data or the Invantive SQL driver for Visma.net does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma.net API.

Select Visma.net API URL: /controller/api/v1/ledger

Insert Visma.net API URL: /controller/api/v1/ledger

Update Visma.net API URL: /controller/api/v1/ledger

Delete Visma.net API URL: /controller/api/v1/ledger

Field Selection Method: NotRequired

Select Visma.net API Operation: get /controller/api/v1/ledger

Table Function Parameters

The following parameters can be used to control the behaviour of the table function Ledgers. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

COMPANY_CODE

string

 

Partition to retrieve data from.

greaterThanValue

string

 

Excludes ledgers with value lower than entry

lastModifiedDateTime

string

 

System retrieved information for state/condition. Valid date/time format is yyyy-MM-dd, yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm:ss.FFF. FFF stands for milliseconds

lastModifiedDateTimeCondition

string

 

Values to be used for filtering lastModifiedDateTime value.<remarks>Allowed values are "&lt;" "&gt;" "&lt;=" "&gt;="</remarks>

numberToRead

int32

 

This field has been deprecated and will be removed in future versions.

skipRecords

int32

 

This field has been deprecated and will be removed in future versions.

 

Table Function Columns

The columns of the table function Ledgers are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

balanceType

string

Balance Type

The top part &gt; Balance type &gt; The type of balance in the ledger. Select one of the following predefined types: Actual, Budget, Reporting, Statistical.

branchAccounting

boolean

Branch Accounting

The top part &gt; Branch accounting &gt; A check box that you select to indicate that the system should automatically generate inter-branch transactions for this ledger to balance transactions for all branches involved.

COMPANY_CODE

string(30)

Company Code

Partition code, segmenting the data.

COMPANY_NAME

string(240)

Company Name

Name of the partition.

consolBranch_name

string

 

Click the magnifier. &gt; The name.

consolBranch_number

string

 

Click the magnifier. &gt; The identifier.

consolidationSource

boolean

Consolidation Source

The top part &gt; Consolidation source &gt; A check box that specifies, if selected, that the ledger should be used as a source ledger for consolidation.

currencyId

string

Currency ID

Mandatory field: The top part &gt; Currency* &gt; The default currency of the ledger.

description

string

Description

The top part &gt; Description &gt; A detailed ledger description.

internalId

int32

Internal ID

 

lastModifiedDateTime

datetime

Last Modified

System generated information.

number

string

Number

Mandatory field: The top part &gt; Ledger ID* &gt; An alphanumeric string of up to 10 characters used to identify the ledger.

postInterCompany

boolean

Post Inter-company

Branch accounting &gt; True/False

 

12-12-2020 18:42 Version 20.1.301-BETA+3023