{"title":"Codeunit 21 Item Jnl.-Check Line, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/21-item-jnl-check-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":21,"name":"Item Jnl.-Check Line","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/21-item-jnl-check-line/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/21-item-jnl-check-line/source/","path":"src/Layers/W1/BaseApp/Inventory/Journal/ItemJnlCheckLine.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:83":{"name":"Item Journal Line","url":"https://jonas-paprotka.de/ref/table/83-item-journal-line/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"},"codeunit:19":{"name":"Gen. Jnl.-Post Preview","url":"https://jonas-paprotka.de/ref/codeunit/19-gen-jnl-post-preview/"},"codeunit:7302":{"name":"WMS Management","url":"https://jonas-paprotka.de/ref/codeunit/7302-wms-management/"},"codeunit:5700":{"name":"User Setup Management","url":"https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/"},"table:5814":{"name":"Inventory Period","url":"https://jonas-paprotka.de/ref/table/5814-inventory-period/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"},"table:14":{"name":"Location","url":"https://jonas-paprotka.de/ref/table/14-location/"}},"procs":[{"name":"OnRun","line":22,"kind":"trigger","steps":[[24,"call","RunCheck",1]]},{"name":"RunCheck","line":54,"kind":"procedure","params":1,"steps":[[66,"ext","table",83,"EmptyLine",0],[67,"ext","table",83,"IsValueEntryForDeletedItem",0],[70,"ext","table",83,"OnlyStopTime",0],[75,"event","OnBeforeGetItem",1],[81,"event","OnAfterGetItem",1],[89,"call","CheckDates",1],[92,"event","OnBeforeCheckLocation",1],[102,"event","OnRunCheckOnAfterCalcShouldCheckLocationCode",0],[119,"call","CheckVariantMandatory",2],[121,"call","CheckInTransitLocations",1],[123,"ext","table",27,"IsInventoriableType",0],[124,"call","CheckBins",1],[129,"event","OnRunCheckOnAfterCalcShouldCheckDiscountAmount",0],[147,"call","CheckEmptyQuantity",1],[151,"call","CheckPhysInventory",1],[153,"call","CheckOutputFields",1],[156,"event","OnRunCheckOnAfterCalcShouldCheckApplication",0],[172,"event","OnRunOnCheckWarehouse",0],[175,"event","OnRunCheckOnBeforeTestFieldAppliesToEntry",1],[181,"call","CheckDimensions",1],[185,"ext","table",83,"IsSourceProductionJournal",0],[186,"ext","table",83,"IsSourceCapacityJournal",0],[187,"ext","codeunit",19,"IsActive",0],[189,"ext","table",83,"CheckItemJournalLineRestriction",0],[191,"event","OnAfterCheckItemJnlLine",0]]},{"name":"CheckOutputFields","line":194,"kind":"procedure","access":"local","params":1,"steps":[[199,"event","OnBeforeCheckOutputFields",1],[203,"event","OnCheckOutputFields",0]]},{"name":"CheckEmptyQuantity","line":206,"kind":"procedure","access":"local","params":1,"steps":[[211,"event","OnBeforeCheckEmptyQuantity",1],[215,"event","OnCheckEmptyQuantity",0]]},{"name":"CheckBins","line":237,"kind":"procedure","access":"local","params":1,"steps":[[244,"event","OnBeforeCheckBins",1],[252,"call","GetLocation",1],[253,"call","CheckNewBinCode",1],[255,"call","GetLocation",1],[260,"ext","table",83,"OnlyStopTime",0],[264,"event","OnCheckBinsOnCheckForEntryTypeOutput",0],[269,"event","OnCheckBinsOnBeforeCheckNonZeroQuantity",1],[277,"ext","codeunit",7302,"CheckInbOutbBin",3],[282,"ext","codeunit",7302,"CheckInbOutbBin",3],[285,"call","GetLocation",1],[287,"ext","codeunit",7302,"CheckInbOutbBin",3],[289,"ext","codeunit",7302,"CheckInbOutbBin",3]]},{"name":"CheckNewBinCode","line":294,"kind":"procedure","access":"local","params":1,"steps":[[299,"event","OnBeforeCheckNewBinCode",1]]},{"name":"CheckDates","line":307,"kind":"procedure","access":"local","params":1,"steps":[[318,"event","OnBeforeDateNotAllowed",0],[320,"ext","codeunit",5700,"CheckAllowedPostingDate",1],[322,"ext","table",5814,"IsValidDate",1],[323,"event","OnCheckDatesOnAfterCalcShouldShowError",0],[325,"ext","table",5814,"ShowError",1],[327,"call","CheckEarliestAllowedValuationDate",1],[328,"call","CheckAppliesToEntryBeforeEarliestAllowedValDate",1]]},{"name":"CheckEarliestAllowedValuationDate","line":335,"kind":"procedure","access":"local","params":1,"steps":[[341,"call","IsExemptFromValuationDateCheck",1]]},{"name":"CheckAppliesToEntryBeforeEarliestAllowedValDate","line":362,"kind":"procedure","access":"local","params":1,"steps":[[369,"call","IsExemptFromValuationDateCheck",1]]},{"name":"CheckDimensions","line":393,"kind":"procedure","access":"local","params":1,"steps":[[400,"event","OnBeforeCheckDimensions",1],[404,"ext","table",83,"IsValueEntryForDeletedItem",0],[405,"ext","codeunit",408,"CheckDimIDComb",1],[409,"ext","codeunit",408,"GetDimCombErr",0],[420,"event","OnCheckDimensionsOnAfterSetTableValues",0],[425,"call","CheckDimensionsAfterAssignDimTableIDs",4],[428,"call","CheckDimensionsAfterAssignDimTableIDs",4],[438,"call","CheckDimensionsAfterAssignDimTableIDs",4],[439,"ext","codeunit",408,"CheckDefaultDimensionHasCodeMandatory",2],[442,"call","CheckDimensionsAfterAssignDimTableIDs",4],[444,"call","CheckDimensionsAfterAssignDimTableIDs",4],[450,"ext","codeunit",408,"CheckDimIDComb",1],[454,"ext","codeunit",408,"GetDimValuePostingErr",0],[456,"ext","codeunit",408,"GetDimValuePostingErr",0]]},{"name":"CheckPhysInventory","line":461,"kind":"procedure","access":"local","params":1,"steps":[[466,"event","OnBeforeCheckPhysInventory",1]]},{"name":"CheckInTransitLocation","line":510,"kind":"procedure","access":"local","params":1,"steps":[[512,"ext","table",14,"IsInTransit",1]]},{"name":"CheckInTransitLocations","line":516,"kind":"procedure","access":"local","params":1,"steps":[[521,"event","OnBeforeCheckInTransitLocations",1],[528,"call","CheckInTransitLocation",1],[529,"call","CheckInTransitLocation",1]]},{"name":"CheckVariantMandatory","line":533,"kind":"procedure","access":"local","params":2,"steps":[[538,"event","OnBeforeCheckVariantMandatory",1],[548,"ext","table",27,"IsVariantMandatory",1]]},{"name":"CheckDimensionsAfterAssignDimTableIDs","line":552,"kind":"procedure","access":"local","params":4,"steps":[[558,"event","OnCheckDimensionsOnAfterAssignDimTableIDs",0],[559,"ext","codeunit",408,"CheckDimValuePosting",3],[563,"ext","codeunit",408,"GetDimValuePostingErr",0],[565,"ext","codeunit",408,"GetDimValuePostingErr",0]]}]}