Ledgers: Visma.net Financials Ledgers |
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 Financials API may not support changing the data or the Invantive SQL driver for Visma.net Financials does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma.net Financials API.
Parameters of Table Function
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 evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `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. |
erp-api-background |
string |
☐ |
|
If a URL value is provided, then API endpoint will be queued and executed in background. When the execution of the background operation is finished, the system will POST the response to the specified URL. The endpoint itself responds in this case with a 202-Accepted status and a reference to a state document for the background operation. |
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 "<" ">" "<=" ">="</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. |
Columns of Table Function
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 > Balance type > 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 > Branch accounting > 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. > The name. |
consolBranch_number |
string |
|
☐ |
Click the magnifier. > The identifier. |
consolidationSource |
boolean |
Consolidation Source |
☐ |
The top part > Consolidation source > 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 > Currency* > The default currency of the ledger. |
description |
string |
Description |
☐ |
The top part > Description > A detailed ledger description. |
internalId |
int32 |
Internal ID |
☐ |
|
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
System generated information. |
number |
string |
Number |
☐ |
Mandatory field: The top part > Ledger ID* > An alphanumeric string of up to 10 characters used to identify the ledger. |
postInterCompany |
boolean |
Post Inter-company |
☐ |
Branch accounting > True/False |
22-12-2022 21:03 Version 22.1.101-BETA+3681