CustomerPaymentsRefund
Read, Insert and Update Vendor Credit Refunds.
Table Specific Information
Select
The component uses the Zoho Books API to process WHERE clause conditions built with the following columns and operators:
- PaymentId supports the '=' comparison.
- PaymentRefundId supports the '=' comparison.
The rest of the filter is executed client-side within the component.
For example, the following queries are processed server-side:
SELECT * FROM CustomerPaymentsRefund WHERE PaymentId = '3350895000000089001' SELECT * FROM CustomerPaymentsRefund WHERE PaymentRefundId = '3285934000000441001'
Insert
INSERT can be executed by specifying the Amount, Date, FromAccountId, and VendorCreditId columns. The columns that are not read-only can be inserted optionally. The following is an example of how to insert into this table.
INSERT INTO CustomerPaymentsRefund (Date, Amount, FromAccountId, PaymentId) VALUES ('2023-02-27', '1200', 3285934000000259036, 3285934000000312117)
Update
UPDATE can be executed by specifying the Amount, Date and AccountId in the WHERE Clause. The columns that are not read-only can be updated.
For example:
UPDATE CustomerPaymentsRefund SET Description = 'test2' WHERE PaymentRefundId = 3285934000000439001 AND PaymentId = 3285934000000234015
Delete
DELETE can be executed by specifying the Id in the WHERE Clause
For example:
DELETE FROM CustomerPaymentsRefund WHERE PaymentRefundId = 3285934000000439001 AND PaymentId = 3285934000000234015
Columns
Name | Type | ReadOnly | References | SupportedOperators | Description |
PaymentRefundId [KEY] | String | True | = |
Payment Refund Id. | |
PaymentId [KEY] | String | False |
CustomerPayments.PaymentId | = |
Payment Id. |
Amount | Integer | False |
Amount. | ||
FromAccountId | String | False |
From Account Id. | ||
AmountBcy | Integer | True |
Amount BCY. | ||
AmountFcy | Integer | True |
Amount FCY. | ||
CustomerName | String | True |
Customer Name. | ||
Date | Date | False |
Date. | ||
Description | String | False |
Description. | ||
ExchangeRate | Decimal | False |
Exchange Rate. | ||
ReferenceNumber | String | False |
Reference Number. | ||
RefundMode | String | False |
Refund Mode. | ||
PaymentForm | String | False |
Payment Form. | ||
PaymentNumber | String | True |
Payment Number. |