{"title":"Codeunit 132225 Library - Item Reference, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/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":132225,"name":"Library - Item Reference","app":"Application Test Library","url":"https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/132225-library-item-reference/source/","path":"src/Layers/W1/Tests/ApplicationTestLibrary/LibraryItemReference.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:131000":{"name":"Library - Utility","url":"https://jonas-paprotka.de/ref/codeunit/131000-library-utility/"},"table:5777":{"name":"Item Reference","url":"https://jonas-paprotka.de/ref/table/5777-item-reference/"}},"procs":[{"name":"CreateItemReference","line":14,"kind":"procedure","params":4,"steps":[[16,"call","CreateItemReferenceWithNo",5],[17,"ext","codeunit",131000,"GenerateRandomCode",2]]},{"name":"CreateItemReference","line":21,"kind":"procedure","params":7,"steps":[[24,"validate",5777,"Item No."],[25,"validate",5777,"Variant Code"],[26,"validate",5777,"Unit of Measure"],[27,"validate",5777,"Reference Type"],[28,"validate",5777,"Reference Type No."],[29,"validate",5777,"Reference No."],[30,"write",5777,"Insert",1]]},{"name":"CreateItemReferenceWithNo","line":33,"kind":"procedure","params":5,"steps":[[36,"validate",5777,"Item No."],[37,"validate",5777,"Reference Type"],[38,"validate",5777,"Reference Type No."],[39,"validate",5777,"Reference No."],[40,"write",5777,"Insert",1]]},{"name":"CreateItemReferenceWithNoAndDates","line":43,"kind":"procedure","params":7,"steps":[[45,"call","CreateItemReferenceWithNo",5],[46,"validate",5777,"Starting Date"],[47,"validate",5777,"Ending Date"],[48,"write",5777,"Modify",1]]}]}