pagePurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Page 233 "Apply Vendor Entries"

Base Application · Microsoft.Purchases.Payables

Across versions

  1. BC23present
  2. BC241 procedures added, 1 events changed
  3. BC25unchanged
  4. BC263 events added, 1 events removed
  5. BC27unchanged
  6. BC283 events added, 3 events removed
  7. BC29-30unchanged

Neighbourhood 11 connected objects and pages

Table 25 "Vendor Ledger Entry" (relates to)Vendor Ledger EntryCodeunit 113 "Vend. Entry-Edit" (calls, 3 links)Vend. Entry-EditCodeunit 227 "VendEntry-Apply Posted Entries" (calls, 3 links)VendEntry-Apply Posted EntriesCodeunit 426 "Payment Tolerance Management" (calls, 3 links)Payment Tolerance ManagementCodeunit 111 "Vend. Entry-SetAppl.ID" (calls)Vend. Entry-SetAppl.IDCodeunit 1630 "Office Management" (calls)Office ManagementCodeunit 225 "Gen. Jnl.-Apply" (calls)Gen. Jnl.-ApplyCodeunit 366 "Exchange Acc. G/L Journal Line" (calls)Exchange Acc. G/L Journal LineCodeunit 90 "Purch.-Post" (calls)Purch.-PostReconcile vendor payment receipts or refunds in the payment journal (Learn pages)Reconcile vendor payment rec…Record payments and refunds in payment journals (Learn pages)Record payments and refunds …

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Purchases.Payables · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Caption Apply Vendor Entries
SourceTable Vendor Ledger Entry
PageType Worksheet

Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).

Group Control Shows ToolTip
General Posting Date TempApplyingVendLedgEntry."Posting Date" Specifies the posting date of the entry to be applied. This date is used to find the correct exchange rate when applying entries in different currencies.
Document Type TempApplyingVendLedgEntry."Document Type" Specifies the document type of the entry to be applied.
Document No. TempApplyingVendLedgEntry."Document No." Specifies the document number of the entry to be applied.
Vendor No. TempApplyingVendLedgEntry."Vendor No." Specifies the vendor number of the entry to be applied.
Vendor Name TempApplyingVendLedgEntry."Vendor Name" Specifies the vendor name of the entry to be applied.
Description TempApplyingVendLedgEntry.Description Specifies the description of the entry to be applied.
Currency Code TempApplyingVendLedgEntry."Currency Code" Specifies the code for the currency that amounts are shown in.
Amount TempApplyingVendLedgEntry.Amount Specifies the amount on the entry to be applied.
Remaining Amount TempApplyingVendLedgEntry."Remaining Amount" Specifies the amount on the entry to be applied.
Control1 AppliesToID Applies-to ID Specifies the ID of entries that will be applied to when you choose the Apply Entries action. from the table field
Posting Date Posting Date Specifies the vendor entry’s posting date. from the table field
Document Type Document Type Specifies the document type that the vendor entry belongs to. from the table field
Document No. Document No. Specifies the vendor entry’s document number. from the table field
External Document No. External Document No. Specifies a document number that refers to the customer’s or vendor’s numbering system. from the table field
Vendor No. Vendor No. Specifies the number of the vendor account that the entry is linked to. from the table field
Vendor Name Vendor Name Specifies the name of the vendor account that the entry is linked to. from the table field
Description Description Specifies a description of the vendor entry. from the table field
Currency Code Currency Code Specifies the currency code for the amount on the line. from the table field
Original Amount Original Amount Specifies the amount of the original entry. from the table field
Amount Amount Specifies the amount of the entry. from the table field
Debit Amount Debit Amount Specifies the total of the ledger entries that represent debits. from the table field
Credit Amount Credit Amount Specifies the total of the ledger entries that represent credits. from the table field
Remaining Amount Remaining Amount Specifies the amount that remains to be applied to before the entry is totally applied to. from the table field
Appln. Remaining Amount CalcApplnRemainingAmount(Rec."Remaining Amount") Specifies the amount that remains to be applied to before the entry is totally applied to.
Amount to Apply Amount to Apply Specifies the amount to apply. from the table field
Appln. Amount to Apply CalcApplnAmountToApply(Rec."Amount to Apply") Specifies the amount to apply.
Due Date Due Date Specifies the due date on the entry. from the table field
Pmt. Discount Date Pmt. Discount Date Specifies the date on which the amount in the entry must be paid for a payment discount to be granted. from the table field
Pmt. Disc. Tolerance Date Pmt. Disc. Tolerance Date Specifies the latest date the amount in the entry must be paid in order for payment discount tolerance to be granted. from the table field
Payment Reference Payment Reference Specifies the payment of the purchase invoice. from the table field
Original Pmt. Disc. Possible Original Pmt. Disc. Possible Specifies the discount that you can obtain if the entry is applied to before the payment discount date. from the table field
Remaining Pmt. Disc. Possible Remaining Pmt. Disc. Possible Specifies the remaining payment discount which can be received if the payment is made before the payment discount date. from the table field
Appln. Pmt. Disc. Possible CalcApplnRemainingAmount(Rec."Remaining Pmt. Disc. Possible") Specifies the discount that you can obtain if the entry is applied to before the payment discount date.
Max. Payment Tolerance Max. Payment Tolerance Specifies the maximum tolerated amount the entry can differ from the amount on the invoice or credit memo. from the table field
Open Open Specifies whether the amount on the entry has been fully paid or there is still a remaining amount that must be applied to. from the table field
Positive Positive Specifies if the entry to be applied is positive. from the table field
Remit-to Code Remit-to Code Specifies the address for the remit-to code. from the table field
Global Dimension 1 Code Global Dimension 1 Code Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. from the table field
Global Dimension 2 Code Global Dimension 2 Code Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. from the table field
Appln. Currency ApplnCurrencyCode ApplnCurrencyCode Specifies the currency code that the amount will be applied in, in case of different currencies.
Amount to Apply Amount to Apply AppliedAmount Specifies the sum of the amounts on all the selected vendor ledger entries that will be applied by the entry shown in the Available Amount field. The amount is in the currency represented by the code in the Currency Code field.
Pmt. Disc. Amount Pmt. Disc. Amount -PmtDiscAmount Specifies the sum of the payment discount amounts granted on all the selected vendor ledger entries that will be applied by the entry shown in the Available Amount field. The amount is in the currency represented by the code in the Currency Code field.
Rounding Rounding ApplnRounding Specifies the rounding difference when you apply entries in different currencies to one another. The amount is in the currency represented by the code in the Currency Code field.
Applied Amount Applied Amount AppliedAmount + (-PmtDiscAmount) + ApplnRounding Specifies the sum of the amounts in the Amount to Apply field, Pmt. Disc. Amount field, and the Rounding. The amount is in the currency represented by the code in the Currency Code field.
Available Amount Available Amount ApplyingAmount Specifies the amount of the journal entry, purchase credit memo, or current vendor ledger entry that you have selected as the applying entry.
Balance Balance AppliedAmount + (-PmtDiscAmount) + ApplyingAmount + ApplnRounding Specifies any extra amount that will remain after the application.

Actions

Group Action ToolTip Runs
Entry Applied Entries View the ledger entries that have been applied to this record. Page 62 “Applied Vendor Entries”
Dimensions View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history.
Detailed Ledger Entries View a summary of the all posted entries and adjustments related to a specific vendor ledger entry. Page 574 “Detailed Vendor Ledg. Entries”
Find entries… Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.)
Application Set Applies-to ID Set the Applies-to ID field on the posted entry to automatically be filled in with the document number of the entry in the journal.
Post Application Define the document number of the ledger entry to use to perform the application. In addition, you specify the Posting Date for the application.
Preview Posting Review the different types of entries that will be created when you post the document or journal.
Show Only Selected Entries to Be Applied View the selected ledger entries that will be applied to the specified record.
Processing Show Posted Document Show details for the posted payment, invoice, or credit memo.
Show Document Attachment View documents or images that are attached to the posted invoice or credit memo.

Events published

  • OnAfterCalcApplnAmount(VendorLedgerEntry: Record "Vendor Ledger Entry"; var AppliedAmount: Decimal; var ApplyingAmount: Decimal; CalcType: Enum "Vendor Apply Calculation Type"; var AppliedVendLedgEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line") (integration)
  • OnAfterCalcApplnAmountToApply(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnAmountToApply: Decimal; var ApplnAmtToApply: Decimal) (integration)
  • OnAfterCalcApplnRemainingAmount(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnRemainingAmount: Decimal) (integration)
  • OnAfterExchangeLedgerEntryAmounts(var CalcVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; PostingDate: Date) + BC28 − BC28 (integration)
  • OnAfterOpenPage(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplyingVendLedgEntry: Record "Vendor Ledger Entry") (integration)
  • OnAfterSetApplyingVendLedgEntry(var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; PurchaseHeader: Record "Purchase Header"; CalcType: Enum "Vendor Apply Calculation Type") (integration)
  • OnBeforeCallVendEntrySetApplIDSetApplId(VendEntrySetApplID: Codeunit "Vend. Entry-SetAppl.ID"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean) (integration)
  • OnBeforeCalcApplnAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line"; PurchaseHeader: record "Purchase Header"; AppliedVendLedgEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; ApplnType: Enum "Vendor Apply-to Type"; var IsHandled: Boolean; ApplnDate: Date; ApplnCurrencyCode: Code[10]; AmountRoundingPrecision: Decimal; var AppliedAmount: Decimal; ApplnRoundingPrecision: Decimal; var PmtDiscAmount: Decimal; var DifferentCurrenciesInAppln: Boolean; var ApplnRounding: Decimal; ApplyingAmount: Decimal) + BC28 − BC28 (integration)
  • OnBeforeCheckActionPerformed(ActionPerformed: Boolean; OK: Boolean; CalcType: Option Direct,GenJnlLine,PurchHeader; PostingDone: Boolean; ApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; ApplnType: Option " ","Applies-to Doc. No.","Applies-to ID"; var Result: Boolean; var IsHandled: Boolean; AppliesToID: Code[50]) (integration)
  • OnFindApplyingEntryOnBeforeCalcApplnAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnFindApplyingEntryOnBeforeAssignTempApplyingVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnBeforeHandledChosenEntries(Type: Option Direct,GenJnlLine,PurchHeader; CurrentAmount: Decimal; CurrencyCode: Code[10]; PostingDate: Date; var AppliedVendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var PmtDiscAmount: Decimal; var AppliedAmount: Decimal; var DifferentCurrenciesInAppln: Boolean; ApplnCurrencyCode: Code[10]; GenJournalLine2: Record "Gen. Journal Line") Δ BC24 + BC28 − BC28 (integration)
  • OnBeforeEarlierPostingDateError(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RaiseError: Boolean; CalcType: Option; PmtDiscAmount: Decimal) (integration)
  • OnBeforePostDirectApplication(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PreviewMode: Boolean; var IsHandled: Boolean; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary) + BC26 − BC26 (integration)
  • OnBeforeSetApplyingVendLedgEntry(var ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; PurchHeader: Record "Purchase Header"; var CalcType: enum "Vendor Apply Calculation Type"; var IsHandled: Boolean) (integration)
  • OnBeforeRunVendEntryEdit(var VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnFindApplyingEntryOnAfterSetFilters(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnHandleChosenEntriesOnAfterTempAppliedVendLedgEntryInsert(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary) (integration)
  • OnPostDirectApplicationBeforeSetValues(var ApplicationDate: Date) (integration)
  • OnPostDirectApplicationBeforeApply(GLSetup: Record "General Ledger Setup"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters") (integration)
  • OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount(var ApplyingAmount: Decimal; var ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnSetVendApplIdOnAfterCheckAgainstApplnCurrency(var VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Option Direct,GenJnlLine,PurchHeader; GenJnlLine: Record "Gen. Journal Line"; PurchHeader: Record "Purchase Header"; ApplyingVendLedgEntry: Record "Vendor Ledger Entry") (integration)
  • OnAfterSetApplyingVendLedgEntryPurchaseHeader(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var PurchHeader: Record "Purchase Header") (integration)
  • OnAfterSetApplyingVendLedgEntryGenJnlLine(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var GenJnlLine: Record "Gen. Journal Line") (integration)
  • OnCheckVendLedgEntryOnBeforeCheckAgainstApplnCurrency(var GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnCheckVendLedgEntryOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean) (integration)
  • OnQueryClosePageOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean) (integration)
  • OnCalcApplnAmountOnAfterAppliedVendLedgEntrySetFilter(var AppliedVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RecVendorLedgerEntry: Record "Vendor Ledger Entry") (integration)
  • OnSetVendApplIdOnAfterSetFilter(var RecVendorLedgerEntry: Record "Vendor Ledger Entry"; CurrentRec: Boolean; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry" temporary) (integration)
  • OnModifyRecordOnBeforeRunCodeunitVendEntryEdit(VendorApplyCalculationType: Enum "Vendor Apply Calculation Type"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean) (integration)
  • OnBeforeOnQueryClosePage(CloseAction: Action; ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; ApplnType: Enum "Vendor Apply-to Type"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var IsHandled: Boolean) (integration)
  • OnPostDirectApplicationOnBeforeCheckApplicationDate(VendorLedgerEntry: Record "Vendor Ledger Entry"; NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; ApplicationDate: Date; PreviewMode: Boolean; var IsHandled: Boolean) + BC24 (integration)
  • OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts(var CalcVendLedgEntry: Record "Vendor Ledger Entry"; VendLedgEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; CalculateCurrency: Boolean; var IsHandled: Boolean) + BC26 (integration)
  • OnPostDirectApplicationOnAfterApply(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; PreviewMode: Boolean; Applied: Boolean) + BC26 (integration)

Procedures

  • SetGenJnlLine(NewGenJnlLine: Record "Gen. Journal Line"; ApplnTypeSelect: Integer)
  • GetCustomAppliesToID(): Code[50] (internal)
  • SetPurch(NewPurchHeader: Record "Purchase Header"; var NewVendLedgEntry: Record "Vendor Ledger Entry"; ApplnTypeSelect: Integer)
  • SetVendLedgEntry(NewVendLedgEntry: Record "Vendor Ledger Entry")
  • SetApplyingVendLedgEntry()
  • SetVendApplId(CurrentRec: Boolean)
  • CheckVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")
  • CalcApplnAmount()
  • CalcApplnRemainingAmount(Amount: Decimal): Decimal (protected)
  • FindAmountRounding() (protected)
  • CheckRounding()
  • GetVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry")
  • HandleChosenEntries(Type: Enum "Vendor Apply Calculation Type"; CurrentAmount: Decimal; CurrencyCode: Code[10]; PostingDate: Date) (protected)
  • SetAppliesToID(AppliesToID2: Code[50])
  • ExchangeLedgerEntryAmounts(Type: Enum "Vendor Apply Calculation Type"; CurrencyCode: Code[10]; var CalcVendLedgEntry: Record "Vendor Ledger Entry"; PostingDate: Date) (protected)
  • CalcOppositeEntriesAmount(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary): Decimal
  • GetApplnCurrencyCode(): Code[10]
  • GetCalcType(): Integer
  • SetCalcType(NewCalcType: Enum "Vendor Apply Calculation Type")

Plus 16 local procedures.

Triggers

OnAfterGetCurrRecord, OnAfterGetRecord, OnInit, OnModifyRecord, OnOpenPage, OnQueryClosePage

Relations

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "page", object_name: "Apply Vendor Entries"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 3 sources