Codeunit 66 Purch - Calc Disc. By Type

Base Application, Microsoft.Purchases.Document

Events 5 in 29.0, US

[IntegrationEvent] OnAfterResetRecalculateInvoiceDisc(var PurchaseHeader: Record "Purchase Header")17-29
[IntegrationEvent] OnBeforeApplyDefaultInvoiceDiscount(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean; InvoiceDiscountAmount: Decimal)17-29
[IntegrationEvent] OnBeforeShouldRedistributeInvoiceDiscountAmount(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnAfterInvoiceDiscIsAllowed(InvDiscCode: Code[20]; var Result: Boolean)new in 20
[IntegrationEvent] OnResetRecalculateInvoiceDiscOnAfterSetLoadFields(var PurchaseLine: Record "Purchase Line")new in 22

Public procedures 6 in 29.0, US

ApplyDefaultInvoiceDiscount(InvoiceDiscountAmount: Decimal; var PurchHeader: Record "Purchase Header")17-29
ApplyInvDiscBasedOnAmt(InvoiceDiscountAmount: Decimal; var PurchHeader: Record "Purchase Header")17-29
GetVendInvoiceDiscountPct(PurchLine: Record "Purchase Line"): Decimal17-29
ShouldRedistributeInvoiceDiscountAmount(PurchHeader: Record "Purchase Header"): Boolean17-29
ResetRecalculateInvoiceDisc(PurchHeader: Record "Purchase Header")17-29
InvoiceDiscIsAllowed(InvDiscCode: Code[20]): Boolean17-29

Changes none in 29.0, US

List17181920212223242526272829
Events11

All 0 changes in 29.0, US