Table of Contents

Page "Apply Vendor Entries"

ID 233
Namespace: Microsoft.Purchases.Payables

Properties

Name Value
Caption Apply Vendor Entries
DataCaptionFields 3
DeleteAllowed False
InsertAllowed False
LinksAllowed False
PageType Worksheet
SourceTable Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

Methods

SetGenJnlLine

procedure SetGenJnlLine(NewGenJnlLine: Record "Gen. Journal Line"; ApplnTypeSelect: Integer)

Parameters

Name Type Description
NewGenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
ApplnTypeSelect Integer

SetPurch

procedure SetPurch(NewPurchHeader: Record "Purchase Header"; var NewVendLedgEntry: Record "Vendor Ledger Entry"; ApplnTypeSelect: Integer)

Parameters

Name Type Description
NewPurchHeader Table Microsoft.Purchases.Document."Purchase Header"
NewVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplnTypeSelect Integer

SetVendLedgEntry

procedure SetVendLedgEntry(NewVendLedgEntry: Record "Vendor Ledger Entry")

Parameters

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

SetApplyingVendLedgEntry

procedure SetApplyingVendLedgEntry()

SetVendApplId

procedure SetVendApplId(CurrentRec: Boolean)

Parameters

Name Type Description
CurrentRec Boolean

CheckVendLedgEntry

procedure CheckVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

CalcApplnAmount

procedure CalcApplnAmount()

CheckRounding

procedure CheckRounding()

GetVendLedgEntry

procedure GetVendLedgEntry(var VendLedgEntry: Record "Vendor Ledger Entry")

Parameters

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

SetAppliesToID

procedure SetAppliesToID(AppliesToID2: Code[50])

Parameters

Name Type Description
AppliesToID2 Code[50]

CalcOppositeEntriesAmount

procedure CalcOppositeEntriesAmount(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary): Decimal

Parameters

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

Returns

Type Description
Decimal

GetApplnCurrencyCode

procedure GetApplnCurrencyCode(): Code[10]

Returns

Type Description
Code[10]

GetCalcType

procedure GetCalcType(): Integer

Returns

Type Description
Integer

SetCalcType

procedure SetCalcType(NewCalcType: Enum "Vendor Apply Calculation Type")

Parameters

Name Type Description
NewCalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"

Events

OnAfterCalcApplnAmount

[IntegrationEvent(True,False)]
local procedure 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")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliedAmount Decimal
ApplyingAmount Decimal
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
AppliedVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnAfterCalcApplnAmountToApply

[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnAmountToApply(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnAmountToApply: Decimal; var ApplnAmtToApply: Decimal)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplnAmountToApply Decimal
ApplnAmtToApply Decimal

OnAfterCalcApplnRemainingAmount

[IntegrationEvent(False,False)]
local procedure OnAfterCalcApplnRemainingAmount(VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplnRemainingAmount: Decimal)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplnRemainingAmount Decimal

OnAfterExchangeLedgerEntryAmounts

[IntegrationEvent(False,False)]
local procedure OnAfterExchangeLedgerEntryAmounts(var CalcVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; PostingDate: Date)

Parameters

Name Type Description
CalcVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CurrencyCode Code[10]
PostingDate Date

OnAfterOpenPage

[IntegrationEvent(False,False)]
local procedure OnAfterOpenPage(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var ApplyingVendLedgEntry: Record "Vendor Ledger Entry")

Parameters

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

OnAfterSetApplyingVendLedgEntry

[IntegrationEvent(True,False)]
local procedure OnAfterSetApplyingVendLedgEntry(var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; PurchaseHeader: Record "Purchase Header"; CalcType: Enum "Vendor Apply Calculation Type")

Parameters

Name Type Description
TempApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"

OnBeforeCallVendEntrySetApplIDSetApplId

[IntegrationEvent(True,False)]
local procedure OnBeforeCallVendEntrySetApplIDSetApplId(VendEntrySetApplID: Codeunit "Vend. Entry-SetAppl.ID"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)

Parameters

Name Type Description
VendEntrySetApplID Codeunit Microsoft.Purchases.Payables."Vend. Entry-SetAppl.ID"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
TempApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean

OnBeforeCalcApplnAmount

[IntegrationEvent(False,False)]
local procedure 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)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"
AppliedVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
ApplnType Enum Microsoft.Purchases.Payables."Vendor Apply-to Type"
IsHandled Boolean
ApplnDate Date
ApplnCurrencyCode Code[10]
AmountRoundingPrecision Decimal
AppliedAmount Decimal
ApplnRoundingPrecision Decimal
PmtDiscAmount Decimal
DifferentCurrenciesInAppln Boolean
ApplnRounding Decimal
ApplyingAmount Decimal

OnBeforeCheckActionPerformed

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckActionPerformed(ActionPerformed: Boolean; OK: Boolean; CalcType: Option; PostingDone: Boolean; ApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; ApplnType: Option; var Result: Boolean; var IsHandled: Boolean; AppliesToID: Code[50])

Parameters

Name Type Description
ActionPerformed Boolean
OK Boolean
CalcType Option
PostingDone Boolean
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplnType Option
Result Boolean
IsHandled Boolean
AppliesToID Code[50]

OnFindApplyingEntryOnBeforeCalcApplnAmount

[IntegrationEvent(True,False)]
local procedure OnFindApplyingEntryOnBeforeCalcApplnAmount(var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

OnFindApplyingEntryOnBeforeAssignTempApplyingVendLedgEntry

[IntegrationEvent(False,False)]
local procedure OnFindApplyingEntryOnBeforeAssignTempApplyingVendLedgEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

OnBeforeHandledChosenEntries

[IntegrationEvent(True,False)]
local procedure OnBeforeHandledChosenEntries(Type: Option; 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")

Parameters

Name Type Description
Type Option
CurrentAmount Decimal
CurrencyCode Code[10]
PostingDate Date
AppliedVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PmtDiscAmount Decimal
AppliedAmount Decimal
DifferentCurrenciesInAppln Boolean
ApplnCurrencyCode Code[10]
GenJournalLine2 Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnBeforeEarlierPostingDateError

[IntegrationEvent(False,False)]
local procedure OnBeforeEarlierPostingDateError(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RaiseError: Boolean; CalcType: Option; PmtDiscAmount: Decimal)

Parameters

Name Type Description
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
RaiseError Boolean
CalcType Option
PmtDiscAmount Decimal

OnBeforePostDirectApplication

[IntegrationEvent(True,False)]
local procedure OnBeforePostDirectApplication(var VendorLedgerEntry: Record "Vendor Ledger Entry"; PreviewMode: Boolean; var IsHandled: Boolean; var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PreviewMode Boolean
IsHandled Boolean
TempApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnBeforeSetApplyingVendLedgEntry

[IntegrationEvent(True,False)]
local procedure 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)

Parameters

Name Type Description
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
IsHandled Boolean

OnBeforeRunVendEntryEdit

[IntegrationEvent(True,False)]
local procedure OnBeforeRunVendEntryEdit(var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

OnFindApplyingEntryOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnFindApplyingEntryOnAfterSetFilters(ApplyingVendLedgEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

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

OnHandleChosenEntriesOnAfterTempAppliedVendLedgEntryInsert

[IntegrationEvent(True,False)]
local procedure OnHandleChosenEntriesOnAfterTempAppliedVendLedgEntryInsert(var TempAppliedVendorLedgerEntry: Record "Vendor Ledger Entry" temporary)

Parameters

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

OnPostDirectApplicationBeforeSetValues

[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationBeforeSetValues(var ApplicationDate: Date)

Parameters

Name Type Description
ApplicationDate Date

OnPostDirectApplicationBeforeApply

[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationBeforeApply(GLSetup: Record "General Ledger Setup"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters")

Parameters

Name Type Description
GLSetup Table Microsoft.Finance.GeneralLedger.Setup."General Ledger Setup"
NewApplyUnapplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"

OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount

[IntegrationEvent(True,False)]
local procedure OnSetApplyingVendLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount(var ApplyingAmount: Decimal; var ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; var VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
ApplyingAmount Decimal
ApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnSetVendApplIdOnAfterCheckAgainstApplnCurrency

[IntegrationEvent(False,False)]
local procedure OnSetVendApplIdOnAfterCheckAgainstApplnCurrency(var VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Option; GenJnlLine: Record "Gen. Journal Line"; PurchHeader: Record "Purchase Header"; ApplyingVendLedgEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CalcType Option
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnAfterSetApplyingVendLedgEntryPurchaseHeader

[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingVendLedgEntryPurchaseHeader(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var PurchHeader: Record "Purchase Header")

Parameters

Name Type Description
TempApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PurchHeader Table Microsoft.Purchases.Document."Purchase Header"

OnAfterSetApplyingVendLedgEntryGenJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterSetApplyingVendLedgEntryGenJnlLine(var TempApplyingVendLedgEntry: Record "Vendor Ledger Entry" temporary; var GenJnlLine: Record "Gen. Journal Line")

Parameters

Name Type Description
TempApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
GenJnlLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"

OnCheckVendLedgEntryOnBeforeCheckAgainstApplnCurrency

[IntegrationEvent(False,False)]
local procedure OnCheckVendLedgEntryOnBeforeCheckAgainstApplnCurrency(var GenJournalLine: Record "Gen. Journal Line"; VendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
GenJournalLine Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnCheckVendLedgEntryOnAfterEarlierPostingDateTest

[IntegrationEvent(False,False)]
local procedure OnCheckVendLedgEntryOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean)

Parameters

Name Type Description
ApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
OK Boolean

OnQueryClosePageOnAfterEarlierPostingDateTest

[IntegrationEvent(False,False)]
local procedure OnQueryClosePageOnAfterEarlierPostingDateTest(ApplyingVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; CalcType: Enum "Vendor Apply Calculation Type"; var OK: Boolean)

Parameters

Name Type Description
ApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
OK Boolean

OnCalcApplnAmountOnAfterAppliedVendLedgEntrySetFilter

[IntegrationEvent(False,False)]
local procedure OnCalcApplnAmountOnAfterAppliedVendLedgEntrySetFilter(var AppliedVendorLedgerEntry: Record "Vendor Ledger Entry"; VendorLedgerEntry: Record "Vendor Ledger Entry"; var RecVendorLedgerEntry: Record "Vendor Ledger Entry")

Parameters

Name Type Description
AppliedVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
RecVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnSetVendApplIdOnAfterSetFilter

[IntegrationEvent(False,False)]
local procedure OnSetVendApplIdOnAfterSetFilter(var RecVendorLedgerEntry: Record "Vendor Ledger Entry"; CurrentRec: Boolean; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var TempApplyingVendorLedgerEntry: Record "Vendor Ledger Entry" temporary)

Parameters

Name Type Description
RecVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CurrentRec Boolean
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
TempApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"

OnModifyRecordOnBeforeRunCodeunitVendEntryEdit

[IntegrationEvent(False,False)]
local procedure OnModifyRecordOnBeforeRunCodeunitVendEntryEdit(VendorApplyCalculationType: Enum "Vendor Apply Calculation Type"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)

Parameters

Name Type Description
VendorApplyCalculationType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
IsHandled Boolean

OnBeforeOnQueryClosePage

[IntegrationEvent(False,False)]
local procedure 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)

Parameters

Name Type Description
CloseAction Action
ApplyingVendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplnType Enum Microsoft.Purchases.Payables."Vendor Apply-to Type"
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CalcType Enum Microsoft.Purchases.Payables."Vendor Apply Calculation Type"
IsHandled Boolean

OnPostDirectApplicationOnBeforeCheckApplicationDate

[IntegrationEvent(True,False)]
local procedure OnPostDirectApplicationOnBeforeCheckApplicationDate(VendorLedgerEntry: Record "Vendor Ledger Entry"; NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; ApplicationDate: Date; PreviewMode: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewApplyUnapplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"
ApplicationDate Date
PreviewMode Boolean
IsHandled Boolean

OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts

[IntegrationEvent(False,False)]
local procedure OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts(var CalcVendLedgEntry: Record "Vendor Ledger Entry"; VendLedgEntry: Record "Vendor Ledger Entry"; CurrencyCode: Code[10]; CalculateCurrency: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
CalcVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
CurrencyCode Code[10]
CalculateCurrency Boolean
IsHandled Boolean

OnPostDirectApplicationOnAfterApply

[IntegrationEvent(False,False)]
local procedure OnPostDirectApplicationOnAfterApply(var VendorLedgerEntry: Record "Vendor Ledger Entry"; var NewApplyUnapplyParameters: Record "Apply Unapply Parameters"; PreviewMode: Boolean; Applied: Boolean)

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
NewApplyUnapplyParameters Table Microsoft.Finance.ReceivablesPayables."Apply Unapply Parameters"
PreviewMode Boolean
Applied Boolean

See also