{"title":"Codeunit 7011 Price Source List, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/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":7011,"name":"Price Source List","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/source/","path":"src/Layers/W1/BaseApp/Pricing/Source/PriceSourceList.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:7005":{"name":"Price Source","url":"https://jonas-paprotka.de/ref/table/7005-price-source/"},"codeunit:7011":{"name":"Price Source List","url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/"}},"procs":[{"name":"Init","line":19,"kind":"procedure","params":0,"steps":[[24,"write",7005,"DeleteAll"]]},{"name":"SetPriceType","line":59,"kind":"procedure","params":1,"steps":[[61,"call","ValidatePriceType",1]]},{"name":"Add","line":74,"kind":"procedure","params":2,"steps":[[78,"ext","table",7005,"NewEntry",2],[79,"validate",7005,"Source No."],[80,"event","OnAddOnBeforeInsert",0],[81,"call","ValidatePriceType",1],[82,"write",7005,"Insert",1]]},{"name":"Add","line":85,"kind":"procedure","params":3,"steps":[[89,"ext","table",7005,"NewEntry",2],[90,"validate",7005,"Parent Source No."],[91,"validate",7005,"Source No."],[92,"event","OnAddOnBeforeInsert",0],[93,"call","ValidatePriceType",1],[94,"write",7005,"Insert",1]]},{"name":"Add","line":97,"kind":"procedure","params":2,"steps":[[101,"ext","table",7005,"NewEntry",2],[102,"validate",7005,"Source ID"],[103,"event","OnAddOnBeforeInsert",0],[104,"call","ValidatePriceType",1],[105,"write",7005,"Insert",1]]},{"name":"Add","line":108,"kind":"procedure","params":1,"steps":[[110,"ext","table",7005,"NewEntry",2],[111,"call","ValidatePriceType",1],[112,"write",7005,"Insert",1]]},{"name":"Add","line":115,"kind":"procedure","params":1,"steps":[[119,"call","ValidatePriceType",1],[120,"write",7005,"Insert",1]]},{"name":"AddChildren","line":123,"kind":"procedure","params":1,"steps":[[127,"event","OnBeforeAddChildren",0],[130,"call","Add",1]]},{"name":"AddJobAsSources","line":134,"kind":"procedure","params":2,"steps":[[137,"call","IncLevel",0],[138,"call","Add",1],[139,"call","IncLevel",0],[140,"call","Add",2],[142,"call","IncLevel",0],[143,"call","Add",3]]},{"name":"GetValue","line":148,"kind":"procedure","params":1,"steps":[[160,"event","OnAfterGetValue",0]]},{"name":"Copy","line":163,"kind":"procedure","params":1,"steps":[[165,"call","Init",0],[166,"ext","codeunit",7011,"GetList",1]]},{"name":"GetList","line":169,"kind":"procedure","params":1,"steps":[[174,"call","UpdatePriceTypeSourceGroup",1]]},{"name":"First","line":190,"kind":"procedure","params":2,"steps":[[195,"call","GetRecordIfFound",2]]},{"name":"Next","line":198,"kind":"procedure","params":1,"steps":[[200,"call","GetRecordIfFound",2]]},{"name":"GetSourceGroup","line":213,"kind":"procedure","params":1,"steps":[[220,"ext","table",7005,"GetGroupNo",0]]},{"name":"RemoveAtLevel","line":256,"kind":"procedure","params":2,"steps":[[262,"call","Remove",1]]},{"name":"Remove","line":265,"kind":"procedure","access":"local","params":1,"steps":[[272,"write",7005,"DeleteAll"]]}]}