Table "Payment Registration Buffer"
Table 981 "Payment Registration Buffer" serves as a temporary buffer for payment registration operations. Stores customer ledger entry information for the payment registration workspace, enabling quick payment entry and batch processing. Supports both individual and lump payment scenarios.
Remarks
Used exclusively as a temporary table (ReplicateData = false) for payment registration UI. Integrates with customer ledger entries and supports payment tolerance and discount calculations. Provides extensibility through integration events for custom payment processing logic.
Properties
| Name | Value |
|---|---|
| Caption | Payment Registration Buffer |
| ReplicateData | False |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Ledger Entry No." | Integer | Customer ledger entry number that this buffer record represents. |
| "Source No." | Code[20] | Customer number or source account number for the payment. |
| "Document Type" | Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type" | Document type of the customer ledger entry. |
| "Document No." | Code[20] | Document number of the customer ledger entry. |
| Description | Text[100] | Description of the customer ledger entry. |
| "Due Date" | Date | Due date of the customer ledger entry. |
| Name | Text[100] | Customer name associated with the payment. |
| "Remaining Amount" | Decimal | Remaining amount to be paid on the customer ledger entry. |
| "Payment Made" | Boolean | Indicates whether a payment has been made for this entry. |
| "Date Received" | Date | Date when the payment was received. |
| "Amount Received" | Decimal | Amount received for this payment entry. |
| "Original Remaining Amount" | Decimal | Original remaining amount before any payment processing. |
| "Rem. Amt. after Discount" | Decimal | Remaining amount after applying payment discount. |
| "Pmt. Discount Date" | Date | Payment discount date for this customer ledger entry. |
| "Limit Amount Received" | Boolean | Indicates whether the amount received should be limited to maximum allowable amount. |
| "Payment Method Code" | Code[10] | Payment method code used for this payment registration. |
| "Bal. Account Type" | Enum Microsoft.Bank.Payment."Payment Balance Account Type" | Type of balancing account for the payment (G/L Account or Bank Account). |
| "Bal. Account No." | Code[20] | Number of the balancing account for the payment. |
| "External Document No." | Code[35] | External document number for the payment registration. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
PopulateTable
procedure PopulateTable()
Navigate
procedure Navigate()
Reload
procedure Reload()
GetPmtDiscStyle
procedure GetPmtDiscStyle(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetDueDateStyle
procedure GetDueDateStyle(): Text
Returns
| Type | Description |
|---|---|
| Text |
GetWarning
procedure GetWarning(): Text
Returns
| Type | Description |
|---|---|
| Text |
Events
OnPopulateTableOnBeforeInsert
Integration event raised before inserting a payment registration buffer record during table population. Enables custom modifications to buffer data before record insertion.
[IntegrationEvent(False,False)]
local procedure OnPopulateTableOnBeforeInsert(var PaymentRegistrationBuffer: Record "Payment Registration Buffer", CustLedgerEntry: Record "Cust. Ledger Entry")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentRegistrationBuffer | Table Microsoft.Bank.Payment."Payment Registration Buffer" |
Payment registration buffer record being inserted |
| CustLedgerEntry | Table Microsoft.Sales.Receivables."Cust. Ledger Entry" |
Source customer ledger entry for the buffer record |
OnPopulateTableOnAfterCustLedgerEntrySetFilters
Integration event raised after applying filters to customer ledger entries during table population. Enables custom filter modifications for payment registration processing.
[IntegrationEvent(False,False)]
local procedure OnPopulateTableOnAfterCustLedgerEntrySetFilters(var CustLedgerEntry: Record "Cust. Ledger Entry", var PaymentRegistrationBuffer: Record "Payment Registration Buffer")
Parameters
| Name | Type | Description |
|---|---|---|
| CustLedgerEntry | Table Microsoft.Sales.Receivables."Cust. Ledger Entry" |
Customer ledger entry with applied filters |
| PaymentRegistrationBuffer | Table Microsoft.Bank.Payment."Payment Registration Buffer" |
Payment registration buffer context |
OnRestoreUserValuesOnBeforeModify
Integration event raised before modifying a payment registration buffer record during user value restoration. Enables custom logic before restoring user-entered payment values.
[IntegrationEvent(False,False)]
local procedure OnRestoreUserValuesOnBeforeModify(var PaymentRegistrationBuffer: Record "Payment Registration Buffer", var TempSavePmtRegnBuf: Record "Payment Registration Buffer" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentRegistrationBuffer | Table Microsoft.Bank.Payment."Payment Registration Buffer" |
Payment registration buffer record being modified |
| TempSavePmtRegnBuf | Table Microsoft.Bank.Payment."Payment Registration Buffer" |
Temporary buffer containing saved user values |
OnBeforeGetDueDateStyle
Integration event raised before determining the due date style for payment registration display. Enables custom styling logic for due date visualization.
[IntegrationEvent(False,False)]
local procedure OnBeforeGetDueDateStyle(var PaymentRegistrationBuffer: Record "Payment Registration Buffer", var ReturnValue: Text, var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentRegistrationBuffer | Table Microsoft.Bank.Payment."Payment Registration Buffer" |
Payment registration buffer record |
| ReturnValue | Text |
Style value to be returned |
| IsHandled | Boolean |
Set to true to skip standard style determination |