FixedAssetClassByClassID |
Get a specific Fixed Asset Class - Screen ID:FA201000
Catalog: VismaNet
Schema: FixedAssetClass
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 FixedAssetClassByClassID. 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 |
---|---|---|---|---|
ClassID |
string |
☑ |
|
|
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. |
Columns of Table Function
The columns of the table function FixedAssetClassByClassID are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
acceleratedDepreciation |
boolean |
|
☐ |
Indicates whether the fixed asset using this fixed asset class will use accelerated depreciation depending on selected depreciation method |
accounts_accountID |
string |
|
☐ |
The fixed asset account for this fixed asset |
accounts_accrualAccountID |
string |
|
☐ |
The accrual account for this fixed asset |
accounts_accrualSubAccountID |
string |
|
☐ |
The accrual sub account for this fixed asset |
accounts_accumulatedDepreciationAccountID |
string |
|
☐ |
The accumulated depreciation account for this fixed asset |
accounts_accumulatedDepreciationSubAccountID |
string |
|
☐ |
The accumulated depreciation sub for this fixed asset |
accounts_creditAccountID |
string |
|
☐ |
The credit account |
accounts_creditSubAccountID |
string |
|
☐ |
The credit sub account |
accounts_debitAccountID |
string |
|
☐ |
The debit account |
accounts_debitSubAccountID |
string |
|
☐ |
The debit sub account |
accounts_depreciatedExpenseAccountID |
string |
|
☐ |
The depreciation expense account for this fixed asset |
accounts_depreciatedExpenseSubAccountID |
string |
|
☐ |
The depreciation expense sub for this fixed asset |
accounts_disposalAccountID |
string |
|
☐ |
The proceeds account for this fixed asset |
accounts_disposalSubAccountID |
string |
|
☐ |
The proceeds sub for this fixed asset |
accounts_gainAccountID |
string |
|
☐ |
The gain account for this fixed asset |
accounts_gainSubAccountID |
string |
|
☐ |
The gain sub for this fixed asset |
accounts_lossAccountID |
string |
|
☐ |
The loss account for this fixed asset |
accounts_lossSubAccountID |
string |
|
☐ |
The loss sub for this fixed asset |
accounts_subAccountID |
string |
|
☐ |
The sub account for this fixed asset |
accumulatedDepreciationSubAccountMask |
string |
|
☐ |
The accumulated depreciation sub account mask for this fixed asset class |
active |
boolean |
Active |
☐ |
Indicates whether this fixed asset class is active or not |
assetTypeID |
string |
|
☐ |
The type id of this fixed asset class |
bookSettings_bookID |
string |
|
☐ |
The book id |
bookSettings_depreciationMethodID |
string |
|
☐ |
The depreciation method id |
classID |
string |
|
☐ |
The id that identifies this fixed asset class |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
depreciable |
boolean |
|
☐ |
Indicates whether the fixed asset using this fixed asset class can be depreciated or not by default |
depreciatedExpenseSubAccountMask |
string |
|
☐ |
The depreciated expense sub account mask for this fixed asset class |
description |
string |
Description |
☐ |
The description of this fixed asset class |
errorInfo |
string |
Error Message |
☐ |
|
gainLossSubAccountMask |
string |
|
☐ |
The gain/loss sub account mask for this fixed asset class |
isTangible |
boolean |
|
☐ |
Indicates whether the fixed asset using this fixed asset class is tangible or not by default |
metadata_maxPageSize |
int64 |
|
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
proceedSubAccountMask |
string |
|
☐ |
The proceed sub account mask for this fixed asset class |
recordType |
string |
|
☐ |
The type of the record. This value is 'C' for fixed asset classes |
subAccountMask |
string |
|
☐ |
The sub account mask for this fixed asset class |
usefulLife |
double |
|
☐ |
Default useful life in years of the fixed asset using this fixed asset class |
22-12-2022 21:03 Version 22.1.101-BETA+3681