Codeunit 5880 Phys. Invt. Order-Finish

Base Application, Microsoft.Inventory.Counting.Document

src/Layers/W1/BaseApp/Inventory/Counting/Document/PhysInvtOrderFinish.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 17, trigger

  1. 19raisesOnBeforeOnRun
  2. 21callsCode
  3. 24raisesOnAfterOnRun

Code line 45

  1. 50raisesOnBeforeCode
  2. 75raisesOnCodeOnAfterSetFilters
  3. 82callsTable 5876 Phys. Invt. Order Line EmptyLine
  4. 83callsCheckOrderLine
  5. 96raisesOnCodeOnAfterSetEntryTypePhysInvtOrderLine
  6. 99callsIsBinMandatoryNoWhseTracking
  7. 104writesTable 6025 Invt. Order Tracking DeleteAll
  8. 105callsCreateOrderTrackingBufferLines
  9. 106callsCreateReservationEntries
  10. 114raisesOnCodeOnBeforePhysInvtOrderLineCalcCostsIsHandled
  11. 116callsTable 5876 Phys. Invt. Order Line CalcCosts
  12. 118raisesOnBeforePhysInvtOrderLineModify
  13. 119writesTable 5876 Phys. Invt. Order Line Modify
  14. 129raisesOnCodeOnAfterSetFilters
  15. 132callsIsNewPhysInvtOrderLineGroup
  16. 136callsIsBinMandatoryNoWhseTracking
  17. 138writesTable 6025 Invt. Order Tracking DeleteAll
  18. 139callsUpdateBufferFromItemLedgerEntries
  19. 141callsSetPhysInvtRecordLineFilters
  20. 154callsUpdateBufferRecordedQty
  21. 155raisesOnCodeOnAfterUpdateFromPhysInvtRecordLine2
  22. 165raisesOnCodeOnBeforeModifyInvtOrderTracking
  23. 166writesTable 6025 Invt. Order Tracking Modify
  24. 174writesTable 5876 Phys. Invt. Order Line Modify
  25. 177raisesOnCodeOnBeforeCreateReservEntriesIsHandled
  26. 179callsCreateReservationEntries
  27. 184raisesOnCodeOnBeforePhysInvtOrderLine2CalcCostsIsHandled
  28. 186callsTable 5876 Phys. Invt. Order Line CalcCosts
  29. 187writesTable 5876 Phys. Invt. Order Line Modify
  30. 193raisesOnCodeOnBeforeSetStatusToFinished
  31. 195writesTable 5875 Phys. Invt. Order Header Modify

CheckOrderLine line 198, local

  1. 204raisesOnBeforeCheckOrderLineIsHandled
  2. 208callsTable 5876 Phys. Invt. Order Line CheckLine
  3. 219raisesOnBeforeGetSamePhysInvtOrderLineIsHandled
  4. 221callsTable 5875 Phys. Invt. Order Header GetSamePhysInvtOrderLine

CreateOrderTrackingBufferLines line 227

  1. 242callsUpdateBufferRecordedQty
  2. 243raisesOnCreateOrderTrackingBufferLinesFromPhysInvtRecordLine
  3. 254callsUpdateBufferExpectedQty
  4. 255raisesOnCreateOrderTrackingBufferLinesFromExpInvtOrderTracking
  5. 265raisesOnCreateOrderTrackingBufferLinesOnBeforeModifyTempInvtOrderTrackingBuffer
  6. 266writesTable 6025 Invt. Order Tracking Modify

CreateReservationEntries line 270

  1. 281callsCalculateQtyToTransfer
  2. 286validatesTable 337 Reservation Entry Item No.
  3. 287validatesTable 337 Reservation Entry Variant Code
  4. 288validatesTable 337 Reservation Entry Location Code
  5. 289validatesTable 337 Reservation Entry Serial No.
  6. 290validatesTable 337 Reservation Entry Lot No.
  7. 291validatesTable 337 Reservation Entry Package No.
  8. 292validatesTable 337 Reservation Entry Expiration Date
  9. 293validatesTable 337 Reservation Entry Source Type
  10. 294validatesTable 337 Reservation Entry Source ID
  11. 295validatesTable 337 Reservation Entry Source Ref. No.
  12. 296validatesTable 337 Reservation Entry Quantity
  13. 303validatesTable 337 Reservation Entry Creation Date
  14. 311writesTable 337 Reservation Entry Insert
  15. 312raisesOnCreateReservEntriesOnBeforeInsert2
  16. 315writesTable 337 Reservation Entry Modify
  17. 319writesTable 6025 Invt. Order Tracking Modify
  18. 320raisesOnCreateReservEntriesOnAfterTempPhysInvtTrackingBufferModify

CalculateQtyToTransfer line 324, local

  1. 339raisesOnAfterCalculateQtyToTransfer

IsBinMandatoryNoWhseTracking line 342, local

  1. 344callsCodeunit 5889 Phys. Invt. Tracking Mgt. LocationIsBinMandatory
  2. 344callsCodeunit 5889 Phys. Invt. Tracking Mgt. GetTrackingNosFromWhse

UpdateBufferFromItemLedgerEntries line 347, local

  1. 360callsTable 6565 Item Tracking Setup CopyTrackingFromitemLedgerEntry
  2. 361callsUpdateBufferExpectedQty
  3. 362raisesOnUpdateBufferFromItemLedgerEntriesOnAfterUpdateExpectedQty2

UpdateBufferRecordedQty line 366, local

  1. 375writesTable 6025 Invt. Order Tracking Insert
  2. 378writesTable 6025 Invt. Order Tracking Modify

UpdateBufferExpectedQty line 382, local

  1. 391writesTable 6025 Invt. Order Tracking Insert
  2. 394writesTable 6025 Invt. Order Tracking Modify

IsNewPhysInvtOrderLineGroup line 399, local

  1. 405raisesOnAfterIsNewPhysInvtOrderLineGroup

SetPhysInvtRecordLineFilters line 408, local

  1. 417raisesOnAfterSetPhysInvtRecordLineFilters