Table of Contents

Table "Apply Unapply Parameters"

ID 579
Namespace: Microsoft.Finance.ReceivablesPayables

Stores parameters for apply and unapply operations on customer, vendor, and employee ledger entries. Temporary table used to pass ledger entry information between application procedures.

Remarks

Used by application engines to maintain consistent data during payment application and reversal operations. Supports customer, vendor, and employee ledger entry processing with journal integration. Provides extensibility through integration events for custom application logic.

Properties

Name Value
Caption Apply Unapply Parameters
TableType Temporary
DataClassification CustomerContent

Fields

Name Type Description
"Entry No." Integer

Entry number from the source ledger entry.

"Account Type" Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Account Type"

Account type for the apply/unapply operation.

"Account No." Code[20]

Account number for customer, vendor, or employee.

"Posting Date" Date

Posting date from the source ledger entry.

"Document Type" Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type"

Document type from the source ledger entry.

"Document No." Code[20]

Document number from the source ledger entry.

"Journal Template Name" Code[10]

Journal template name for posting the apply/unapply operation.

"Journal Batch Name" Code[10]

Journal batch name for posting the apply/unapply operation.

"External Document No." Code[35]

External document number from the source ledger entry.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

CopyFromCustLedgEntry

Copies information from a customer ledger entry to initialize apply/unapply parameters. Sets account type to customer and transfers entry details for application processing.

procedure CopyFromCustLedgEntry(CustLedgEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
CustLedgEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

Customer ledger entry to copy information from

CopyFromVendLedgEntry

Copies information from a vendor ledger entry to initialize apply/unapply parameters. Sets account type to vendor and transfers entry details for application processing.

procedure CopyFromVendLedgEntry(VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

Vendor ledger entry to copy information from

CopyFromEmplLedgEntry

Copies information from an employee ledger entry to initialize apply/unapply parameters. Sets account type to employee and transfers entry details for application processing.

procedure CopyFromEmplLedgEntry(EmplLedgEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
EmplLedgEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

Employee ledger entry to copy information from

Events

OnAfterCopyFromCustLedgerEntry

Integration event raised after copying data from customer ledger entry. Enables custom field mapping and validation for customer-specific parameters.

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromCustLedgerEntry(var PostApplyParameters: Record "Apply Unapply Parameters"; CustLedgerEntry: Record "Cust. Ledger Entry")

Parameters

Name Type Description
PostApplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"

Apply/unapply parameters record being populated

CustLedgerEntry Table Microsoft.Sales.Receivables."Cust. Ledger Entry"

Source customer ledger entry

OnAfterCopyFromVendLedgerEntry

Integration event raised after copying data from vendor ledger entry. Allows custom field mapping and validation for vendor-specific parameters.

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromVendLedgerEntry(var PostApplyParameters: Record "Apply Unapply Parameters"; VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
PostApplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"

Apply/unapply parameters record being populated

VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

Source vendor ledger entry

OnAfterCopyFromEmplLedgerEntry

Integration event raised after copying data from employee ledger entry. Enables custom field mapping and validation for employee-specific parameters.

[IntegrationEvent(False,False)]
local procedure OnAfterCopyFromEmplLedgerEntry(var PostApplyParameters: Record "Apply Unapply Parameters"; EmployeeLedgerEntry: Record "Employee Ledger Entry")

Parameters

Name Type Description
PostApplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"

Apply/unapply parameters record being populated

EmployeeLedgerEntry Table Microsoft.HumanResources.Payables."Employee Ledger Entry"

Source employee ledger entry

See also