{"title":"Codeunit 5777 Whse. Validate Source Line, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5777-whse-validate-source-line/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":5777,"name":"Whse. Validate Source Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5777-whse-validate-source-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5777-whse-validate-source-line/source/","path":"src/Layers/W1/BaseApp/Warehouse/Request/WhseValidateSourceLine.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:5775":{"name":"Whse. Management","url":"https://jonas-paprotka.de/ref/codeunit/5775-whse-management/"},"table:7321":{"name":"Warehouse Shipment Line","url":"https://jonas-paprotka.de/ref/table/7321-warehouse-shipment-line/"},"table:5767":{"name":"Warehouse Activity Line","url":"https://jonas-paprotka.de/ref/table/5767-warehouse-activity-line/"},"table:7326":{"name":"Whse. Worksheet Line","url":"https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"VerifyFieldNotChanged","line":36,"kind":"procedure","params":3,"steps":[[41,"event","OnBeforeVerifyFieldNotChanged",1],[45,"call","VerifyFieldHasSameValue",4]]},{"name":"VerifyFieldNotChanged","line":48,"kind":"procedure","params":4,"steps":[[50,"call","VerifyFieldHasSameValue",4]]},{"name":"TransLineVerifyChange","line":79,"kind":"procedure","params":2,"steps":[[84,"event","OnBeforeTransLineVerifyChange",1],[88,"call","WhseLinesExist",6],[89,"call","TransLineCommonVerification",2],[94,"call","WhseLinesExist",6],[95,"call","TransLineCommonVerification",2],[100,"event","OnAfterTransLineVerifyChange",0]]},{"name":"TransLineCommonVerification","line":103,"kind":"procedure","access":"local","params":2,"steps":[[117,"event","OnTransLineCommonVerificationOnBeforeQuantityCheck",1]]},{"name":"TransLineDelete","line":123,"kind":"procedure","params":1,"steps":[[125,"call","WhseLinesExist",6],[127,"call","WhseLinesExist",6],[130,"event","OnAfterTransLineDelete",0]]},{"name":"WhseLinesExist","line":133,"kind":"procedure","params":6,"steps":[[143,"event","OnBeforeWhseLinesExist",1],[148,"event","OnWhseLineExistOnBeforeCheckReceipt",0],[150,"ext","codeunit",5775,"SetSourceFilterForWhseRcptLine",6],[151,"event","OnWhseLinesExistOnAfterWhseRcptLineSetFilters",0],[159,"event","OnWhseLineExistOnBeforeCheckShipment",0],[161,"ext","table",7321,"SetSourceFilter",5],[162,"event","OnWhseLinesExistOnAfterWhseShptLineSetFilters",1],[170,"ext","table",5767,"SetSourceFilter",6],[172,"event","OnWhseLinesExistOnAfterWhseActivLineSetFilters",1]]},{"name":"WhseLinesExistWithTableCaptionOut","line":183,"kind":"procedure","params":7,"steps":[[187,"call","WhseLinesExist",6]]},{"name":"WhseWorkSheetLinesExistForJobOrProdOrderComponent","line":192,"kind":"procedure","params":6,"steps":[[195,"call","WhseWorkSheetLinesExist",6]]},{"name":"WhseWorkSheetLinesExist","line":201,"kind":"procedure","access":"internal","params":6,"steps":[[207,"event","OnBeforeWhseWorkSheetLinesExist",1],[211,"ext","table",7326,"SetSourceFilter",5]]},{"name":"ItemLineVerifyChange","line":221,"kind":"procedure","params":2,"steps":[[227,"event","OnItemLineVerifyChangeOnCheckEntryType",0],[257,"event","OnAfterItemLineVerifyChange",0]]},{"name":"JobJnlLineVerifyChangeForWhsePick","line":260,"kind":"procedure","access":"internal","params":2,"steps":[[268,"call","IsWhsePickRequiredForJobJnlLine",1],[274,"call","CheckQtyRemainingToBePickedForJob",2]]},{"name":"IsWhsePickRequiredForJobJnlLine","line":278,"kind":"procedure","access":"internal","params":1,"steps":[[283,"call","RequireWarehousePicking",1],[286,"ext","table",27,"IsInventoriableType",0]]},{"name":"IsInventoryPickRequiredForJobJnlLine","line":291,"kind":"procedure","access":"internal","params":1,"steps":[[296,"call","RequireInventoryPicking",1]]},{"name":"CheckQtyRemainingToBePickedForJob","line":333,"kind":"procedure","access":"local","params":2,"steps":[[338,"event","OnBeforeCheckQtyRemainingToBePickedForJob",1]]}]}