{"title":"Codeunit 4416 SOA Item Selector Func, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/4416-soa-item-selector-func/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":4416,"name":"SOA Item Selector Func","app":"Sales Order Agent","url":"https://jonas-paprotka.de/ref/codeunit/4416-soa-item-selector-func/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/4416-soa-item-selector-func/source/","path":"src/Apps/W1/SalesOrderAgent/app/src/ItemSearch/SOAItemSelectorFunc.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:4598":{"name":"SOA Instructions","url":"https://jonas-paprotka.de/ref/codeunit/4598-soa-instructions/"}},"procs":[{"name":"GetPrompt","line":36,"kind":"procedure","params":0,"steps":[[41,"ext","codeunit",4598,"GetItemSelectorPrompt",0]]},{"name":"Execute","line":45,"kind":"procedure","params":1,"steps":[[60,"call","ParseSelectedItems",1]]},{"name":"ParseSelectedItems","line":69,"kind":"procedure","access":"local","params":1,"steps":[[86,"call","SetSelectionResultFailure",1],[88,"call","IsAllowedItemNoFormat",1],[89,"call","SetSelectionResultFailure",1],[94,"call","SetSelectionResultFailure",1],[97,"call","IsAllowedVariantCodeFormat",1],[98,"call","SetSelectionResultFailure",1],[101,"call","SetSelectionResultFailure",1],[104,"call","SetSelectionResultFailure",1],[108,"call","SetSelectionResultFailure",1],[113,"call","SetSelectionResultFailure",1],[123,"call","SetSelectionResultFailure",1],[139,"call","AddItemToList",2],[140,"call","SetSelectionResultFailure",1],[141,"call","AddVariantCodeToDictionary",3],[143,"call","AddItemToList",2],[144,"call","SetSelectionResultFailure",1],[145,"call","AddVariantCodeToDictionary",3]]},{"name":"AddItemToList","line":158,"kind":"procedure","access":"local","params":2,"steps":[[165,"call","IsAllowedItemNoFormat",1],[168,"call","ItemNoAlreadyInList",2]]},{"name":"AddVariantCodeToDictionary","line":193,"kind":"procedure","access":"local","params":3,"steps":[[199,"call","IsAllowedVariantCodeFormat",1]]}]}