SupplierPaymentLinesByNumber: Visma.net Financials Supplier Payment Lines by Number |
Get a specific SupplierPayment
Catalog: VismaNet
Schema: SupplierPayment
Label: Supplier Payment Lines by Number
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 SupplierPaymentLinesByNumber. 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. |
paymentNumber |
string |
☑ |
|
Identifies the SupplierPayment |
Columns of Table Function
The columns of the table function SupplierPaymentLinesByNumber are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
amountPaid |
double |
Amount Paid |
☐ |
|
applicationDate |
datetime |
Application Date |
☐ |
Mandatory field: The top part > Date* > The date when the payment is applied. The default value is the current business date. |
applicationPeriod_1 |
string |
|
☐ |
MAndatory field: The top part > Financial period* > The financial period of payment application. |
applicationPeriod |
string |
Application Period |
☐ |
|
appliedAmount |
double |
|
☐ |
The top part > Amount > The amount to be applied on the application date. |
balance |
double |
Balance |
☐ |
|
batchNumber |
string |
Batch Number |
☐ |
|
branch_1 |
string |
|
☐ |
|
branch |
string |
Branch |
☐ |
|
cashAccount |
string |
Cash Account |
☐ |
Mandatory field: The top part > Cash account* > The cash account associated with the payment method. |
cashDiscountBalance |
double |
|
☐ |
|
cashDiscountDate |
datetime |
Cash Discount Date |
☐ |
|
cashDiscountTaken |
double |
|
☐ |
|
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
currency_1_decimalPrecision |
int32 |
|
☐ |
Decimal precision. |
currency_1_description |
string |
|
☐ |
Currency description. |
currency_1_id |
string |
|
☐ |
Currency Id. |
currency_1_isBaseCurrency |
boolean |
|
☐ |
Identify if the currency is the base currency. |
currency_1_isUsedForAccounting |
boolean |
|
☐ |
Identify if is used for accounting. |
currency_1_symbol |
string |
|
☐ |
Currency symbol. |
currency |
string |
Currency |
☐ |
|
date |
datetime |
Date |
☐ |
|
description_1 |
string |
|
☐ |
The top part > Description > A description for the payment. You may use up to 50 alphanumeric characters. |
description |
string |
Description |
☐ |
|
docType |
string |
Document Type |
☐ |
|
documentType |
string |
Document Type |
☐ |
The top part > Voucher no. > The unique identifier of the supplier ledger document. |
dueDate |
datetime |
Due Date |
☐ |
|
errorInfo |
string |
Error Message |
☐ |
|
financeCharges |
double |
Finance Charges |
☐ |
The top part > Finance charges > The total on all finance charges applied to this document. |
hold |
boolean |
Hold |
☐ |
The top part > Hold > A check box that means (if selected) that the status of the document is On hold. |
invoiceRefNbr |
string |
|
☐ |
|
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
Background information: The date and time when the document has been last modified. |
location_countryId |
string |
Location Country ID |
☐ |
Location*. |
location_id |
string |
Location ID |
☐ |
Click the magnifier > The identifier |
location_name |
string |
Location Name |
☐ |
Click the magnifier > The displayed name |
metadata_maxPageSize |
int64 |
|
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
paymentAmount |
double |
Payment Amount |
☐ |
The top part > Payment amount > The total payment amount that should be applied to the documents. |
paymentMethod |
string |
|
☐ |
Mandatory field: The top part > Payment method* > The payment method associated with the supplier. |
paymentRef |
string |
Payment Reference |
☐ |
The top part > Payment ref. > A payment reference number. |
postPeriod |
string |
Post Period |
☐ |
|
refNbr |
string |
Reference Number |
☐ |
The top part > Voucher no. > The unique identifier of the supplier ledger document. |
released |
boolean |
Released |
☐ |
Background information: if this check box is selected, the document has been released. |
status |
string |
Status |
☐ |
The top part > Status > The status of the supplier ledger document, which can be one of the following: On Hold, Printed, Open, Reserved, Closed, Voided, Released. |
supplier_internalId |
int32 |
Supplier Internal ID |
☐ |
|
supplier_name |
string |
Supplier Name |
☐ |
The name of the particular destination of the selected type. |
supplier_number |
string |
Supplier Number |
☐ |
The identifier of the particular destination of the selected type. |
supplierRef |
string |
Supplier Reference |
☐ |
|
type |
string |
Type |
☐ |
The top part > Type >The type of supplier ledger payment document. The following types are available: Payment, PUrchase credit note, Prepayment, Supplier refund, Voided payment. |
unappliedBalance |
double |
|
☐ |
The top part > Unapplied balance > The balance that has not been applied. This will be a non-zero value if the payment amount is not equal to a document's total amount. Checks shall always have a zero unapplied balance. |
withholdingTax |
double |
|
☐ |
|
22-12-2022 21:03 Version 22.1.101-BETA+3681