FixedAssetByFixedAssetID |
Get a specific Fixed Asset - Screen ID:FA303000
Catalog: VismaNet
Schema: FixedAsset
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 FixedAssetByFixedAssetID. 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. |
ExpandAccounts |
boolean |
☐ |
|
Set to True to include accounts and subaccounts. Default value is False |
FixedAssetID |
string |
☑ |
|
Identifies the fixed asset |
Columns of Table Function
The columns of the table function FixedAssetByFixedAssetID are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
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 |
assetID |
string |
|
☐ |
The id that identifies this fixed asset |
bookBalance_acquisitionCost |
double |
|
☐ |
The acquisition cost of this fixed asset |
bookBalance_book_bookID |
string |
|
☐ |
The book id of this fixed asset |
bookBalance_book_description |
string |
|
☐ |
The description of the book |
bookBalance_depreciationFromDate |
datetime |
|
☐ |
The date this asset is placed in service |
bookBalance_depreciationFromPeriod |
string |
|
☐ |
The first period this fixed asset will start/has started depreciating |
bookBalance_depreciationMethodID |
string |
|
☐ |
The depreciation method id of this fixed asset |
bookBalance_depreciationToPeriod |
string |
|
☐ |
The last period this fixed asset will depreciate/ was depreciated |
bookBalance_lastDepreciationPeriod |
string |
|
☐ |
The last period this asset has been depreciated |
bookBalance_salvageAmount |
double |
|
☐ |
The salvage amount of this fixed asset |
bookBalance_usefulLife |
double |
|
☐ |
The useful life of this fixed asset in years |
classID |
string |
|
☐ |
The class id of this fixed asset |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
depreciable |
boolean |
|
☐ |
Indicates if this fixed asset can be depreciated or not |
description |
string |
Description |
☐ |
The description of this fixed asset |
details_acquisitionCost |
double |
|
☐ |
The acquisition cost of this fixed asset |
details_billNumber |
string |
|
☐ |
The bill number of the fixed asset invoice |
details_depreciateFromDate |
datetime |
|
☐ |
The date this asset is placed in service |
details_disposalDate |
datetime |
|
☐ |
The date of the disposal of this fixed asset |
details_disposalMethod_description |
string |
|
☐ |
The description of the disposal method |
details_disposalMethodID |
int32 |
|
☐ |
The disposal method of this fixed asset |
details_disposalPeriodID |
string |
|
☐ |
The period of the disposal of this fixed asset |
details_leaseAndRentInfo_leaseNumber |
string |
|
☐ |
|
details_leaseAndRentInfo_leaseRentTerm |
int32 |
|
☐ |
|
details_leaseAndRentInfo_lessorID |
string |
|
☐ |
|
details_leaseAndRentInfo_lessorName |
string |
|
☐ |
|
details_leaseAndRentInfo_manufacturingYear |
string |
|
☐ |
|
details_leaseAndRentInfo_rentAmount |
double |
|
☐ |
|
details_leaseAndRentInfo_retailCost |
double |
|
☐ |
|
details_propertyType |
string |
|
☐ |
Type can be |
details_receiptDate |
datetime |
|
☐ |
The date of the receipt |
details_saleAmount |
double |
|
☐ |
The disposal amount of this fixed asset |
details_salvageAmount |
double |
|
☐ |
The salvage amount of this fixed asset |
details_serialNumber |
string |
|
☐ |
The serial number of this fixed asset |
details_status |
string |
|
☐ |
Status can be |
errorInfo |
string |
Error Message |
☐ |
|
isTangible |
boolean |
|
☐ |
Indicates whether this fixed asset is tangible or not |
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
A system generated date/time that indicates the last change for this fixed asset |
location_branchID |
string |
|
☐ |
The current branch id of this fixed asset |
location_departmentID |
string |
|
☐ |
The current department id of this fixed asset |
metadata_maxPageSize |
int64 |
|
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
parentAssetID |
string |
|
☐ |
The asset id of the parent of this fixed asset |
propertyTax_description |
string |
|
☐ |
The description of the property tax group of this fixed asset |
propertyTax_propertyTaxID |
string |
|
☐ |
The property tax group id of this fixed asset |
quantity |
double |
Quantity |
☐ |
The quantity of this fixed asset |
recordType |
string |
|
☐ |
The type of the record. This value is 'A' for fixed assets |
type_assetTypeID |
string |
|
☐ |
The type id of this fixed asset |
type_description |
string |
|
☐ |
The type description |
usefulLife |
double |
|
☐ |
Useful life of this fixed asset in years |
22-12-2022 21:03 Version 22.1.101-BETA+3681