Codeunit 5920 ServItemManagement

Base Application, Microsoft.Service.Item

src/Layers/W1/BaseApp/Service/Item/ServItemManagement.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

AddOrReplaceSIComponent line 57

  1. 71raisesOnBeforeReplaceSIComponentIsHandled
  2. 78callsCheckWholeNumber
  3. 92callsCodeunit 5906 ServLogManagement ServItemComponentRemoved
  4. 93writesTable 5941 Service Item Component Delete
  5. 98writesTable 5941 Service Item Component Insert
  6. 102writesTable 5940 Service Item Modify
  7. 106callsInitNewServItemComponent
  8. 107callsTable 336 Tracking Specification SetSourceFilter
  9. 114raisesOnBeforeInsertNewServItemComponent
  10. 115writesTable 5941 Service Item Component Insert
  11. 117callsCodeunit 5906 ServLogManagement ServItemComponentAdded
  12. 127callsInitNewServItemComponent
  13. 133raisesOnBeforeInsertNewServItemComponent
  14. 134writesTable 5941 Service Item Component Insert
  15. 136callsCodeunit 5906 ServLogManagement ServItemComponentAdded
  16. 141callsCheckWholeNumber
  17. 151callsTable 336 Tracking Specification SetSourceFilter
  18. 156callsInitNewServItemComponent
  19. 163raisesOnBeforeInsertNewServItemComponent
  20. 164writesTable 5941 Service Item Component Insert
  21. 166callsCodeunit 5906 ServLogManagement ServItemComponentAdded
  22. 173raisesOnAddOrReplaceSIComponentPermanentTemporaryIsHandled
  23. 176callsCodeunit 5900 ServOrderManagement ReplacementCreateServItem

InitNewServItemComponent line 182, local

  1. 197raisesOnAfterInitNewServItemComponent

InsertServiceItemComponent line 200

  1. 212raisesOnBeforeInsertServItemComponent
  2. 213writesTable 5941 Service Item Component Insert

CreateServItemOnSalesLineShpt line 216

  1. 228raisesOnBeforeCreateServItemOnSalesLineShptIsHandled
  2. 232callsDoesSalesLineNeedServiceItemCreation
  3. 249writesTable 5940 Service Item DeleteAll
  4. 250writesTable 5941 Service Item Component DeleteAll
  5. 265raisesOnCreateServItemOnSalesLineShptOnAfterCalcShouldCreateServiceItem
  6. 269callsCodeunit 310 No. Series GetNextNo
  7. 270writesTable 5940 Service Item Insert
  8. 274raisesOnCreateServItemOnSalesLineShptOnAfterInsertServiceItemIsHandled
  9. 277callsModifyServiceItem
  10. 281writesTable 5940 Service Item Insert
  11. 282callsCodeunit 5931 Resource Skill Mgt. AssignServItemResSkills
  12. 284callsAddServiceItemComponents
  13. 287callsCodeunit 5906 ServLogManagement ServItemAutoCreated

ModifyServiceItem line 295, local

  1. 305validatesTable 5940 Service Item Description
  2. 310validatesTable 5940 Service Item Customer No.
  3. 311validatesTable 5940 Service Item Ship-to Code
  4. 312callsTable 5940 Service Item OmitAssignResSkills
  5. 313validatesTable 5940 Service Item Item No.
  6. 314callsTable 5940 Service Item OmitAssignResSkills
  7. 319validatesTable 5940 Service Item Sales Unit Cost
  8. 322validatesTable 5940 Service Item Sales Unit Price
  9. 324callsCalcAmountLCY
  10. 331validatesTable 5940 Service Item Sales Unit Price
  11. 358callsCalcServiceWarrantyDates
  12. 361raisesOnCreateServItemOnSalesLineShpt
  13. 363writesTable 5940 Service Item Modify
  14. 364raisesOnAfterModifyServiceItem

AddServiceItemComponents line 367, local

  1. 375raisesCreateServItemOnSalesLineShptOnBeforeInsertServiceItemComponentsIsHandled
  2. 393callsInsertServiceItemComponent
  3. 396writesTable 5941 Service Item Component Insert
  4. 402raisesOnCreateServItemOnSalesLineShptOnAfterAddServItemComponents

CreateServItemOnServItemLine line 417

  1. 424raisesOnBeforeCreateServItemOnServItemLine
  2. 431raisesOnCreateServItemOnServItemLineOnBeforeConfirmCreateServItemIsHandled
  3. 436callsCodeunit 27 Confirm Management GetResponseOrDefault
  4. 444callsCodeunit 310 No. Series GetNextNo
  5. 445raisesOnCreateServItemOnServItemLineOnBeforeServiceItemInsert
  6. 446writesTable 5940 Service Item Insert
  7. 447validatesTable 5940 Service Item Description
  8. 450validatesTable 5940 Service Item Customer No.
  9. 451validatesTable 5940 Service Item Ship-to Code
  10. 452callsTable 5940 Service Item OmitAssignResSkills
  11. 453validatesTable 5940 Service Item Item No.
  12. 454callsTable 5940 Service Item OmitAssignResSkills
  13. 456validatesTable 5940 Service Item Serial No.
  14. 473callsCodeunit 27 Confirm Management GetResponseOrDefault
  15. 480raisesOnCreateServItemOnServItemLineOnBeforeServItemModify
  16. 481writesTable 5940 Service Item Modify
  17. 482callsCodeunit 5931 Resource Skill Mgt. AssignServItemResSkills
  18. 484callsCodeunit 5906 ServLogManagement ServItemAutoCreated
  19. 490raisesOnCreateServItemOnServItemLineIsHandled
  20. 492writesTable 5901 Service Item Line Modify
  21. 493callsTable 5901 Service Item Line CreateDimFromDefaultDim
  22. 496callsCodeunit 5906 ServLogManagement ServItemToServOrder
  23. 502writesTable 5902 Service Line ModifyAll
  24. 504raisesOnAfterCreateServItemOnServItemLine

CalcAmountLCY line 507

  1. 516callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY

CopyReservationEntry line 522

  1. 529raisesOnBeforeCopyReservationEntry
  2. 536callsDoesSalesLineNeedServiceItemCreation
  3. 537raisesOnBeforeCopyReservationEntryLineAfterCheckSalesLineNeedsServiceItemCreation
  4. 539callsCopyReservationEntryLine

CopyReservationEntryService line 543

  1. 562writesTable 337 Reservation Entry Insert

CreateServItemOnSalesInvoice line 566

  1. 573raisesOnBeforeCreateServItemOnSalesInvoiceIsHandled
  2. 581callsCreateServItemOnSalesLineShpt

ReturnServItemComp line 593

  1. 595writesTable 5940 Service Item DeleteAll
  2. 599writesTable 5940 Service Item Insert
  3. 601writesTable 5941 Service Item Component DeleteAll
  4. 605writesTable 5941 Service Item Component Insert

DeleteServItemOnSaleCreditMemo line 609

  1. 621raisesOnBeforeDeleteServItemOnSaleCreditMemoIsHandled
  2. 641callsTable 5940 Service Item CheckIfCanBeDeleted
  3. 642validatesTable 5940 Service Item Status
  4. 643writesTable 5940 Service Item Modify(true)
  5. 645writesTable 5940 Service Item Delete(true)

CopyReservationEntryLine line 654, local

  1. 662raisesOnBeforeCopyReservationEntryLineIsHandled
  2. 681raisesOnCopyReservationEntryLineOnBeforeReservationEntryFindSet
  3. 686writesTable 337 Reservation Entry Insert

CopyReservation line 690

  1. 702callsDoesPurchaseLineNeedServiceItemCreation
  2. 705callsCopyReservationEntryLine

DoesSalesLineNeedServiceItemCreation line 710

  1. 715raisesOnBeforeDoesSalesLineNeedServiceItemCreationIsHandled

DoesPurchaseLineNeedServiceItemCreation line 733

  1. 740raisesOnBeforeDoesPurchaseLineNeedServiceItemCreationIsHandled

ItemVariantOnAfterOnDelete line 888, local

  1. 916writesTable 5941 Service Item Component ModifyAll