Codeunit 66 Purch - Calc Disc. By Type in 20
- App
- Base Application
Versions171819202122232425262728latest
Source29
Procedures, 6
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| ApplyDefaultInvoiceDiscount | (Decimal, var Record Purchase Header) | public | - | |
| ApplyInvDiscBasedOnAmt | (Decimal, var Record Purchase Header) | public | - | |
| GetVendInvoiceDiscountPct | (Record Purchase Line) | Decimal | public | - |
| ShouldRedistributeInvoiceDiscountAmount | (Record Purchase Header) | Boolean | public | - |
| ResetRecalculateInvoiceDisc | (Record Purchase Header) | public | - | |
| InvoiceDiscIsAllowed | (Code[20]) | Boolean | public | - |
Events, 4
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnAfterResetRecalculateInvoiceDisc | (var Record Purchase Header) | - |
| Integration event | OnBeforeApplyDefaultInvoiceDiscount | (var Record Purchase Header, var Boolean, Decimal) | - |
| Integration event | OnBeforeShouldRedistributeInvoiceDiscountAmount | (var Record Purchase Header, var Boolean) | - |
| Integration event | OnAfterInvoiceDiscIsAllowed | (Code[20], var Boolean) | - |