Payments: Visma.net Financials Payments |
Get a range of Payments - ScreenId=AP302000Payment is deprecated, please use CustomerPayment instead.
Catalog: VismaNet
Schema: Payment
Label: Payments
Retrieve: true
Insert: true
Update: false
Delete: false
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function Payments. 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 |
---|---|---|---|---|
branch |
string |
☐ |
|
Filter by Branch |
customer |
string |
☐ |
|
Enter Customer |
docDate |
datetime |
☐ |
|
This value indicates the document date. Use it to retrieve all records that have the Document Date since that time, up to the future.Accepted format:* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```* ```yyyy-MM-dd```_Note:_ __DocDate__ and __DocDateCondition__ are __mutually inclusive__. |
docDateCondition |
string |
☐ |
|
This value represents the condition to be applied to the Document Date when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __DocDate__ and __DocDateCondition__ are __mutually inclusive__. |
financialPeriod |
string |
☐ |
|
Filter by financial period, format YYYYPP |
greaterThanValue |
string |
☐ |
|
Enter the from-value for Ref. no. |
invoiceRefNbr |
string |
☐ |
|
Enter Invoice Ref Nbr |
lastModifiedDateTime |
string |
☐ |
|
This value, generated by the system, indicates the last time the record was modified. Use it to retrieve all records that have been modified since that time, up to the present.Accepted format:* ```yyyy-MM-dd```* ```yyyy-MM-dd HH:mm:ss```* ```yyyy-MM-dd HH:mm:ss.FFF```* ```yyyy-MM-ddTHH:mm:ss```* ```yyyy-MM-ddTHH:mm:ss.FFF```_Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__. |
lastModifiedDateTimeCondition |
string |
☐ |
|
This value represents the condition to be applied when retrieving records.Accepted values (without the single quotes):* '>' for greater than* '<' for less than* '>=' for greater than or equal* '<=' for less than or equal_Note:_ __LastModifiedDateTime__ and __LastModifiedDateTimeCondition__ are __mutually inclusive__. |
orderBy |
string |
☐ |
|
Enter field to order your records by. |
paymentNbr |
string |
☐ |
|
Payment number |
paymentType |
string |
☐ |
|
Values: Payment, CreditNote, Prepayment, Refund, VoidPayment, SmallBalanceWo, VoidRefund, Undefined. |
status |
string |
☐ |
|
The status of the document. Use the dropdown to select status. (Values: Hold, Balanced, Voided, Scheduled, Open, Closed, PendingPrint, PendingEmail, CreditHold, CcHold, Reserved) |
Columns of Table Function
The columns of the table function Payments are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
applicationDate |
datetime |
Application Date |
☐ |
Mandatory field: The top part > Date* > The date when a payment is applied to a document (invoice or note). The field display the current business date for tunapplied or partially applied payments and the latest application date for the closed payment |
applicationPeriod |
string |
Application Period |
☐ |
Mandatory field: The top part > Financial period* > The period to which the payment should be applied, which the system fills in based on the date. |
appliedToDocuments |
double |
{res:itgen_vnet_appliedtodocuments} |
☐ |
The top part > Applied to documents > The total of the documents to which payment is to be applied. |
appliedToOrders |
double |
{res:itgen_vnet_appliedtoorders} |
☐ |
The top part > Applied to orders > The total of the orders for which payment is reserved, minus the amount transferred to invoice. |
availableBalance |
double |
Available Balance |
☐ |
The top part > Available balance > The amount that has not been applied. |
availableBalanceInCurrency |
double |
{res:itgen_vnet_availablebalanceincurrency} |
☐ |
Available Balance calculated in your default (base) currency. This field is applicable if the amount is given in another currency than your default. |
branch |
string |
Branch |
☐ |
|
cashAccount |
string |
Cash Account |
☐ |
Mandatory field: The top part > Cash account* > The default cash account associated with the payment method; this field is not available for credit notes. |
COMPANY_CODE |
string(30) |
Company Code |
☑ |
Partition code, segmenting the data. |
COMPANY_NAME |
string(240) |
Company Name |
☑ |
Name of the partition. |
currency |
string |
Currency |
☐ |
The top part > Currency > The currency of the payment document. |
customer_name |
string |
Customer Name |
☐ |
Click the magnifier. > The name. |
customer_number |
string |
Customer Number |
☐ |
|
deductedCharges |
double |
Deducted Charges |
☐ |
The top part > Deducted charges > The total amount of bank charges deducted by bank from the payment amount on your cash account (bank account). |
errorInfo |
string |
Error Message |
☐ |
|
financeCharges |
double |
Finance Charges |
☐ |
The top part > Finance charges > The total on all finance charges applied to this document. |
financialDetails_paymentDate |
datetime |
{res:itgen_vnet_financialdetails_paymentdate} |
☐ |
Financial Details tab > Payment date |
hold |
boolean |
Hold |
☐ |
The top part > Hold > A check box that indicates (if selected) that the document is a draft with the On hold status. This check box is unavailable for debit adjustments. |
invoiceText |
string |
Invoice Text |
☐ |
The top part > Invoice text > A user-defined description of the payment. 50 alphanumeric characters. |
lastModifiedDateTime |
datetime |
Last Modified |
☐ |
Systemgenerated information. |
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 Max Pagesize |
☐ |
|
metadata_totalCount |
int64 |
Total Count |
☐ |
|
paymentAmount |
double |
Payment Amount |
☐ |
The top part > Payment amount > The total of the payment that is entered manually. |
paymentAmountInCurrency |
double |
{res:itgen_vnet_paymentamountincurrency} |
☐ |
Payment amount calculated in your default (base) currency. This field is applicable if the amount is given in another currency than your default. |
paymentMethod_description |
string |
Payment Method Description |
☐ |
Click on the magnifier. > The description. |
paymentMethod_id |
string |
Payment Method ID |
☐ |
Click on the magnifier. > The identifier. |
paymentRef |
string |
Payment Reference |
☐ |
Mandatory field: The top part > Payment ref.* > A secondary payment reference identifier, which can be a system-generated number or an external reference number entered manually. |
refNbr |
string |
Reference Number |
☐ |
The top part > Ref.no > The unique identifier for the payment. This number is automatically generated by the system for a new payment document, based on the number seriesin the AR101000 window. |
status |
string |
Status |
☐ |
The top part > Status > The status of the customer payment, which for a new document is either Balanced or On hold. [On hold, Balanced, Voided, Scheduled, Open, Closed, Pending print, Pending email, Credit hold, CcHold, Reserved] |
type |
string |
Type |
☐ |
The top part > Type > The type of a document. The following types are available: Payment, CreditNote, Prepayment, Customer refund, Void payment, Balance write-off |
writeOffAmount |
double |
Write-off Amount |
☐ |
The top part > Write-off amount > The amount that has been written off. |
23-06-2025 19:16 Version 24.1.116-BETA+5455