{"title":"Codeunit 66 Purch - Calc Disc. By Type, changes","url":"https://jonas-paprotka.de/ref/codeunit/66-purch-calc-disc-by-type/changes/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":66,"name":"Purch - Calc Disc. By Type","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/66-purch-calc-disc-by-type/","json":"https://jonas-paprotka.de/ref/codeunit/66-purch-calc-disc-by-type.json"},"aspect":"changes","total":2,"rows":[{"version":22,"kind":"event","change":"added","name":"OnResetRecalculateInvoiceDiscOnAfterSetLoadFields","member":{"name":"OnResetRecalculateInvoiceDiscOnAfterSetLoadFields","sig":"(var Record Purchase Line)","named":"(var PurchaseLine: Record \"Purchase Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}},{"version":20,"kind":"event","change":"added","name":"OnAfterInvoiceDiscIsAllowed","member":{"name":"OnAfterInvoiceDiscIsAllowed","sig":"(Code[20], var Boolean)","named":"(InvDiscCode: Code[20]; var Result: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}}]}