{"title":"Codeunit 6471 Serv. VAT Rate Change Conv., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6471-serv-vat-rate-change-conv/points/","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":6471,"name":"Serv. VAT Rate Change Conv.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6471-serv-vat-rate-change-conv/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6471-serv-vat-rate-change-conv/source/","path":"src/Layers/W1/BaseApp/Service/Finance/VAT/ServVATRateChangeConv.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:6083":{"name":"Serv. Price Adjustment Detail","url":"https://jonas-paprotka.de/ref/table/6083-serv-price-adjustment-detail/"},"codeunit:550":{"name":"VAT Rate Change Conversion","url":"https://jonas-paprotka.de/ref/codeunit/550-vat-rate-change-conversion/"},"table:5900":{"name":"Service Header","url":"https://jonas-paprotka.de/ref/table/5900-service-header/"},"table:5902":{"name":"Service Line","url":"https://jonas-paprotka.de/ref/table/5902-service-line/"},"table:552":{"name":"VAT Rate Change Log Entry","url":"https://jonas-paprotka.de/ref/table/552-vat-rate-change-log-entry/"},"table:337":{"name":"Reservation Entry","url":"https://jonas-paprotka.de/ref/table/337-reservation-entry/"},"codeunit:700":{"name":"Page Management","url":"https://jonas-paprotka.de/ref/codeunit/700-page-management/"}},"procs":[{"name":"OnBeforeFinishConvert","line":29,"kind":"procedure","access":"local","params":3,"steps":[[32,"call","UpdateServPriceAdjDetail",1],[33,"call","UpdateService",2]]},{"name":"UpdateServPriceAdjDetail","line":36,"kind":"procedure","access":"local","params":1,"steps":[[46,"event","OnBeforeUpdateServPriceAdjDetail",1],[68,"write",6083,"Rename"],[73,"ext","codeunit",550,"WriteLogEntry",1]]},{"name":"CanUpdateService","line":78,"kind":"procedure","access":"local","params":1,"steps":[[98,"ext","codeunit",550,"WriteLogEntry",1]]},{"name":"UpdateService","line":101,"kind":"procedure","access":"local","params":2,"steps":[[120,"ext","codeunit",550,"ConvertVATProdPostGrp",1],[121,"ext","codeunit",550,"ConvertGenProdPostGrp",1],[126,"event","OnBeforeUpdateService",1],[135,"ext","codeunit",550,"LineInScope",4],[136,"call","CanUpdateService",1],[136,"call","IncludeServiceLine",3],[146,"write",5900,"Modify"],[155,"ext","codeunit",550,"UpdateRec",3],[156,"ext","codeunit",550,"ConvertVATProdPostGrp",1],[157,"ext","codeunit",550,"ConvertGenProdPostGrp",1],[166,"ext","codeunit",550,"GetRoundingPrecision",1],[167,"validate",5902,"Unit Price"],[168,"write",5902,"Modify",1],[184,"call","AddNewServiceLine",4],[187,"ext","codeunit",550,"InitVATRateChangeLogEntry",4],[188,"ext","table",552,"UpdateGroups",4],[190,"ext","codeunit",550,"WriteLogEntry",1],[195,"write",5900,"Modify"]]},{"name":"AddNewServiceLine","line":202,"kind":"procedure","access":"local","params":4,"steps":[[214,"call","GetNextServiceLineNo",2],[234,"ext","codeunit",550,"ConvertGenProdPostGrp",1],[235,"validate",5902,"Gen. Prod. Posting Group"],[236,"ext","codeunit",550,"ConvertVATProdPostGrp",1],[237,"validate",5902,"VAT Prod. Posting Group"],[239,"validate",5902,"Quantity"],[240,"validate",5902,"Qty. to Ship"],[241,"validate",5902,"Qty. to Consume"],[245,"validate",5902,"Qty. to Invoice"],[249,"validate",5902,"Qty. to Invoice"],[251,"ext","codeunit",550,"GetRoundingPrecision",1],[253,"validate",5902,"Unit Price"],[255,"validate",5902,"Unit Price"],[256,"validate",5902,"Line Discount %"],[257,"write",5902,"Insert"],[263,"ext","table",552,"UpdateGroups",4],[267,"ext","codeunit",550,"WriteLogEntry",1],[273,"ext","table",552,"UpdateGroups",4],[278,"ext","codeunit",550,"WriteLogEntry",1],[293,"write",337,"Modify"],[308,"write",337,"Modify"],[312,"validate",5902,"Quantity"],[313,"validate",5902,"Unit Price"],[314,"validate",5902,"Line Discount %"],[315,"validate",5902,"Qty. to Ship"],[316,"validate",5902,"Qty. to Consume"],[320,"validate",5902,"Qty. to Invoice"],[323,"validate",5902,"Qty. to Invoice"],[325,"event","OnAddNewServiceLineOnBeforeOldServiceLineModify",0],[326,"write",5902,"Modify"]]},{"name":"IncludeServiceLine","line":346,"kind":"procedure","access":"local","params":3,"steps":[[350,"call","IncludeGLAccount",2],[352,"call","IncludeItem",2],[354,"call","IncludeRes",2]]},{"name":"OnAfterShow","line":410,"kind":"procedure","access":"local","params":3,"steps":[[419,"ext","codeunit",700,"PageRunModal",1]]}]}