Codeunit 5884 Phys. Invt. Order-Post

Base Application, Microsoft.Inventory.Counting.Document

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

OnRun line 37, trigger

  1. 41callsCodeunit 9500 Sequence No. Mgt. SetPreviewMode
  2. 43callsCode
  3. 46raisesOnAfterOnRun

Code line 90

  1. 99raisesOnBeforeCode
  2. 119callsCodeunit 310 No. Series GetNextNo
  3. 125writesTable 5875 Phys. Invt. Order Header Modify
  4. 130callsCheckDim
  5. 136raisesOnCodeOnAfterSetFilters
  6. 143callsTable 5876 Phys. Invt. Order Line EmptyLine
  7. 144callsCheckOrderLine
  8. 147callsIsDifference
  9. 148callsThrowDifferenceError
  10. 155callsCodeunit 7380 Phys. Invt. Count.-Management InitTempItemSKUList
  11. 156callsCodeunit 7380 Phys. Invt. Count.-Management AddToTempItemSKUList
  12. 158callsCodeunit 7380 Phys. Invt. Count.-Management UpdateItemSKUListPhysInvtCount
  13. 164raisesOnCodeOnBeforeCheckLinesToPostIsHandled
  14. 167callsCodeunit 9070 Document Errors Mgt. GetNothingToPostErrorMsg
  15. 174callsInsertPostedHeader
  16. 182callsPostPhysInventoryOrderLine
  17. 187callsPostPhysInventoryOrderLine
  18. 188raisesOnCodeOnAferPostPhysInventoryOrderLineNonNegative
  19. 198writesTable 6027 Pstd.Exp.Invt.Order.Tracking Insert
  20. 201callsInsertPostedRecordings
  21. 209callsInsertPostedCommentLine
  22. 212writesTable 5883 Phys. Invt. Comment Line DeleteAll
  23. 219callsInsertPostedCommentLine
  24. 222writesTable 5883 Phys. Invt. Comment Line DeleteAll
  25. 226callsMakeInventoryAdjustment
  26. 227raisesOnCodeOnAfterMakeInventoryAdjustment
  27. 230callsCodeunit 19 Gen. Jnl.-Post Preview ThrowError
  28. 231callsFinalizePost
  29. 233raisesOnAfterCode

CheckOrderLine line 236, local

  1. 241callsTable 5876 Phys. Invt. Order Line CheckLine
  2. 244raisesOnCheckOrderLineOnBeforeTestFieldItemBlockedIsHandled
  3. 252raisesOnCheckOrderLineOnBeforeTestFieldItemVariantBlockedIsHandled
  4. 258raisesOnCheckOrderLineOnBeforeGetSamePhysInvtOrderLineIsHandled
  5. 260callsTable 5875 Phys. Invt. Order Header GetSamePhysInvtOrderLine

CheckDim line 264, local

  1. 267callsCheckDimValuePosting
  2. 268callsCheckDimComb
  3. 273callsCheckDimComb
  4. 274callsCheckDimValuePosting

CheckDimComb line 278, local

  1. 281callsCodeunit 408 DimensionManagement CheckDimIDComb
  2. 284callsCodeunit 408 DimensionManagement GetDimCombErr
  3. 287callsCodeunit 408 DimensionManagement CheckDimIDComb
  4. 290callsCodeunit 408 DimensionManagement GetDimCombErr

CheckDimValuePosting line 293, local

  1. 302callsCodeunit 408 DimensionManagement CheckDimValuePosting
  2. 305callsCodeunit 408 DimensionManagement GetDimValuePostingErr

PostItemJnlLine line 308, local

  1. 346validatesTable 83 Item Journal Line Unit Amount
  2. 347validatesTable 83 Item Journal Line Unit Cost
  3. 350raisesOnPostItemJnlLineOnBeforeTransferResEntry
  4. 351callsCodeunit 5889 Phys. Invt. Tracking Mgt. TransferResEntryToItemJnlLine
  5. 353raisesOnBeforeItemJnlPostLine
  6. 354callsCodeunit 22 Item Jnl.-Post Line RunWithCheck

InsertPostedHeader line 357, local

  1. 361raisesOnBeforeInsertPostedHeader
  2. 365raisesOnInsertPostedHeaderOnAfterTransferfields
  3. 379raisesOnInsertPostedHeaderOnBeforeInsertIsHandled
  4. 381writesTable 5879 Pstd. Phys. Invt. Order Hdr Insert

InsertPostedLine line 384, local

  1. 389raisesOnBeforeInsertPostedLineIsHandled
  2. 395writesTable 5880 Pstd. Phys. Invt. Order Line Insert

InsertPostedCommentLine line 398, local

  1. 404writesTable 5883 Phys. Invt. Comment Line Insert

InsertPostedRecordings line 407, local

  1. 422raisesOnInsertPostedRecordingsOnBeforeInsertHdrIsHandled
  2. 424writesTable 5881 Pstd. Phys. Invt. Record Hdr Insert
  3. 436raisesOnInsertPostedRecordingsOnBeforeInsertLineIsHandled
  4. 438writesTable 5882 Pstd. Phys. Invt. Record Line Insert
  5. 440writesTable 5878 Phys. Invt. Record Line DeleteAll
  6. 442writesTable 5877 Phys. Invt. Record Header DeleteAll

InsertEntryRelation line 445, local

  1. 452writesTable 336 Tracking Specification DeleteAll
  2. 456callsCodeunit 22 Item Jnl.-Post Line CollectTrackingSpecification
  3. 466writesTable 336 Tracking Specification Insert
  4. 471callsTable 6507 Item Entry Relation CopyTrackingFromSpec
  5. 480raisesOnInsertEntryRelationOnBeforeInsert
  6. 481writesTable 6507 Item Entry Relation Insert
  7. 484writesTable 336 Tracking Specification DeleteAll

FinalizePost line 487, local

  1. 491writesTable 6026 Exp. Invt. Order Tracking DeleteAll
  2. 494writesTable 5876 Phys. Invt. Order Line DeleteAll
  3. 495writesTable 5875 Phys. Invt. Order Header Delete

MakeInventoryAdjustment line 498, local

  1. 504callsTable 313 Inventory Setup AutomaticCostAdjmtRequired
  2. 505callsCodeunit 5894 Inventory Adjustment Handler MakeInventoryAdjustment

PostWhseJnlLine line 508, local

  1. 518raisesOnBeforePostWhseJnlLineIsHandled
  2. 524callsCodeunit 7302 WMS Management CreateWhseJnlLine
  3. 525callsTable 7311 Warehouse Journal Line SetSource
  4. 533callsCodeunit 6500 Item Tracking Management SplitWhseJnlLine
  5. 536raisesOnPostWhseJnlLineOnBeforeCheckWhseJnlLine
  6. 537callsCodeunit 7302 WMS Management CheckWhseJnlLine
  7. 538runsCodeunit 7301 Whse. Jnl.-Register Line

PostPhysInventoryOrderLine line 544, local

  1. 552callsInsertPostedLine
  2. 555raisesOnPostPhysInventoryOrderLineOnAfterInsertPostedLineIsHandled
  3. 557callsTable 5876 Phys. Invt. Order Line EmptyLine
  4. 564callsChecLocationDirectedPutAwayAndPick
  5. 568raisesOnPostPhysInventoryOrderLineOnBeforePostPositiveItemJnlLine
  6. 573callsPostItemJnlLine
  7. 576callsInsertEntryRelation
  8. 578callsPostWhseJnlLine
  9. 584callsPostItemJnlLine
  10. 587callsInsertEntryRelation
  11. 589callsPostWhseJnlLine

ChecLocationDirectedPutAwayAndPick line 595, local

  1. 600raisesOnBeforeChecLocationDirectedPutAwayAndPickIsHandled

IsDifference line 607, local

  1. 616raisesOnAfterIsDifference

ThrowDifferenceError line 619, local

  1. 633raisesOnThrowDifferenceError