Codeunit 130502 Library - Item Tracking

Application Test Library

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryItemTracking.Codeunit.al41 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AddSerialNoTrackingInfo line 24

  1. 28callsCreateItemTrackingCode
  2. 29validatesTable 27 Item Item Tracking Code
  3. 30validatesTable 27 Item Serial Nos.
  4. 30callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  5. 31writesTable 27 Item Modify(true)

AddLotNoTrackingInfo line 34

  1. 38callsCreateItemTrackingCode
  2. 39validatesTable 27 Item Item Tracking Code
  3. 40validatesTable 27 Item Lot Nos.
  4. 40callsCodeunit 131000 Library - Utility GetGlobalNoSeriesCode
  5. 41writesTable 27 Item Modify(true)

CheckLastItemLedgerEntry line 54

  1. 59callsTable 32 Item Ledger Entry SetTrackingFilterFromItemTrackingSetup
  2. 60callsCodeunit 130000 Assert IsTrue
  3. 63callsCodeunit 130000 Assert AreEqual

CheckReservationEntry line 68

  1. 73callsTable 337 Reservation Entry SetSourceFilter
  2. 78callsTable 337 Reservation Entry SetTrackingFilterFromItemTrackingSetup
  3. 79callsCodeunit 130000 Assert IsTrue
  4. 82callsCodeunit 130000 Assert AreEqual

CheckSalesReservationEntry line 86

  1. 93callsCheckReservationEntry

CheckPurchReservationEntry line 98

  1. 105callsCheckReservationEntry

CheckInvtDocReservationEntry line 110

  1. 117callsCheckReservationEntry

CreateAssemblyHeaderItemTracking line 131

  1. 136callsItemTracking

CreateAssemblyLineItemTracking line 148

  1. 153callsItemTracking

CreateItemJournalLineItemTracking line 175

  1. 182callsItemTracking

CreateItemTrackingLines line 185

  1. 190callsCodeunit 99000835 Item Jnl. Line-Reserve InitFromItemJnlLine
  2. 192callsTable 83 Item Journal Line IsInbound

CreateItemTrackingCodeWithExpirationDate line 196

  1. 198callsCreateItemTrackingCode
  2. 199validatesTable 6502 Item Tracking Code Use Expiration Dates
  3. 200writesTable 6502 Item Tracking Code Modify

CreateItemTrackingCode line 222

  1. 225validatesTable 6502 Item Tracking Code Code
  2. 226callsCodeunit 131000 Library - Utility GenerateRandomCode
  3. 227validatesTable 6502 Item Tracking Code SN Specific Tracking
  4. 228validatesTable 6502 Item Tracking Code Lot Specific Tracking
  5. 229validatesTable 6502 Item Tracking Code Package Specific Tracking
  6. 230writesTable 6502 Item Tracking Code Insert(true)

CreateItemReceiptItemTracking line 252

  1. 257callsItemTracking

CreateItemReclassJnLineItemTracking line 279

  1. 284callsItemTracking

CreateItemWithItemTrackingCode line 287

  1. 289callsCodeunit 132201 Library - Inventory CreateItem
  2. 290validatesTable 27 Item Item Tracking Code
  3. 291writesTable 27 Item Modify(true)

CreateLotItem line 295

  1. 297callsCodeunit 132201 Library - Inventory CreateItem
  2. 298callsAddLotNoTrackingInfo

CreateLotNoInformation line 302

  1. 306validatesTable 6505 Lot No. Information Item No.
  2. 307validatesTable 6505 Lot No. Information Variant Code
  3. 308validatesTable 6505 Lot No. Information Lot No.
  4. 309writesTable 6505 Lot No. Information Insert(true)

CreatePackageNoInformation line 312

  1. 316validatesTable 6515 Package No. Information Item No.
  2. 317validatesTable 6515 Package No. Information Package No.
  3. 318writesTable 6515 Package No. Information Insert(true)

CreatePlanningWkshItemTracking line 330

  1. 335callsItemTracking

CreateProdOrderItemTracking line 357

  1. 362callsItemTracking

CreateProdOrderCompItemTracking line 386

  1. 391callsItemTracking

CreatePurchOrderItemTracking line 415

  1. 422callsItemTracking

CreateReqWkshItemTracking line 425

  1. 427callsCreatePlanningWkshItemTracking

CreateSalesOrderItemTracking line 449

  1. 456callsItemTracking

CreateSerialItem line 459

  1. 461callsCodeunit 132201 Library - Inventory CreateItem
  2. 462callsAddSerialNoTrackingInfo

CreateSerialNoInformation line 466

  1. 470validatesTable 6504 Serial No. Information Item No.
  2. 471validatesTable 6504 Serial No. Information Variant Code
  3. 472validatesTable 6504 Serial No. Information Serial No.
  4. 473writesTable 6504 Serial No. Information Insert(true)

CreateTransferOrderItemTracking line 495

  1. 502callsItemTracking

CreateWhseInvtPickItemTracking line 514

  1. 519callsWhseItemTracking

CreateWhseInvtPutawayItemTracking line 531

  1. 536callsWhseItemTracking

CreateWhseJournalLineItemTracking line 548

  1. 553callsWhseItemTracking

CreateWhseReceiptItemTracking line 565

  1. 570callsItemTracking

CreateWhseShipmentItemTracking line 582

  1. 587callsItemTracking

CreateWhseWkshItemTracking line 599

  1. 604callsWhseItemTracking

ItemJournal_CalcWhseAdjmnt line 607

  1. 617callsCodeunit 132207 Library - Assembly SetupItemJournal
  2. 618validatesTable 83 Item Journal Line Journal Template Name
  3. 619validatesTable 83 Item Journal Line Journal Batch Name
  4. 622callsReport 7315 Calculate Whse. Adjustment SetItemJnlLine
  5. 624callsCodeunit 310 No. Series PeekNextNo
  6. 625callsReport 7315 Calculate Whse. Adjustment InitializeRequest
  7. 634callsReport 7315 Calculate Whse. Adjustment UseRequestPage

ItemTracking line 638

  1. 671callsInsertItemTracking
  2. 672callsTable 37 Sales Line SignedXX
  3. 674callsTable 37 Sales Line SignedXX
  4. 688callsInsertItemTracking
  5. 689callsTable 39 Purchase Line Signed
  6. 691callsTable 39 Purchase Line Signed
  7. 701callsInsertItemTracking
  8. 714callsInsertItemTracking
  9. 730callsInsertItemTracking
  10. 738callsInsertItemTracking
  11. 752callsInsertItemTracking
  12. 753callsTable 83 Item Journal Line Signed
  13. 755callsTable 83 Item Journal Line Signed
  14. 767callsInsertItemTracking
  15. 787callsCreateSalesOrderItemTracking
  16. 790callsCreatePurchOrderItemTracking
  17. 794callsCreateTransferOrderItemTracking
  18. 810callsCreatePurchOrderItemTracking
  19. 813callsCreateSalesOrderItemTracking
  20. 822callsInsertItemTracking
  21. 823callsTable 5851 Invt. Document Line Signed
  22. 825callsTable 5851 Invt. Document Line Signed
  23. 831raisesOnItemTrackingIsHandled

InsertItemTracking line 838

  1. 864validatesTable 337 Reservation Entry Reservation Status
  2. 866validatesTable 337 Reservation Entry Reservation Status
  3. 868validatesTable 337 Reservation Entry Item No.
  4. 869validatesTable 337 Reservation Entry Location Code
  5. 870validatesTable 337 Reservation Entry Variant Code
  6. 871validatesTable 337 Reservation Entry Qty. per Unit of Measure
  7. 872validatesTable 337 Reservation Entry Quantity (Base)
  8. 880validatesTable 337 Reservation Entry Expected Receipt Date
  9. 884validatesTable 337 Reservation Entry Shipment Date
  10. 887validatesTable 337 Reservation Entry Expected Receipt Date
  11. 889validatesTable 337 Reservation Entry Shipment Date
  12. 891validatesTable 337 Reservation Entry Shipment Date
  13. 897validatesTable 337 Reservation Entry Shipment Date
  14. 900validatesTable 337 Reservation Entry Expected Receipt Date
  15. 907validatesTable 337 Reservation Entry Expected Receipt Date
  16. 910validatesTable 337 Reservation Entry Shipment Date
  17. 914validatesTable 337 Reservation Entry Expected Receipt Date
  18. 916validatesTable 337 Reservation Entry Shipment Date
  19. 918validatesTable 337 Reservation Entry Creation Date
  20. 921validatesTable 337 Reservation Entry Serial No.
  21. 922validatesTable 337 Reservation Entry Lot No.
  22. 923validatesTable 337 Reservation Entry Package No.
  23. 925callsTable 337 Reservation Entry UpdateItemTracking
  24. 927validatesTable 337 Reservation Entry Source Type
  25. 928validatesTable 337 Reservation Entry Source Subtype
  26. 929validatesTable 337 Reservation Entry Source ID
  27. 930validatesTable 337 Reservation Entry Source Batch Name
  28. 931validatesTable 337 Reservation Entry Source Prod. Order Line
  29. 932validatesTable 337 Reservation Entry Source Ref. No.
  30. 934writesTable 337 Reservation Entry Insert(true)

WhseItemTracking line 937, local

  1. 961callsWhseInsertItemTracking
  2. 1032callsWhseInsertItemTracking

WhseInsertItemTracking line 1095, local

  1. 1109validatesTable 6550 Whse. Item Tracking Line Item No.
  2. 1110validatesTable 6550 Whse. Item Tracking Line Location Code
  3. 1111validatesTable 6550 Whse. Item Tracking Line Variant Code
  4. 1112validatesTable 6550 Whse. Item Tracking Line Qty. per Unit of Measure
  5. 1113validatesTable 6550 Whse. Item Tracking Line Quantity (Base)
  6. 1115validatesTable 6550 Whse. Item Tracking Line Serial No.
  7. 1116validatesTable 6550 Whse. Item Tracking Line Lot No.
  8. 1117validatesTable 6550 Whse. Item Tracking Line Package No.
  9. 1119validatesTable 6550 Whse. Item Tracking Line Source Type
  10. 1120validatesTable 6550 Whse. Item Tracking Line Source Subtype
  11. 1121validatesTable 6550 Whse. Item Tracking Line Source ID
  12. 1122validatesTable 6550 Whse. Item Tracking Line Source Batch Name
  13. 1123validatesTable 6550 Whse. Item Tracking Line Source Prod. Order Line
  14. 1124validatesTable 6550 Whse. Item Tracking Line Source Ref. No.
  15. 1126writesTable 6550 Whse. Item Tracking Line Insert(true)

CreateSalesTrackingFromReservation line 1129

  1. 1133callsCodeunit 6503 Item Tracking Doc. Management CopyDocTrkgFromReservation

PostPositiveAdjustmentWithItemTracking line 1136

  1. 1143callsCodeunit 132201 Library - Inventory CreateItemJournalBatchByType
  2. 1144callsCodeunit 132201 Library - Inventory CreateItemJournalLine
  3. 1146callsCreateItemJournalLineItemTracking
  4. 1147callsCodeunit 132201 Library - Inventory PostItemJournalBatch