FinancialPeriods: Visma.net Financials Financial Periods |
Get a range of Financial Periods - ScreenId=GL201000
Catalog: VismaNet
Schema: FinancialPeriod
Label: Financial Periods
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 FinancialPeriods. 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 |
☐ |
|
Enter the year or year-period lower than the first period or year you want, format YYYY or YYYYPP |
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 FinancialPeriods are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
active |
boolean |
Active |
☐ |
The table > Active > A check box that indicates (if selected) that the period can be used for posting transactions. |
closedInCashManagement |
boolean |
|
☐ |
The table > Closed in Cash management > A read-only check box that indicates (if selected) that the financial period is closed in the Cash management; if this check box is cleared, the period is active in this workspace. |
closedInCustomerLedger |
boolean |
|
☐ |
The table > Closed in Customer ledger > A read-only check box that indicates (if selected) that the financial period is closed in the Customer ledger workspace; if this check box is cleared, the period is active in this workspace. |
closedInFixedAssets |
boolean |
|
☐ |
The table > Closed in Fixed assets > A read-only check box that indicates (if selected) that the financial period is closed in the Fixed assets workspace; if this check box is cleared, the period is active in the this workspace. |
closedInGeneralLedger |
boolean |
|
☐ |
The table > Closed in General ledger > A read-only check box that indicates (if selected) that the financial period is closed in the General ledger workspace; if this check box is cleared, the period is active in the this workspace. |
closedInInventoryManagement |
boolean |
|
☐ |
The table > Closed in Inventory management > Inventory managementA read-only check box that indicates (if selected) that the financial period is closed in the Inventory workspace; if this check box is cleared, the period is active in the workspace. |
closedInSupplierLedger |
boolean |
|
☐ |
The table > Closed in Supplier ledger > A read-only check box that indicates (if selected) that the financial period is closed in the Supplier ledger workspace; if this check box is cleared, the period is active in the this workspace. |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
description |
string |
Description |
☐ |
The table > Description > The description of the financial period (such as the name of the month or the number of the quarter). |
endDate |
datetime |
End Date |
☐ |
The table > End date > The date when the financial period ends. |
period |
string |
Period |
☐ |
The table > Period > The period no and the year. |
startDate |
datetime |
Start Date |
☐ |
The table > Start date > The date when the financial period starts. |
year |
int32 |
Year |
☐ |
Mandatory field: The top part > Financial year* > The financial year. |
22-12-2022 21:03 Version 22.1.101-BETA+3681