SupplierAccountItemAccountsBySupplierId |
Get expense accounts for a supplier
Catalog: VismaNet
Schema: SupplierAccount
Label: {res:itgen_vnet_supplieraccountitemaccountsbysupplierid_plural}
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 SupplierAccountItemAccountsBySupplierId. 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 |
---|---|---|---|---|
linesNonTaxable |
boolean |
☐ |
|
Indicates if all lines are taxable or not. Default is false |
supplierId |
string |
☑ |
|
The id of the supplier |
vatRegistrationId |
string |
☐ |
|
The vat registration id of the supplier |
Columns of Table Function
The columns of the table function SupplierAccountItemAccountsBySupplierId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
accountID |
string |
Account ID |
☐ |
The Account ID is the actual ID of the expense account for the SupplierItemID or of the supplier if no SUpplierItemId was specified in the request. If null, this means that no account was found for the {Visma.net.ERP.Web.Api.Model.V1.SupplierItemAccountDto.SupplierItemId} |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
itemId |
string |
Item ID |
☐ |
The item id matched to the SupplierItemId. If null, this means that no itemId was found for the corresponding {Visma.net.ERP.Web.Api.Model.V1.SupplierItemAccountDto.SupplierItemId} |
subaccount_active |
boolean |
Sub Account Active 2 |
☐ |
Active > The status of the identifier. |
subaccount_description |
string |
Subaccount Description |
☐ |
Description > The description of the identifier. |
subaccount_errorInfo |
string |
Sub Account Error Message |
☐ |
|
subaccount_lastModifiedDateTime |
datetime |
Sub Account Last Modified |
☐ |
System generated information. |
subaccount_metadata_maxPageSize |
int64 |
Sub Account Metadata Max Pagesize |
☐ |
|
subaccount_metadata_totalCount |
int64 |
Sub Account Metadata Total Count |
☐ |
|
subaccount_subaccountId |
int32 |
Sub Account ID |
☐ |
SubID > The identifier of the subaccount. |
subaccount_subaccountNumber |
string |
Sub Account Number |
☐ |
Mandatory field: Subaccount* > The subaccount number. Format 9-XX. |
supplierAccount_accountID |
string |
{res:itgen_vnet_supplieraccount_accountid} |
☐ |
The default Expense Account ID for the supplier |
supplierAccount_name |
string |
{res:itgen_vnet_supplieraccount_name} |
☐ |
The supplier name |
supplierAccount_number |
string |
{res:itgen_vnet_supplieraccount_number} |
☐ |
The supplier number |
supplierAccount_subaccount_active |
boolean |
{res:itgen_vnet_supplieraccount_subaccount_active} |
☐ |
Active > The status of the identifier. |
supplierAccount_subaccount_description |
string |
{res:itgen_vnet_supplieraccount_subaccount_description} |
☐ |
Description > The description of the identifier. |
supplierAccount_subaccount_errorInfo |
string |
{res:itgen_vnet_supplieraccount_subaccount_errorinfo} |
☐ |
|
supplierAccount_subaccount_lastModifiedDateTime |
datetime |
{res:itgen_vnet_supplieraccount_subaccount_lastmodifieddatetime} |
☐ |
System generated information. |
supplierAccount_subaccount_metadata_maxPageSize |
int64 |
{res:itgen_vnet_supplieraccount_subaccount_metadata_maxpagesize} |
☐ |
|
supplierAccount_subaccount_metadata_totalCount |
int64 |
{res:itgen_vnet_supplieraccount_subaccount_metadata_totalcount} |
☐ |
|
supplierAccount_subaccount_subaccountId |
int32 |
{res:itgen_vnet_supplieraccount_subaccount_subaccountid} |
☐ |
SubID > The identifier of the subaccount. |
supplierAccount_subaccount_subaccountNumber |
string |
{res:itgen_vnet_supplieraccount_subaccount_subaccountnumber} |
☐ |
Mandatory field: Subaccount* > The subaccount number. Format 9-XX. |
supplierItemId |
string |
{res:itgen_vnet_supplieritemid} |
☐ |
The supplier item id for which the account is displayed. |
23-06-2025 19:16 Version 24.1.116-BETA+5455