{"title":"Codeunit 149002 BCPT Role Wrapper, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/149002-bcpt-role-wrapper/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":149002,"name":"BCPT Role Wrapper","app":"Performance Toolkit","url":"https://jonas-paprotka.de/ref/codeunit/149002-bcpt-role-wrapper/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/149002-bcpt-role-wrapper/source/","path":"src/Tools/Performance Toolkit/App/src/BCPTRoleWrapper.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":{"codeunit:149005":{"name":"BCPT Line","url":"https://jonas-paprotka.de/ref/codeunit/149005-bcpt-line/"},"codeunit:149004":{"name":"BCPT Header","url":"https://jonas-paprotka.de/ref/codeunit/149004-bcpt-header/"}},"procs":[{"name":"OnRun","line":25,"kind":"trigger","steps":[[33,"call","SetBCPTLine",1],[38,"call","InitializeBCPTLineForRun",3],[39,"call","SetBCPTHeader",1],[44,"call","ExecuteBCPTLine",5]]},{"name":"ExecuteBCPTLine","line":62,"kind":"procedure","access":"local","params":5,"steps":[[86,"call","GetAndClearAccumulatedWaitTimeMs",0],[87,"call","GetAndClearNoOfLogEntriesInserted",0],[89,"ext","codeunit",149005,"StartScenario",1],[90,"event","OnBeforeExecuteIteration",0],[91,"call","ExecuteIteration",1],[93,"ext","codeunit",149005,"EndScenario",3],[122,"ext","codeunit",149004,"DecreaseNoOfTestsRunningNow",1]]},{"name":"ExecuteIteration","line":125,"kind":"procedure","access":"local","params":1,"steps":[[130,"call","SetBCPTLine",1]]}]}