Table 5876 Phys. Invt. Order Line

Base Application, Microsoft.Inventory.Counting.Document

src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderLine.Table.al44 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Item No..OnValidate line 55, trigger

  1. 59callsTestStatusOpen
  2. 66callsResetQtyExpected
  3. 71callsGetPhysInvtOrderHeader
  4. 72callsGetItem
  5. 73callsTestItemNotBlocked
  6. 75validatesTable 5876 Phys. Invt. Order Line Description
  7. 76validatesTable 5876 Phys. Invt. Order Line Description 2
  8. 78validatesTable 5876 Phys. Invt. Order Line Base Unit of Measure Code
  9. 87validatesTable 5876 Phys. Invt. Order Line Gen. Bus. Posting Group
  10. 88validatesTable 5876 Phys. Invt. Order Line Gen. Prod. Posting Group
  11. 89validatesTable 5876 Phys. Invt. Order Line Inventory Posting Group
  12. 90raisesOnValidateItemNoOnAfterInitFromItem
  13. 91callsCreateDimFromDefaultDim
  14. 96callsCodeunit 5889 Phys. Invt. Tracking Mgt. SuggestUseTrackingLines
  15. 98callsGetShelfNo
  16. 100raisesOnAfterValidateItemNo

Variant Code.OnValidate line 109, trigger

  1. 111callsTestStatusOpen
  2. 112callsTestItemVariantNotBlocked
  3. 116callsResetQtyExpected
  4. 117callsGetShelfNo
  5. 121callsGetItem
  6. 122validatesTable 5876 Phys. Invt. Order Line Description
  7. 123validatesTable 5876 Phys. Invt. Order Line Description 2

Location Code.OnValidate line 140, trigger

  1. 142callsTestStatusOpen
  2. 146callsResetQtyExpected
  3. 148callsGetShelfNo
  4. 149callsCreateDimFromDefaultDim

Bin Code.OnValidate line 158, trigger

  1. 164raisesOnBeforeValidateBinCodeIsHandled
  2. 168callsTestStatusOpen
  3. 179callsResetQtyExpected

Use Item Tracking.OnValidate line 222, trigger

  1. 224callsTestStatusOpen
  2. 227callsResetQtyExpected

Shortcut Dimension 1 Code.OnValidate line 321, trigger

  1. 323callsValidateShortcutDimCode
  2. 324writesTable 5876 Phys. Invt. Order Line Modify

Shortcut Dimension 2 Code.OnValidate line 335, trigger

  1. 337callsValidateShortcutDimCode
  2. 338writesTable 5876 Phys. Invt. Order Line Modify

Dimension Set ID.OnLookup line 367, trigger

  1. 369callsShowDimensions

Dimension Set ID.OnValidate line 372, trigger

  1. 376callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID

Item Reference No..OnLookup line 391, trigger

  1. 393callsCodeunit 5720 Item Reference Management PhysicalInventoryOrderReferenceNoLookup

Item Reference No..OnValidate line 396, trigger

  1. 400callsCodeunit 5720 Item Reference Management ValidatePhysicalInventoryOrderReferenceNo

OnDelete line 453, trigger

  1. 455callsTestStatusOpen
  2. 458callsTable 6026 Exp. Invt. Order Tracking DeleteLine
  3. 461callsTable 337 Reservation Entry SetSourceFilter
  4. 462callsTable 337 Reservation Entry SetSourceFilter
  5. 463writesTable 337 Reservation Entry DeleteAll

OnInsert line 466, trigger

  1. 468callsGetPhysInvtOrderHeader

TestItemNotBlocked line 513, local

  1. 518raisesOnBeforeTestItemNotBlockedIsHandled

TestItemVariantNotBlocked line 525, local

  1. 535raisesOnBeforeTestItemVariantNotBlockedIsHandled

TestStatusOpen line 542

  1. 544callsGetPhysInvtOrderHeader

CalcQtyAndTrackLinesExpected line 548

  1. 550callsEmptyLine
  2. 553callsGetItem
  3. 555callsGetPhysInvtOrderHeader
  4. 558callsTestStatusOpen
  5. 560raisesOnCalcQtyAndTrackLinesExpectedOnBeforeCalcQtyAndLastItemLedgExpected
  6. 561callsCalcQtyAndLastItemLedgExpected
  7. 568writesTable 6026 Exp. Invt. Order Tracking DeleteAll
  8. 569callsCodeunit 5889 Phys. Invt. Tracking Mgt. LocationIsBinMandatory
  9. 570callsProcessItemLedgerEntry
  10. 572callsCodeunit 5889 Phys. Invt. Tracking Mgt. GetTrackingNosFromWhse
  11. 573callsProcessWarehouseEntry
  12. 575raisesOnCalcQtyAndTrackLinesExpectedOnPhysInvtTrackingNotGet

ProcessItemLedgerEntry line 581, local

  1. 593raisesOnCalcQtyAndTrackLinesExpectedSetItemLedgEntryFilters
  2. 597callsTable 6565 Item Tracking Setup CopyTrackingFromItemLedgerEntry
  3. 598callsTable 6026 Exp. Invt. Order Tracking InsertLine
  4. 599raisesOnCalcQtyAndTrackLinesExpectedOnAfterExpPhysInvtTrackingInsertLine2
  5. 602raisesOnCalcQtyAndTrackLinesExpectedOnBeforeModifyFromItemLedgEntry2
  6. 603writesTable 6026 Exp. Invt. Order Tracking Modify
  7. 605raisesOnCalcQtyAndTrackLinesExpectedOnAfterHandleItemLedgerEntryTracking2
  8. 607callsTable 6026 Exp. Invt. Order Tracking DeleteLine
  9. 608raisesOnCalcQtyAndTrackLinesExpectedOnAfterDeleteLineItemLedgEntry2
  10. 609callsTestQtyExpected

ProcessWarehouseEntry line 612, local

  1. 624raisesOnCalcQtyAndTrackLinesExpectedOnAfterSetWhseEntryFilters
  2. 628callsTable 6565 Item Tracking Setup CopyTrackingFromWhseEntry
  3. 629callsTable 6026 Exp. Invt. Order Tracking InsertLine
  4. 630raisesOnCalcQtyAndTrackLinesExpectedOnAfterExpPhysInvtTrackingInsertLineFromWhseEntry2
  5. 633raisesOnCalcQtyAndTrackLinesExpectedOnBeforeInsertFromWhseEntry2
  6. 634writesTable 6026 Exp. Invt. Order Tracking Modify
  7. 636raisesOnCalcQtyAndTrackLinesExpectedOnAfterHandleWarehouseEntryTracking2
  8. 638callsTable 6026 Exp. Invt. Order Tracking DeleteLine
  9. 639raisesOnCalcQtyAndTrackLinesExpectedOnAfterDeleteLineWhseEntry2
  10. 640callsTestQtyExpected

CalcQtyAndLastItemLedgExpected line 643

  1. 648callsGetPhysInvtOrderHeader
  2. 651callsTestStatusOpen
  3. 661callsCodeunit 5889 Phys. Invt. Tracking Mgt. LocationIsBinMandatory
  4. 670raisesOnCalcQtyAndLastItemLedgExpectedSetWhseEntryFilters
  5. 673raisesOnCalcQtyAndLastItemLedgExpectedOnAfterCalcWhseEntryQtyExpected
  6. 681raisesOnCalcQtyAndLastItemLedgExpectedSetItemLedgEntryFilters
  7. 684raisesOnCalcQtyAndLastItemLedgExpectedOnAfterCalcItemLedgEntryQtyExpected
  8. 687raisesOnAfterCalcQtyAndLastItemLedgExpected

ResetQtyExpected line 690

  1. 694callsTable 6026 Exp. Invt. Order Tracking DeleteLine
  2. 699raisesOnAfterResetQtyExpected

TestQtyExpected line 702

  1. 707callsCodeunit 5889 Phys. Invt. Tracking Mgt. LocationIsBinMandatory
  2. 708callsCodeunit 5889 Phys. Invt. Tracking Mgt. GetTrackingNosFromWhse

TestQtyRecorded line 719

  1. 731raisesOnTestQtyRecordedOnAfterPhysInvtRecordLineSetFilters
  2. 735raisesOnTestQtyRecordedOnBeforeValidateRecordLine
  3. 742callsTable 5878 Phys. Invt. Record Line TrackingExists

CalcCosts line 755

  1. 759callsEmptyLine
  2. 763callsTestStatusOpen
  3. 767callsGetPhysInvtOrderHeader
  4. 770raisesOnCalcCostsOnAfterInitItemJnlLine
  5. 782validatesTable 83 Item Journal Line Item No.
  6. 783validatesTable 83 Item Journal Line Variant Code
  7. 784validatesTable 83 Item Journal Line Location Code
  8. 786validatesTable 5876 Phys. Invt. Order Line Unit Amount
  9. 787validatesTable 5876 Phys. Invt. Order Line Unit Cost

CheckLine line 790

  1. 795raisesOnBeforeCheckLineIsHandled
  2. 800callsTestQtyExpected
  3. 802callsTestQtyRecorded

PrepareLineArgs line 828

  1. 835raisesOnAfterPrepareLineArgs

PrepareLine line 856

  1. 861validatesTable 5876 Phys. Invt. Order Line Item No.
  2. 862validatesTable 5876 Phys. Invt. Order Line Variant Code
  3. 863validatesTable 5876 Phys. Invt. Order Line Location Code
  4. 864validatesTable 5876 Phys. Invt. Order Line Bin Code
  5. 868raisesOnAfterPrepareLine

ShowDimensions line 871

  1. 873callsEmptyLine
  2. 876callsCodeunit 408 DimensionManagement EditDimensionSet

CreateDim line 881

  1. 889callsGetPhysInvtOrderHeader
  2. 891callsCodeunit 408 DimensionManagement GetDefaultDimID
  3. 893callsCodeunit 408 DimensionManagement UpdateGlobalDimFromDimSetID
  4. 895raisesOnAfterCreateDim

ValidateShortcutDimCode line 898

  1. 900raisesOnBeforeValidateShortcutDimCode
  2. 902callsCodeunit 408 DimensionManagement ValidateShortcutDimValues
  3. 904raisesOnAfterValidateShortcutDimCode

LookupShortcutDimCode line 907

  1. 909callsCodeunit 408 DimensionManagement LookupDimValueCode
  2. 910callsCodeunit 408 DimensionManagement ValidateShortcutDimValues

ShowShortcutDimCode line 913

  1. 915callsCodeunit 408 DimensionManagement GetShortcutDimensions

ShowPhysInvtRecordingLines line 918

  1. 922callsEmptyLine

ShowExpectPhysInvtTrackLines line 935

  1. 937callsEmptyLine

ShowItemTrackingLines line 949

  1. 951callsEmptyLine
  2. 959callsTable 337 Reservation Entry SetSourceFilter
  3. 960callsTable 337 Reservation Entry SetSourceFilter
  4. 970runsPage 5893 Phys. Invt. Item Track. List

ShowItemLedgerEntries line 973

  1. 977callsEmptyLine
  2. 981callsGetPhysInvtOrderHeader
  3. 984callsTable 32 Item Ledger Entry SetItemVariantLocationFilters
  4. 986raisesOnBeforeShowItemLedgerEntries

ShowPhysInvtLedgerEntries line 990

  1. 994callsEmptyLine
  2. 998callsGetPhysInvtOrderHeader
  3. 1007raisesOnBeforeShowPhysInvtLedgerEntries

GetShelfNo line 1011, local

  1. 1013callsGetItem
  2. 1015callsGetFieldsFromSKU

GetFieldsFromSKU line 1018

  1. 1021validatesTable 5876 Phys. Invt. Order Line Shelf No.
  2. 1022raisesOnAfterGetFieldsFromSKU

CreateDimFromDefaultDim line 1044

  1. 1048callsInitDefaultDimensionSources
  2. 1049callsCreateDim

CreateDimFromDefaultDim line 1052

  1. 1056callsCodeunit 408 DimensionManagement IsDefaultDimDefinedForTable
  2. 1056callsGetTableValuePair
  3. 1058callsInitDefaultDimensionSources
  4. 1059callsCreateDim

GetTableValuePair line 1062, local

  1. 1071raisesOnAfterInitTableValuePair

InitDefaultDimensionSources line 1074, local

  1. 1076callsCodeunit 408 DimensionManagement AddDimSource
  2. 1077callsCodeunit 408 DimensionManagement AddDimSource
  3. 1079raisesOnAfterInitDefaultDimensionSources

GetDateForCalculations line 1082

  1. 1084callsGetPhysInvtOrderHeader