Codeunit "Vend. Entry-SetAppl.ID"

ID 111
Namespace: Microsoft.Purchases.Payables

Properties

Name Value
Permissions TableData "Vendor Ledger Entry" = rimd

Methods

SetApplId

procedure SetApplId(var VendLedgEntry: Record "Vendor Ledger Entry", ApplyingVendLedgEntry: Record "Vendor Ledger Entry", AppliesToID: Code[50])

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliesToID Code[50]

RemoveApplId

procedure RemoveApplId(var VendorLedgerEntry: Record "Vendor Ledger Entry", AppliestoID: Code[50])

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliestoID Code[50]

Events

OnBeforeUpdateVendLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateVendLedgerEntry(var TempVendLedgEntry: Record "Vendor Ledger Entry" temporary, ApplyingVendLedgEntry: Record "Vendor Ledger Entry", AppliesToID: Code[50], VendEntryApplID: Code[50], var IsHandled: Boolean)

Parameters

Name Type Description
TempVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliesToID Code[50]
VendEntryApplID Code[50]
IsHandled Boolean

OnAfterSetVendEntryApplID

[IntegrationEvent(False,False)]
local procedure OnAfterSetVendEntryApplID(VendLedgEntry: Record "Vendor Ledger Entry", ApplyingVendLedgEntry: Record "Vendor Ledger Entry", VendEntryApplID: Code[50])

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
VendEntryApplID Code[50]

OnAfterUpdateVendLedgerEntry

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateVendLedgerEntry(var VendorLedgerEntry: Record "Vendor Ledger Entry", var TempVendLedgEntry: Record "Vendor Ledger Entry" temporary, ApplyingVendLedgEntry: Record "Vendor Ledger Entry", AppliesToID: Code[50])

Parameters

Name Type Description
VendorLedgerEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
TempVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
ApplyingVendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
AppliesToID Code[50]

See also