Codeunit 20404 Qlty. Inspection - Create

Quality Management, Microsoft.QualityManagement.Document

src/Apps/W1/Quality Management/app/src/Document/QltyInspectionCreate.Codeunit.al25 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateInspectionWithVariant line 71, internal

  1. 73callsCreateInspectionWithVariantAndTemplate

CreateInspectionWithVariantAndTemplate line 91, internal

  1. 97callsInternalCreateInspectionWithVariantAndTemplate

InternalCreateInspectionWithVariantAndTemplate line 112, local

  1. 121callsCodeunit 20599 Qlty. Misc Helpers GetRecordRefFromVariant
  2. 124callsInternalCreateInspectionWithSpecificTemplate

InternalCreateInspectionWithGenerationRule line 137, local

  1. 145callsCodeunit 20599 Qlty. Misc Helpers GetRecordRefFromVariant
  2. 148callsInternalCreateInspectionWithSpecificTemplate

CreateInspectionWithMultiVariants line 174, internal

  1. 187callsInternalCreateInspectionWithGenerationRule
  2. 189callsInternalCreateInspectionWithGenerationRule
  3. 191callsInternalCreateInspectionWithGenerationRule
  4. 195callsInternalCreateInspectionWithGenerationRule
  5. 199callsGetCreatedInspection

CreateInspectionWithMultiVariantsAndTemplate line 216, internal

  1. 229callsInternalCreateInspectionWithVariantAndTemplate
  2. 231callsInternalCreateInspectionWithVariantAndTemplate
  3. 233callsInternalCreateInspectionWithVariantAndTemplate
  4. 237callsInternalCreateInspectionWithVariantAndTemplate
  5. 241callsGetCreatedInspection

CreateInspection line 257, internal

  1. 263callsInternalCreateInspectionWithVariantAndTemplate

CreateInspectionWithSpecificTemplate line 278, internal

  1. 283callsInternalCreateInspectionWithSpecificTemplate

InternalCreateInspectionWithSpecificTemplate line 316, local

  1. 337callsTable 20400 Qlty. Management Setup GetSetupRecord
  2. 346callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanCreateManualInspection
  3. 353raisesOnBeforeCreateInspectionIsHandled
  4. 360callsCodeunit 20408 Qlty. Traversal FindRelatedItem
  5. 362callsCodeunit 20405 Qlty. Inspec. Gen. Rule Mgmt. FindMatchingGenerationRule
  6. 378callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  7. 379callsApplyAllSourceFieldsToStub
  8. 381callsApplyAllSourceFieldsToStub
  9. 383callsGetExistingOrCreateNewInspectionFor
  10. 384callsTable 20405 Qlty. Inspection Header SetIsCreating
  11. 386raisesOnAfterCreateInspectionBeforeDialog
  12. 392writesTable 20405 Qlty. Inspection Header Modify
  13. 395callsTable 20405 Qlty. Inspection Header UpdateResultFromLines
  14. 397callsTable 20405 Qlty. Inspection Header SetIsCreating
  15. 398writesTable 20405 Qlty. Inspection Header Modify
  16. 404callsTable 20406 Qlty. Inspection Line UpdateExpressionsInOtherInspectionLinesInSameInspection
  17. 407callsTable 20405 Qlty. Inspection Header SetIsCreating
  18. 412callsCodeunit 20426 Qlty. Start Workflow StartWorkflowInspectionCreated
  19. 419callsTryRunInspectionPage
  20. 420callsCodeunit 20437 Qlty. Notification Mgmt. NotifyInspectionCreated
  21. 423callsCodeunit 20437 Qlty. Notification Mgmt. NotifyInspectionCreated
  22. 426callsLogCreateInspectionProblem
  23. 431raisesOnAfterCreateInspectionAfterDialog

FindExistingInspectionWithVariant line 457, internal

  1. 463callsFindExistingInspectionWithMultipleVariants

FindExistingInspectionWithMultipleVariants line 476, internal

  1. 485callsCodeunit 20599 Qlty. Misc Helpers GetRecordRefFromVariant
  2. 488callsCodeunit 701 Data Type Management GetRecordRef
  3. 489callsCodeunit 701 Data Type Management GetRecordRef
  4. 490callsCodeunit 701 Data Type Management GetRecordRef
  5. 491callsFindExistingInspection

FindExistingInspection line 504, internal

  1. 511raisesOnBeforeFindExistingInspectionIsHandled
  2. 515callsCodeunit 20408 Qlty. Traversal FindRelatedItem
  3. 516callsCodeunit 20405 Qlty. Inspec. Gen. Rule Mgmt. FindMatchingGenerationRule
  4. 517callsLogCreateInspectionProblem

GetExistingOrCreateNewInspectionFor line 565, local

  1. 580callsFindExistingInspectionWithStub
  2. 617raisesOnCustomCreateInspectionBehavior
  3. 622callsTable 20405 Qlty. Inspection Header SetIsCreating
  4. 624callsInitReinspectionHeader
  5. 627validatesTable 20405 Qlty. Inspection Header Template Code
  6. 634callsTable 20405 Qlty. Inspection Header SetIsCreating
  7. 637callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  8. 639callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  9. 644writesTable 20405 Qlty. Inspection Header Insert(true)
  10. 646callsCreateQualityInspectionResultLinesFromTemplate

CreateQualityInspectionResultLinesFromTemplate line 661, local

  1. 679validatesTable 20406 Qlty. Inspection Line Test Code
  2. 683writesTable 20406 Qlty. Inspection Line Insert
  3. 684callsCodeunit 20409 Qlty. Result Condition Mgmt. CopyResultConditionsFromTemplateToInspection
  4. 685callsTable 20405 Qlty. Inspection Header SetPreventAutoAssignment
  5. 693callsCodeunit 20410 Qlty. Result Evaluation TryValidateQltyInspectionLine
  6. 694writesTable 20406 Qlty. Inspection Line Modify(true)
  7. 695writesTable 20405 Qlty. Inspection Header Modify(true)
  8. 699callsTable 20405 Qlty. Inspection Header SetPreventAutoAssignment

FindExistingInspectionWithVariant line 713, internal

  1. 720callsCodeunit 701 Data Type Management GetRecordRef
  2. 721callsCodeunit 701 Data Type Management GetRecordRef
  3. 722callsCodeunit 701 Data Type Management GetRecordRef
  4. 723callsFindExistingInspection

FindExistingInspection line 737, internal

  1. 745callsApplyAllSourceFieldsToStub
  2. 747callsFindExistingInspectionWithStub

CreateReinspection line 804, internal

  1. 811raisesOnBeforeCreateReinspectionIsHandled
  2. 821writesTable 20405 Qlty. Inspection Header Modify
  3. 824callsInitReinspectionHeader
  4. 825writesTable 20405 Qlty. Inspection Header Insert(true)
  5. 826callsCreateQualityInspectionResultLinesFromTemplate
  6. 830raisesOnAfterCreateReinspection

InitReinspectionHeader line 838, local

  1. 843validatesTable 20405 Qlty. Inspection Header Template Code
  2. 848validatesTable 20405 Qlty. Inspection Header Result Code

CreateMultipleInspectionsForMarkedTrackingSpecification line 920, internal

  1. 936callsCreateMultipleInspectionsForMultipleRecords

CreateMultipleInspectionsForMultipleRecords line 957, internal

  1. 962callsCreateMultipleInspectionsWithoutDisplaying
  2. 967callsDisplayInspectionsIfConfigured
  3. 972callsDisplayInspectionsIfConfigured

DisplayInspectionsIfConfigured line 982, internal

  1. 1007callsCodeunit 20437 Qlty. Notification Mgmt. NotifyMultipleInspectionsCreatedByCount
  2. 1016callsTryRunInspectionPage
  3. 1017callsCodeunit 20437 Qlty. Notification Mgmt. NotifyInspectionCreated
  4. 1019callsCodeunit 20437 Qlty. Notification Mgmt. NotifyInspectionCreated
  5. 1023callsTryRunInspectionPage
  6. 1024callsCodeunit 20437 Qlty. Notification Mgmt. NotifyMultipleInspectionsCreated
  7. 1026callsCodeunit 20437 Qlty. Notification Mgmt. NotifyMultipleInspectionsCreated

CreateMultipleInspectionsWithoutDisplaying line 1039, internal

  1. 1055callsCreateInspectionForSelfOrDirectParent

CreateInspectionForSelfOrDirectParent line 1087, local

  1. 1098callsCodeunit 20404 Qlty. Inspection - Create SetPreventDisplayingInspectionEvenIfConfigured
  2. 1101callsCodeunit 20408 Qlty. Traversal FindSingleParentRecord
  3. 1116callsCodeunit 20408 Qlty. Traversal FindRelatedItem
  4. 1118callsCodeunit 20405 Qlty. Inspec. Gen. Rule Mgmt. DoesMatchItemAttributeFiltersOrNoFilter
  5. 1121callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed
  6. 1123callsCodeunit 99000845 Reservation Management SetReservSource
  7. 1152writesTable 336 Tracking Specification DeleteAll
  8. 1153callsTable 336 Tracking Specification SetSourceFromReservEntry
  9. 1154callsTable 336 Tracking Specification CopyTrackingFromReservEntry
  10. 1155writesTable 336 Tracking Specification Insert
  11. 1159callsCodeunit 20404 Qlty. Inspection - Create CreateInspectionWithMultiVariants
  12. 1160callsTrackResolvedInspection
  13. 1165callsCodeunit 20408 Qlty. Traversal FindRelatedItem
  14. 1169callsCodeunit 20404 Qlty. Inspection - Create CreateInspectionWithMultiVariants
  15. 1170callsTrackResolvedInspection

TrackResolvedInspection line 1184, local

  1. 1188callsCodeunit 20404 Qlty. Inspection - Create GetCreatedInspection
  2. 1194callsCodeunit 20404 Qlty. Inspection - Create IsLastInspectionNewlyCreated

ApplyAllSourceFieldsToStub line 1217, local

  1. 1224callsCodeunit 701 Data Type Management GetRecordRef
  2. 1225callsCodeunit 701 Data Type Management GetRecordRef
  3. 1226callsCodeunit 701 Data Type Management GetRecordRef
  4. 1231callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  5. 1236callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  6. 1241callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  7. 1246callsCodeunit 20408 Qlty. Traversal ApplySourceFields