Source AL, 2,055 lines
src/Layers/W1/BaseApp/Finance/VAT/RateChange/VATRateChangeConversion.Codeunit.allines 31 to 46 of 2,055, Copyright (c) Microsoft Corporation. MIT
codeunit 550 "VAT Rate Change Conversion"{ Permissions = TableData "VAT Rate Change Log Entry" = i; trigger OnRun() var IsHandled: Boolean; begin IsHandled := false; OnBeforeOnRun(IsHandled); if IsHandled then exit; if not VATRateChangeSetup.Get() then begin VATRateChangeSetup.Init(); VATRateChangeSetup.Insert();
All 2,055 lines
Events 61 in 29
| [IntegrationEvent] OnAddNewPurchaseLineOnBeforeOldPurchaseLineModify(var OldPurchaseLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20]) | 17-29 |
| [IntegrationEvent] OnAddNewSalesLineOnBeforeOldSalesLineModify(var OldSalesLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line"; VATProdPostingGroup: Code[20]; GenProdPostingGroup: Code[20]) | 17-29 |
| [IntegrationEvent] OnAfterUpdateTables(var VATRateChangeSetup: Record "VAT Rate Change Setup") | 17-29 |
| [IntegrationEvent] OnAfterConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup") | 17-29 |
| [IntegrationEvent] OnBeforeConvert(var VATRateChangeSetup: Record "VAT Rate Change Setup") | 17-29 |
| [IntegrationEvent] OnBeforeOnRun(var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeUpdateGLAccount(var GLAccount: Record "G/L Account"; var VATRateChangeSetup: Record "VAT Rate Change Setup"; var IsHandled: Boolean) | 17-29 |
All 68 events in 17-29
Public procedures 15 in 29
| GetNextPurchaseLineNo(PurchaseLine: Record "Purchase Line"; var NextLineNo: Integer): Boolean | 17-29 |
| GetNextSalesLineNo(SalesLine: Record "Sales Line"; var NextLineNo: Integer): Boolean | 17-29 |
| ConvertVATProdPostGrp(UpdateOption: Option): Boolean | new in 18 |
| ConvertGenProdPostGrp(UpdateOption: Option): Boolean | new in 18 |
| UpdateTable(TableID: Integer; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean) | new in 18 |
| UpdateRec(var RecRef: RecordRef; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean) | new in 21 |
All 20 procedures in 17-29
Changes 7 in 28
All 86 changes in 17-29