ContractUsageSpecificTransactionByContractId: Visma.net Financials Contract Usage Specific Transaction by Contract ID |
Get a specific Contract Usage
Catalog: VismaNet
Schema: ContractUsage
Label: Contract Usage Specific Transaction by Contract ID
This is a read-only table function. The Visma.net Financials API may not support changing the data or the Invantive UniversalSQL 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 ContractUsageSpecificTransactionByContractId. 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 |
---|---|---|---|---|
contractId |
string |
☑ |
|
Identify the Contract Usage |
Columns of Table Function
The columns of the table function ContractUsageSpecificTransactionByContractId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
billed |
boolean |
Billed |
☐ |
Information indicating that the contract is collected from the Transaction history tab and the contract is invoiced. Not indicated on screen CT303000. |
billingDate |
datetime |
Billing Date |
☐ |
Transaction history tab > Invoicing date > The date when the invoice was issued. |
branch_name |
string |
Branch Name |
☐ |
Click the magnifier. > The name. |
branch_number |
string |
Branch Number |
☐ |
Click the magnifier. > The identifier. |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
contract |
string |
Contract |
☐ |
|
date |
datetime |
Date |
☐ |
Mandatory field: Both tabs > Date* > The date of the activity, case, applied labour, or other usage (for the item). |
description |
string |
Description |
☐ |
Both tabs > Description > A description of the non-stock item. |
item_description |
string |
{res:itgen_vnet_item_description} |
☐ |
Name of item/description |
item_number |
string |
{res:itgen_vnet_item_number} |
☐ |
Number of item |
lastModifiedDateTime_2 |
datetime |
Last Modified Date/Time 2 |
☐ |
|
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
A system generated date/time that indicates the last change for the document. |
quantity |
double |
Quantity |
☐ |
Both tabs > Quantity > A number of units used for the item. |
referenceNbr |
string |
Reference Number |
☐ |
Transaction history tab > Ref. no. > The reference number of the document/invoice. |
transactionNumber |
int32 |
{res:itgen_vnet_transactionnumber} |
☐ |
|
type |
string |
Type |
☐ |
Transaction history tab > Type > The type of the customer ledger document. |
uom |
string |
Unit of Measure |
☐ |
Both tabs > UoM > The unit of measure used for the item. |
23-06-2025 19:16 Version 24.1.116-BETA+5455