Codeunit 5900 ServOrderManagement

Base Application, Microsoft.Service.Document

src/Layers/W1/BaseApp/Service/Document/ServOrderManagement.Codeunit.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

UpdateResponseDateTime line 65

  1. 74raisesOnBeforeUpdateResponseDateTimeIsHandled
  2. 87raisesOnUpdateResponseDateTimeOnBeforeNewResponseDateIsHandled
  3. 113writesTable 5900 Service Header Modify

CreateNewCustomer line 118

  1. 138callsCodeunit 27 Confirm Management GetResponseOrDefault
  2. 141validatesTable 5900 Service Header Customer No.
  3. 144callsCreateCustFromTemplate
  4. 145validatesTable 5900 Service Header Customer No.

ReplacementCreateServItem line 148

  1. 181raisesOnReplacementCreateServItemAfterNewServItemFilterSetIsHandled
  2. 190raisesOnReplacementCreateServItemAfterSerialNoCheckIsHandled
  3. 197callsCodeunit 310 No. Series GetNextNo
  4. 210writesTable 5940 Service Item Insert
  5. 212callsCodeunit 5931 Resource Skill Mgt. CloneObjectResourceSkills
  6. 216raisesOnReplacementCreateServItemOnBeforeServItemAutoCreatedIsHandled
  7. 218callsCodeunit 5906 ServLogManagement ServItemAutoCreated
  8. 221callsCodeunit 5906 ServLogManagement ServItemReplaced
  9. 223writesTable 5940 Service Item Modify
  10. 227callsCopyComponentsFromBOM
  11. 229callsCopyComponentsFromSI
  12. 231callsCopyComponentsFromSI
  13. 235raisesOnAfterReplacementCreateServItemIsHandled

InsertServCost line 242

  1. 258callsTable 5902 Service Line GetNextLineNo
  2. 266raisesOnInsertServCostOnCostTypeZeroOnBeforeTestServiceZoneCodeIsHandled
  3. 289validatesTable 5902 Service Line No.
  4. 290validatesTable 5902 Service Line Unit of Measure Code
  5. 291writesTable 5902 Service Line Insert(true)
  6. 299raisesOnInsertServCostOnCostTypeOneOnAfterServCostGet
  7. 310validatesTable 5902 Service Line No.
  8. 311validatesTable 5902 Service Line Unit of Measure Code
  9. 312writesTable 5902 Service Line Insert(true)

CalcServTime line 368

  1. 397callsCodeunit 7600 Calendar Management CalcTimeDelta
  2. 404callsCodeunit 7600 Calendar Management SetSource
  3. 411callsCodeunit 7600 Calendar Management IsNonworkingDay
  4. 417callsCodeunit 7600 Calendar Management CalcTimeDelta
  5. 417callsGetStartingTime
  6. 422callsCodeunit 7600 Calendar Management CalcTimeDelta
  7. 422callsGetStartingTime
  8. 425callsCodeunit 7600 Calendar Management CalcTimeDelta
  9. 427callsCodeunit 7600 Calendar Management CalcTimeDelta

LookupServItemNo line 437

  1. 447raisesOnBeforeLookupServItemNoIsHandled
  2. 456raisesOnLookupServItemNoOnBeforeServItemReset
  3. 462raisesOnLookupServItemNoOnAfterServItemSetFilters
  4. 467validatesTable 5901 Service Item Line Service Item No.
  5. 490validatesTable 5901 Service Item Line Service Item No.

UpdatePriority line 495

  1. 519writesTable 5900 Service Header Modify

CopyComponentsFromSI line 523, local

  1. 539writesTable 5941 Service Item Component Insert

CopyComponentsFromBOM line 547, local

  1. 552raisesOnBeforeCopyComponentsFromBOMIsHandled
  2. 556runsCodeunit 5921 ServComponent-Copy from BOM

CopyCommentLines line 586

  1. 599callsCopyCommentLinesWithSubType

CopyCommentLinesWithSubType line 602

  1. 619raisesOnCopyCommentLinesWithSubTypeOnBeforeServCommentLineInsertIsHandled
  2. 621writesTable 5906 Service Comment Line Insert

CalcContractDates line 625

  1. 631raisesOnBeforeCalcContractDatesIsHandled
  2. 640callsTable 5964 Service Contract Line SuspendStatusCheck
  3. 647callsTable 5964 Service Contract Line CalculateNextServiceVisit
  4. 650writesTable 5964 Service Contract Line Modify

CalcServItemDates line 653

  1. 659raisesOnBeforeCalcServItemDatesIsHandled
  2. 668writesTable 5940 Service Item Modify

CopyCustFromServiceHeader line 672, local

  1. 675validatesTable 18 Customer Name
  2. 686raisesOnAfterCopyCustFromServiceHeader

CreateCustDefaultDimFromTemplate line 689, local

  1. 702writesTable 352 Default Dimension Insert(true)

CreateCustInvoiceDiscFromTemplate line 706, local

  1. 722raisesOnBeforeToCustInvDiscInsert
  2. 723writesTable 19 Cust. Invoice Disc. Insert

CreateCustFromTemplate line 728, local

  1. 737callsCodeunit 1381 Customer Templ. Mgt. SelectCustomerTemplate
  2. 738callsCopyCustFromServiceHeader
  3. 739callsTable 18 Customer CopyFromNewCustomerTemplate
  4. 740callsCodeunit 1381 Customer Templ. Mgt. InitCustomerNo
  5. 744raisesOnCreateCustFromTemplateOnBeforeCustInsert
  6. 745writesTable 18 Customer Insert(true)
  7. 748callsCodeunit 5056 CustCont-Update InsertNewContactPerson
  8. 749writesTable 18 Customer Modify
  9. 751callsCreateCustDefaultDimFromTemplate
  10. 752callsCreateCustInvoiceDiscFromTemplate

CheckServiceItemBlockedForAll line 765, internal

  1. 772callsIsCreditDocumentType
  2. 777callsTable 5940 Service Item ErrorIfBlockedForAll

CheckServiceItemBlockedForAll line 780, internal

  1. 787callsIsCreditDocumentType
  2. 792callsTable 5940 Service Item ErrorIfBlockedForAll

CheckItemServiceBlocked line 797, internal

  1. 804raisesOnBeforeCheckItemServiceBlockedIsHandled
  2. 814callsIsCreditDocumentType
  3. 821callsIsCreditDocumentType

CheckItemServiceBlocked line 826, internal

  1. 840callsIsCreditDocumentType
  2. 847callsIsCreditDocumentType