SupplierAccountBysupplierId_SupplierItemAccountsSubAccountSegments |
Get expense accounts for a supplier
Catalog: VismaNet
Schema: SupplierAccount
Label: {res:itgen_vnet_supplieraccountbysupplierid_supplieritemaccountssubaccountsegments_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 SupplierAccountBysupplierId_SupplierItemAccountsSubAccountSegments. 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 SupplierAccountBysupplierId_SupplierItemAccountsSubAccountSegments 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} |
active |
boolean |
Active |
☐ |
Active > The status of the identifier. |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
description |
string |
Description |
☐ |
Description > The description of the identifier. |
errorInfo |
string |
Error Message |
☐ |
|
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} |
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
System generated information. |
metadata_maxPageSize |
int64 |
Metadata Max Pagesize |
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
segmentDescription |
string |
{res:itgen_vnet_segmentdescription} |
☐ |
The Segment values window > The Top part > The description of the segment. |
segmentId |
int32 |
Segment ID |
☐ |
The Segment values window > The Top part > The ID of the segment. |
segmentValue |
string |
Segment Value |
☐ |
The Segment values window > The table > The value of the segment, alphanumeric. |
segmentValueDescription |
string |
Segment Value Description |
☐ |
The Segment values window > The table > The description of the segment value. |
subaccountId |
int32 |
{res:itgen_vnet_subaccountid} |
☐ |
SubID > The identifier of the subaccount. |
subaccountNumber |
string |
{res:itgen_vnet_subaccountnumber} |
☐ |
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_active |
boolean |
{res:itgen_vnet_supplieraccount_active} |
☐ |
Active > The status of the identifier. |
supplierAccount_description |
string |
{res:itgen_vnet_supplieraccount_description} |
☐ |
Description > The description of the identifier. |
supplierAccount_errorInfo |
string |
{res:itgen_vnet_supplieraccount_errorinfo} |
☐ |
|
supplierAccount_lastModifiedDateTime |
datetime |
{res:itgen_vnet_supplieraccount_lastmodifieddatetime} |
☐ |
System generated information. |
supplierAccount_metadata_maxPageSize |
int64 |
{res:itgen_vnet_supplieraccount_metadata_maxpagesize} |
☐ |
|
supplierAccount_metadata_totalCount |
int64 |
{res:itgen_vnet_supplieraccount_metadata_totalcount} |
☐ |
|
supplierAccount_name |
string |
{res:itgen_vnet_supplieraccount_name} |
☐ |
The supplier name |
supplierAccount_number |
string |
{res:itgen_vnet_supplieraccount_number} |
☐ |
The supplier number |
supplierAccount_segmentDescription |
string |
{res:itgen_vnet_supplieraccount_segmentdescription} |
☐ |
The Segment values window > The Top part > The description of the segment. |
supplierAccount_segmentId |
int32 |
{res:itgen_vnet_supplieraccount_segmentid} |
☐ |
The Segment values window > The Top part > The ID of the segment. |
supplierAccount_segmentValue |
string |
{res:itgen_vnet_supplieraccount_segmentvalue} |
☐ |
The Segment values window > The table > The value of the segment, alphanumeric. |
supplierAccount_segmentValueDescription |
string |
{res:itgen_vnet_supplieraccount_segmentvaluedescription} |
☐ |
The Segment values window > The table > The description of the segment value. |
supplierAccount_subaccountId |
int32 |
{res:itgen_vnet_supplieraccount_subaccountid} |
☐ |
SubID > The identifier of the subaccount. |
supplierAccount_subaccountNumber |
string |
{res:itgen_vnet_supplieraccount_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