{"title":"Codeunit 130440 Library - Random, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/130440-library-random/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":130440,"name":"Library - Random","app":"Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/130440-library-random/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/130440-library-random/source/","path":"src/Layers/W1/Tests/ApplicationTestLibrary/LibraryRandom.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":{},"procs":[{"name":"RandDec","line":17,"kind":"procedure","params":2,"steps":[[19,"call","RandInt",1]]},{"name":"RandDecInRange","line":22,"kind":"procedure","params":3,"steps":[[25,"call","RandDec",2]]},{"name":"RandDecInDecimalRange","line":28,"kind":"procedure","params":3,"steps":[[37,"call","RandIntInRange",2]]},{"name":"RandInt","line":40,"kind":"procedure","params":1,"steps":[[46,"call","GetNextValue",1]]},{"name":"RandIntInRange","line":49,"kind":"procedure","params":2,"steps":[[51,"call","RandInt",1]]},{"name":"RandDate","line":54,"kind":"procedure","params":1,"steps":[[58,"call","RandInt",1]]},{"name":"RandDateFrom","line":61,"kind":"procedure","params":2,"steps":[[65,"call","RandInt",1]]},{"name":"RandDateFromInRange","line":68,"kind":"procedure","params":3,"steps":[[72,"call","RandIntInRange",2]]},{"name":"RandPrecision","line":75,"kind":"procedure","params":0,"steps":[[77,"call","RandInt",1]]},{"name":"Init","line":89,"kind":"procedure","params":0,"steps":[[92,"call","SetSeed",1]]},{"name":"GetNextValue","line":104,"kind":"procedure","access":"local","params":1,"steps":[[107,"call","SetSeed",1]]},{"name":"OnSetSeedHandler","line":113,"kind":"procedure","access":"local","params":1,"steps":[[115,"call","SetSeed",1]]}]}