FixedAssetTransactionByRefNo |
Get transactions for a specific Asset - Screen ID:FA301000
Catalog: VismaNet
Schema: FixedAssetTransaction
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 FixedAssetTransactionByRefNo. 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. |
RefNo |
string |
☑ |
|
Identifies the fixed asset by reference number |
Columns of Table Function
The columns of the table function FixedAssetTransactionByRefNo are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
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 |
assetID |
string |
|
☐ |
The asset id this fixed asset transaction belongs to |
batchNo |
string |
|
☐ |
The batch number of the general ledger transaction for this fixed asset transaction |
bookID |
string |
|
☐ |
The book id for this fixed asset transaction |
branchID |
string |
|
☐ |
The branch id for this fixed asset transaction |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
errorInfo |
string |
Error Message |
☐ |
|
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
A system generated date/time that indicates the last change for this fixed asset transaction |
lineNo |
int32 |
|
☐ |
The line number of this fixed asset transaction |
metadata_maxPageSize |
int64 |
|
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
origin |
string |
|
☐ |
The origin of this fixed asset transaction. Origin can be |
refNo |
string |
|
☐ |
The referance number for this fixed asset transaction |
register_documentDate |
datetime |
|
☐ |
The document date for this fixed asset transaction |
register_hold |
boolean |
|
☐ |
Indecates whether this fixed asset transaction is on hold or not |
register_status |
string |
|
☐ |
Status can be |
transactionAmount |
double |
|
☐ |
The amount of this fixed asset transaction |
transactionDate |
datetime |
|
☐ |
The transaction date for this fixed asset transaction |
transactionDescription |
string |
|
☐ |
The description of this fixed asset transaction |
transactionPeriodID |
string |
|
☐ |
The transaction period id for this fixed asset transaction |
transactionType |
string |
|
☐ |
Type can be |
22-12-2022 21:03 Version 22.1.101-BETA+3681