{"title":"Table 7316 Warehouse Receipt Header, extension points 29","url":"https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/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":"table","id":7316,"name":"Warehouse Receipt Header","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/source/","path":"src/Layers/W1/BaseApp/Warehouse/Document/WarehouseReceiptHeader.Table.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:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"codeunit:7302":{"name":"WMS Management","url":"https://jonas-paprotka.de/ref/codeunit/7302-wms-management/"},"table:7316":{"name":"Warehouse Receipt Header","url":"https://jonas-paprotka.de/ref/table/7316-warehouse-receipt-header/"},"codeunit:7317":{"name":"Whse. Integration Management","url":"https://jonas-paprotka.de/ref/codeunit/7317-whse-integration-management/"},"table:7317":{"name":"Warehouse Receipt Line","url":"https://jonas-paprotka.de/ref/table/7317-warehouse-receipt-line/"},"table:5768":{"name":"Whse. Cross-Dock Opportunity","url":"https://jonas-paprotka.de/ref/table/5768-whse-cross-dock-opportunity/"},"table:5770":{"name":"Warehouse Comment Line","url":"https://jonas-paprotka.de/ref/table/5770-warehouse-comment-line/"},"page:7347":{"name":"Locations with Warehouse List","url":"https://jonas-paprotka.de/ref/page/7347-locations-with-warehouse-list/"},"table:14":{"name":"Location","url":"https://jonas-paprotka.de/ref/table/14-location/"}},"procs":[{"name":"No..OnValidate","line":30,"kind":"trigger","steps":[[34,"ext","codeunit",310,"TestManual",1]]},{"name":"Location Code.OnValidate","line":45,"kind":"trigger","steps":[[49,"ext","codeunit",7302,"LocationIsAllowed",1],[64,"call","GetLocation",1],[67,"validate",7316,"Bin Code"],[68,"validate",7316,"Cross-Dock Bin Code"],[71,"event","OnValidateLocationCodeOnAfterTransferLocationFields",0]]},{"name":"Sorting Method.OnValidate","line":115,"kind":"trigger","steps":[[118,"call","SortWhseDoc",0]]},{"name":"Zone Code.OnValidate","line":132,"kind":"trigger","steps":[[136,"call","GetLocation",1],[140,"call","MessageIfReceiptLinesExist",1]]},{"name":"Bin Code.OnValidate","line":153,"kind":"trigger","steps":[[160,"call","GetLocation",1],[161,"ext","codeunit",7317,"CheckBinTypeAndCode",5],[166,"call","MessageIfReceiptLinesExist",1]]},{"name":"Cross-Dock Zone Code.OnValidate","line":203,"kind":"trigger","steps":[[207,"call","GetLocation",1],[211,"call","MessageIfReceiptLinesExist",1]]},{"name":"Cross-Dock Bin Code.OnValidate","line":225,"kind":"trigger","steps":[[231,"call","GetLocation",1],[245,"call","MessageIfReceiptLinesExist",1]]},{"name":"Receiving No. Series.OnLookup","line":267,"kind":"trigger","steps":[[272,"ext","codeunit",310,"LookupRelatedNoSeries",2],[273,"validate",7316,"Receiving No. Series"]]},{"name":"Receiving No. Series.OnValidate","line":277,"kind":"trigger","steps":[[282,"ext","codeunit",310,"TestAreRelated",2]]},{"name":"OnDelete","line":304,"kind":"trigger","steps":[[306,"call","DeleteRelatedLines",1]]},{"name":"OnInsert","line":309,"kind":"trigger","steps":[[315,"ext","codeunit",310,"AreRelated",2],[317,"ext","codeunit",310,"GetNextNo",2],[320,"ext","codeunit",310,"IsAutomatic",1],[323,"call","GetLocation",1],[324,"validate",7316,"Bin Code"],[325,"validate",7316,"Cross-Dock Bin Code"],[328,"event","OnAfterOnInsert",0]]},{"name":"AssistEdit","line":359,"kind":"procedure","params":1,"steps":[[364,"ext","codeunit",310,"LookupRelatedNoSeries",3],[367,"ext","codeunit",310,"GetNextNo",1],[372,"event","OnAfterAssistEdit",0]]},{"name":"SortWhseDoc","line":375,"kind":"procedure","params":0,"steps":[[382,"event","OnBeforeSortWhseDoc",1],[387,"call","GetLocation",1],[401,"event","OnSortWhseDocOnCaseSortingMethodElse",0],[408,"write",7317,"Modify"]]},{"name":"DeleteRelatedLines","line":426,"kind":"procedure","params":1,"steps":[[437,"event","OnBeforeDeleteWhseRcptRelatedLines",0],[446,"write",7317,"DeleteAll"],[449,"write",7317,"DeleteAll"],[453,"write",5768,"DeleteAll"],[458,"write",5770,"DeleteAll"]]},{"name":"LookupLocation","line":485,"kind":"procedure","params":1,"steps":[[492,"run","page",7347],[493,"validate",7316,"Location Code"]]},{"name":"GetLocation","line":497,"kind":"procedure","params":1,"steps":[[502,"event","OnBeforeGetLocation",1],[507,"ext","table",14,"GetLocationSetup",2]]},{"name":"FindFirstAllowedRec","line":520,"kind":"procedure","params":1,"steps":[[528,"ext","codeunit",7302,"LocationIsAllowedToView",1],[535,"ext","codeunit",7302,"LocationIsAllowedToView",1]]},{"name":"FindNextAllowedRec","line":547,"kind":"procedure","params":1,"steps":[[559,"ext","codeunit",7302,"LocationIsAllowedToView",1]]},{"name":"ErrorIfUserIsNotWhseEmployee","line":570,"kind":"procedure","params":0,"steps":[[575,"event","OnBeforeErrorIfUserIsNotWhseEmployee",1],[579,"ext","codeunit",7302,"CheckUserIsWhseEmployee",0]]},{"name":"ReceiptLinesEditable","line":582,"kind":"procedure","params":0,"steps":[[586,"event","OnAfterReceiptLinesEditable",0]]},{"name":"BinCodeMandatory","line":589,"kind":"procedure","params":0,"steps":[[591,"call","GetLocation",1]]}]}