Codeunit 21 "Item Jnl.-Check Line"
Base Application · Microsoft.Inventory.Journal
Across versions
- BC23-24present
- BC251 events added
- BC268 procedures added, 6 events changed
- BC273 events added
- BC283 procedures added
- BC298 procedures removed, 8 events removed
- BC30unchanged
Neighbourhood 11 connected objects and pages
Base Application · Microsoft.Inventory.Journal · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Item Journal Line |
Events published
OnAfterCheckItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; CalledFromInvtPutawayPick: Boolean; CalledFromAdjustment: Boolean)(integration)OnAfterGetItem(Item: Record Item; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeCheckBins(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean; CalledFromAdjustment: Boolean)(integration)OnBeforeCheckDimensions(var ItemJournalLine: Record "Item Journal Line"; CalledFromAdjustment: Boolean; var IsHandled: Boolean)(integration)OnBeforeCheckInTransitLocations(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeCheckLocation(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeCheckOutputFields(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeDateNotAllowed(ItemJnlLine: Record "Item Journal Line"; var DateCheckDone: Boolean)(integration)OnBeforeCheckPhysInventory(ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeCheckEmptyQuantity(ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 20541 “Subc. Transfer WIP Posting” HandleWipTransferOnBeforeCheckEmptyQuantity
OnBeforeCheckNewBinCode(ItemJnlLine: Record "Item Journal Line"; Location: Record Location; var IsHandled: Boolean)(integration)OnCheckBinsOnBeforeCheckNonZeroQuantity(ItemJnlLine: Record "Item Journal Line"; var CalledFromAdjustment: Boolean; var IsHandled: Boolean)(integration)OnCheckDatesOnAfterCalcShouldShowError(var ItemJournalLine: Record "Item Journal Line"; var ShouldShowError: Boolean; CalledFromAdjustment: Boolean)(integration)OnCheckDimensionsOnAfterAssignDimTableIDs(var ItemJnlLine: Record "Item Journal Line"; var TableID: array[10] of Integer; var No: array[10] of Code[20])(integration)OnRunCheckOnAfterCalcShouldCheckLocationCode(var ItemJournalLine: Record "Item Journal Line"; var ShouldCheckLocationCode: Boolean)(integration)OnRunCheckOnAfterCalcShouldCheckDiscountAmount(var ItemJournalLine: Record "Item Journal Line"; var ShouldCheckDiscountAmount: Boolean)(integration)OnBeforeCheckVariantMandatory(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnRunCheckOnAfterCalcShouldCheckApplication(var ItemJournalLine: Record "Item Journal Line"; var ShouldCheckApplication: Boolean)(integration)OnRunCheckOnBeforeTestFieldAppliesToEntry(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeGetItem(var Item: Record Item; var IsHandled: Boolean; ItemJournalLine: Record "Item Journal Line")+ BC25 + BC26 − BC26 (integration)OnRunOnCheckWarehouse(var ItemJournalLine: Record "Item Journal Line"; CalledFromAdjustment: Boolean; CalledFromInvtPutawayPick: Boolean)+ BC26 (integration)- subscribers: Codeunit 910 “Asm. Item Jnl.-Check Line” OnRunOnCheckWarehouse, Codeunit 99000760 “Mfg. Item Jnl. Check Line” OnRunOnCheckWarehouse
OnCheckDimensionsOnAfterSetTableValues(ItemJournalLine: Record "Item Journal Line"; var TableID: array[10] of Integer; var No: array[10] of Code[20])+ BC26 (integration)- subscribers: Codeunit 99000760 “Mfg. Item Jnl. Check Line” OnCheckDimensionsOnAfterSetTableValues
OnCheckEmptyQuantity(var ItemJournalLine: Record "Item Journal Line")+ BC27 (integration)- subscribers: Codeunit 99000760 “Mfg. Item Jnl. Check Line” OnCheckEmptyQuantity
OnCheckOutputFields(var ItemJournalLine: Record "Item Journal Line")+ BC27 (internal)- subscribers: Codeunit 99000760 “Mfg. Item Jnl. Check Line” OnCheckOutputFields
OnCheckBinsOnCheckForEntryTypeOutput(var ItemJournalLine: Record "Item Journal Line"; var ShouldExit: Boolean)+ BC27 (internal)- subscribers: Codeunit 99000760 “Mfg. Item Jnl. Check Line” OnCheckBinsOnCheckForEntryTypeOutput
Procedures
RunCheck(var ItemJournalLine: Record "Item Journal Line")SetCalledFromInvtPutawayPick(NewCalledFromInvtPutawayPick: Boolean)SetCalledFromAdjustment(NewCalledFromAdjustment: Boolean)
Plus 15 local procedures.
Triggers
OnRun
Relations
- runs on Table 83 “Item Journal Line”
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (6 calls:
CheckDimensions → CheckDefaultDimensionHasCodeMandatory,CheckDimensions → CheckDimIDComb,CheckDimensions → GetDimCombErr, …) - Codeunit 19 “Gen. Jnl.-Post Preview” (1 call:
RunCheck → IsActive) - Codeunit 5700 “User Setup Management” (1 call:
CheckDates → CheckAllowedPostingDate) - Codeunit 7302 “WMS Management” (1 call:
CheckBins → CheckInbOutbBin)
Called by
- Codeunit 22 “Item Jnl.-Post Line” (4 calls:
Code → RunCheck,Code → SetCalledFromAdjustment,Code → SetCalledFromInvtPutawayPick, …) - Codeunit 23 “Item Jnl.-Post Batch” (1 call:
CheckLines → RunCheck) - Codeunit 9078 “Check Item Jnl. Line. Backgr.” (1 call:
RunItemJnlCheckLineCodeunit → (object))
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Item Jnl.-Check Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.