ADO.NET Provider for Reckon

Build 24.0.9062

ReceivePaymentsAppliedTo

Create, update, and query Reckon Receive Payment AppliedTo aggregates. In a Receive Payment, each AppliedTo aggregate represents the transaction to which this part of the payment is being applied.

Table Specific Information

ReceivePayments may be inserted, queried, or updated via the ReceivePayments or ReceivePaymentsAppliedTo tables. ReceivePayments may be deleted by using the ReceivePayments table.

This table has a Custom Fields column. See the Custom Fields page for more information.

Select

By default, SupportEnhancedSQL is set to true, and the following will be honored if present. Other filters will be executed client side. If SupportEnhancedSQL is set to false, only the following filters will be honored.

Reckon allows only a small subset of columns to be used in the WHERE clause of a SELECT query. These columns can typically be used with only the equals or = comparison. The available columns for ReceivePayments are Id, Date, TimeModified, ReferenceNumber, CustomerName, CustomerId, DepositToAccountName, and DepositToAccountId. TimeModified and Date may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. ReferenceNumber may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:

SELECT * FROM ReceivePaymentsAppliedTo WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND ReferenceNumber LIKE '%12345%'

Insert

To add a ReceivePayment, specify the Customer and the Amount. All AppliedTo columns can be used to explicitly identify the transactions the payment is applied to. An AppliedTo entry must at the minimum specify the AppliedToRefId and AppliedToPaymentAmount. Optionally, the INSERT may specify the AutoApply behavior.

For example, the following will insert a new ReceivePayment with two AppliedTo entries:

INSERT INTO ReceivePaymentsAppliedTo#TEMP (CustomerName, AppliedToAmount, AutoApply, AppliedToRefId, AppliedToPaymentAmount) VALUES ('Cook, Brian', '300.00', 'Custom', '178C1-1450221347', '200.00')
INSERT INTO ReceivePaymentsAppliedTo#TEMP (CustomerName, AppliedToAmount, AutoApply, AppliedToRefId, AppliedToPaymentAmount) VALUES ('Cook, Brian', '300.00', 'Custom', '881-933371709', '100.00')
INSERT INTO ReceivePaymentsAppliedTo (CustomerName, AppliedToAmount, AutoApply, AppliedToRefId, AppliedToPaymentAmount) SELECT CustomerName, AppliedToAmount, AutoApply, AppliedToRefId, AppliedToPaymentAmount FROM ReceivePaymentsAppliedTo#TEMP

If you would like to insert a ReceivePayment and let Reckon automatically determine which transaction to apply it to, you can use the AutoApply pseudo column to apply the transaction to an existing transaction. For example:

INSERT INTO ReceivePaymentsAppliedTo (CustomerName, Amount, AutoApply) VALUES ('Cook, Brian', '300.00', 'ExistingTransactions')

Columns

Name Type ReadOnly References Description
ID [KEY] String True

The unique identifier in the format ReceivePaymentId|AppliedToRefId.

ReceivePaymentId String False

ReceivePayments.ID

The Id of the bill-payment transaction.

ReferenceNumber String False

The transaction reference number. This may be set to refnumber*, *refnumber, and *refnumber* in the WHERE clause of a SELECT statement to search by StartsWith, EndsWith, and Contains. Refnum1:refnum2, refnum1:, and :refnum1 may also be used to denote a range.

TxnNumber Integer True

The transaction number. An identifying number for the transaction, different from the Reckon-generated Id.

Date Date False

The date of the transaction.

UnusedPayment Double True

This property will contain the amount of the payment that was not applied to existing invoices.

Amount Double False

The amount of the payment received from the Customer.

AccountsReceivableName String False

Accounts.FullName

A reference to the name of the accounts-receivable account where the money received from this transaction will be deposited.

AccountsReceivableId String False

Accounts.ID

A reference to the Id of the accounts-receivable account where the money received from this transaction will be deposited.

CustomerName String False

Customers.FullName

The name of the customer who has purchased goods or services from the company. This is required to have a value when inserting if CustomerId is not defined.

CustomerId String False

Customers.ID

The Id of the customer who has purchased goods or services from the company. This is required to have a value when inserting if CustomerName is not defined.

DepositToAccountName String False

Accounts.FullName

The account name that the payment should be deposited to.

DepositToAccountId String False

Accounts.ID

The account Id that the payment should be deposited to.

PaymentMethodName String False

PaymentMethods.Name

Name of a payment method that already exists in Reckon.

PaymentMethodId String False

PaymentMethods.ID

Id of a payment method that already exists in Reckon.

Memo String False

A memo to appear on internal reports.

AutoApply String False

How the payment should be applied.

使用できる値は次のとおりです。ExistingTransactions, FutureTransactions, Custom

デフォルト値はExistingTransactionsです。

CustomFields String False

Custom fields returned from Reckon and formatted into XML.

AppliedToRefId String False

The applied-to reference identifier. This is the Id of an existing transaction that a payment can be applied to such as a JournalEntry, or an Invoice.

AppliedToAmount Double True

The amount to be applied.

AppliedToBalanceRemaining Double True

The balance remaining to be applied.

AppliedToCreditAppliedAmount Double False

The credit applied amount to be applied.

AppliedToCreditMemoId String False

CreditMemos.ID

The credit memo Id to be applied.

AppliedToDiscountAccountName String False

Accounts.FullName

The discount account name to be applied.

AppliedToDiscountAccountId String False

Accounts.ID

The discount account Id to be applied.

AppliedToDiscountAmount Double False

The discount amount to be applied.

AppliedToPaymentAmount Double False

The payment amount to be applied.

AppliedToReferenceNumber String True

The ref number to be applied.

AppliedToTxnDate Date True

The transaction date to be applied.

AppliedToTxnType String True

The transaction type that was applied.

TimeModified Datetime True

When the receive payment was last modified.

TimeCreated Datetime True

When the receive payment was created.

Pseudo-Columns

Pseudo Column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
StartTxnDate String

Earliest transaction date to search for.

EndTxnDate String

Latest transaction date to search for.

StartModifiedDate String

Earliest modified date to search for.

EndModifiedDate String

Latest modified date to search for.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062