Table 20405 Qlty. Inspection Header

Quality Management, Microsoft.QualityManagement.Document

src/Apps/W1/Quality Management/app/src/Document/QltyInspectionHeader.Table.al55 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Template Code.OnValidate line 74, trigger

  1. 76callsInitInspectionNumber

Status.OnValidate line 91, trigger

  1. 94callsProcessFinishInspection
  2. 96callsProcessReopenInspection

Source Quantity (Base).OnValidate line 106, trigger

  1. 109callsGetIsCreating
  2. 110callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeSourceQuantity
  3. 115callsVerifyPassAndFailQuantities
  4. 116callsUpdateSampleSize
  5. 118validatesTable 20405 Qlty. Inspection Header Sample Size

Pass Quantity.OnValidate line 129, trigger

  1. 134callsGetIsCreating
  2. 135callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeSourceQuantity
  3. 137callsVerifyPassAndFailQuantities

Fail Quantity.OnValidate line 148, trigger

  1. 153callsGetIsCreating
  2. 154callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeSourceQuantity
  3. 156callsVerifyPassAndFailQuantities

Sample Size.OnValidate line 165, trigger

  1. 170callsGetIsCreating
  2. 171callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeSourceQuantity
  3. 174callsGetIsCreating
  4. 177callsCodeunit 710 Math Truncate

Assigned User ID.OnValidate line 190, trigger

  1. 195callsCodeunit 9843 User Selection ValidateUserName
  2. 202callsCodeunit 20406 Qlty. Permission Mgmt. CanChangeOtherInspections

Source Serial No..OnValidate line 368, trigger

  1. 373callsGetIsCreating
  2. 374callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking

Source Lot No..OnValidate line 383, trigger

  1. 388callsGetIsCreating
  2. 389callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking

Source Package No..OnValidate line 398, trigger

  1. 403callsGetIsCreating
  2. 404callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking

OnDelete line 567, trigger

  1. 574callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanDeleteOpenInspection
  2. 576callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanDeleteFinishedInspection
  3. 581writesTable 20406 Qlty. Inspection Line DeleteAll
  4. 586writesTable 20412 Qlty. I. Result Condit. Conf. DeleteAll

OnInsert line 589, trigger

  1. 592callsInitInspectionNumber
  2. 594callsUpdateMostRecentReinspection

OnModify line 597, trigger

  1. 607callsTestStatusOpen
  2. 609callsGetPreventAutoAssignment
  3. 624callsCodeunit 20406 Qlty. Permission Mgmt. GetShouldAutoAssign
  4. 626callsCodeunit 20437 Qlty. Notification Mgmt. NotifyDoYouWantToAssignToYourself
  5. 628callsAssignToSelf
  6. 631callsUpdateResultFromLines
  7. 636callsCodeunit 20426 Qlty. Start Workflow StartWorkflowInspectionChanged

UpdateMostRecentReinspection line 689, local

  1. 693callsClearMostRecentReinspectionForPrecedingInspections

ClearMostRecentReinspectionForPrecedingInspections line 699, local

  1. 709writesTable 20405 Qlty. Inspection Header ModifyAll

SetTestValue line 717

  1. 725callsGetFriendlyIdentifier
  2. 727validatesTable 20406 Qlty. Inspection Line Test Value
  3. 728writesTable 20406 Qlty. Inspection Line Modify(true)

AssistEditTest line 735

  1. 744callsGetFriendlyIdentifier
  2. 749callsTable 20406 Qlty. Inspection Line AssistEditTestValue
  3. 750writesTable 20406 Qlty. Inspection Line Modify(true)

UpdateResultFromLines line 756

  1. 765raisesOnBeforeFindLineUpdateResultFromLinesIsHandled
  2. 774validatesTable 20405 Qlty. Inspection Header Result Code
  3. 778raisesOnAfterFindLineUpdateResultFromLines

InitInspectionNumber line 784, internal

  1. 791callsTable 20400 Qlty. Management Setup GetRecordOnce
  2. 793callsCodeunit 310 No. Series GetNextNo

SetIsCreating line 800, internal

  1. 802callsCodeunit 20430 Qlty. Session Helper SetSessionValue
  2. 802callsGetIsCreatingKey

GetIsCreating line 809, internal

  1. 811callsCodeunit 20430 Qlty. Session Helper GetSessionValue
  2. 811callsGetIsCreatingKey

AssignToSelf line 826

  1. 832callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeOtherInspections

ReopenInspection line 840

  1. 846callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanReopenInspection
  2. 847callsHasMoreRecentReinspection
  3. 852callsGetFriendlyIdentifier
  4. 852callsCodeunit 20437 Qlty. Notification Mgmt. GetSourceSummaryText
  5. 858raisesOnBeforeReopenInspectionIsHandled
  6. 864validatesTable 20405 Qlty. Inspection Header Status
  7. 865writesTable 20405 Qlty. Inspection Header Modify(true)

FinishInspection line 874

  1. 878callsCodeunit 20458 Qlty. Mgmt. Feature Telemetry LogFeatureUsage
  2. 880callsFinishInspectionAndPrompt

FinishInspectionAndPrompt line 887, local

  1. 894callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanFinishInspection
  2. 895callsCodeunit 20437 Qlty. Notification Mgmt. GetSourceSummaryText
  3. 897callsVerifyTrackingBeforeFinish
  4. 901callsGetFriendlyIdentifier
  5. 901callsCodeunit 20437 Qlty. Notification Mgmt. GetSourceSummaryText
  6. 907raisesOnBeforeFinishInspectionIsHandled
  7. 913validatesTable 20405 Qlty. Inspection Header Status
  8. 916writesTable 20405 Qlty. Inspection Header Modify(true)

VerifyTrackingBeforeFinish line 925, internal

  1. 938callsIsItemTrackingUsed
  2. 951callsGetPostedInventory
  3. 966callsGetReservedInventory

GetPostedInventory line 985, internal

  1. 993callsIsItemTrackingUsed

GetReservedInventory line 1012, internal

  1. 1020callsIsItemTrackingUsed

CreateReinspection line 1049

  1. 1055callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanCreateReinspection
  2. 1058callsCodeunit 20406 Qlty. Permission Mgmt. CanFinishInspection
  3. 1060callsGetFriendlyIdentifier
  4. 1063callsCodeunit 27 Confirm Management GetResponseOrDefault
  5. 1067callsFinishInspectionAndPrompt
  6. 1069callsCodeunit 20404 Qlty. Inspection - Create CreateReinspection

IsItemTrackingUsed line 1089, internal

  1. 1093callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed

IsItemTrackingUsed line 1101, internal

  1. 1105callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed

GetControlCaptionClass line 1113, internal

  1. 1115callsCodeunit 20408 Qlty. Traversal GetControlCaptionClass

GetControlVisibleState line 1123, internal

  1. 1125callsCodeunit 20408 Qlty. Traversal GetControlVisibleState

DetermineControlInformation line 1132, internal

  1. 1134callsCodeunit 20408 Qlty. Traversal DetermineControlInformation

AssistEditLotNo line 1140

  1. 1153callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed
  2. 1157callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking
  3. 1165callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  4. 1180callsCodeunit 20430 Qlty. Session Helper SetStartingFromQualityManagementFlag
  5. 1182callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  6. 1183callsCodeunit 6501 Item Tracking Data Collection AssistEditTrackingNo
  7. 1184callsCodeunit 20430 Qlty. Session Helper GetTrackingFormModeFlag
  8. 1185callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueAllDocs
  9. 1192callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueSourceDoc
  10. 1200callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  11. 1206writesTable 20405 Qlty. Inspection Header Modify

AssistEditPackageNo line 1213

  1. 1226callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed
  2. 1230callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking
  3. 1238callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  4. 1252callsCodeunit 20430 Qlty. Session Helper SetStartingFromQualityManagementFlag
  5. 1253callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  6. 1254callsCodeunit 6501 Item Tracking Data Collection AssistEditTrackingNo
  7. 1255callsCodeunit 20430 Qlty. Session Helper GetTrackingFormModeFlag
  8. 1256callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueAllDocs
  9. 1263callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueSourceDoc
  10. 1271callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  11. 1277writesTable 20405 Qlty. Inspection Header Modify

AssistEditSerialNo line 1284

  1. 1297callsCodeunit 20428 Qlty. Item Tracking IsItemTrackingUsed
  2. 1301callsCodeunit 20406 Qlty. Permission Mgmt. VerifyCanChangeItemTracking
  3. 1309callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  4. 1320callsCodeunit 20430 Qlty. Session Helper SetStartingFromQualityManagementFlag
  5. 1322callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  6. 1323callsCodeunit 6501 Item Tracking Data Collection AssistEditTrackingNo
  7. 1324callsCodeunit 20430 Qlty. Session Helper GetTrackingFormModeFlag
  8. 1325callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueAllDocs
  9. 1331callsCodeunit 20430 Qlty. Session Helper GetTrackingFormFlagValueSourceDoc
  10. 1338callsCodeunit 20430 Qlty. Session Helper SetTrackingFormModeFlag
  11. 1344writesTable 20405 Qlty. Inspection Header Modify

ProcessFinishInspection line 1359, local

  1. 1371callsCalculatePassFailQuantities
  2. 1375writesTable 20405 Qlty. Inspection Header Modify
  3. 1377raisesOnInspectionFinished
  4. 1379callsCodeunit 20426 Qlty. Start Workflow StartWorkflowInspectionFinished

ProcessReopenInspection line 1385, local

  1. 1395callsClearPassFailQuantities
  2. 1397writesTable 20405 Qlty. Inspection Header Modify
  3. 1399raisesOnInspectionReopen
  4. 1401callsCodeunit 20426 Qlty. Start Workflow StartWorkflowInspectionReopens

SetRecordFiltersToFindInspectionFor line 1412

  1. 1419raisesOnBeforeSetRecordFiltersToFindInspectionForIsHandled
  2. 1423callsCodeunit 20599 Qlty. Misc Helpers GetRecordRefFromVariant
  3. 1426callsCodeunit 20408 Qlty. Traversal ApplySourceFields
  4. 1457raisesOnAfterSetRecordFiltersToFindInspectionFor

GetMostRecentInspectionFor line 1465, internal

  1. 1467callsSetRecordFiltersToFindInspectionFor

PrintCertificateOfAnalysis line 1476, internal

  1. 1480callsCodeunit 20440 Qlty. Report Mgmt. PrintCertificateOfAnalysis

PrintNonConformance line 1486, internal

  1. 1490callsCodeunit 20440 Qlty. Report Mgmt. PrintNonConformance

PrintGeneralPurposeInspection line 1496, internal

  1. 1500callsCodeunit 20440 Qlty. Report Mgmt. PrintGeneralPurposeInspection

SetPreventAutoAssignment line 1570, internal

  1. 1572callsCodeunit 20430 Qlty. Session Helper SetSessionValue
  2. 1572callsGetPreventAutoAssignmentKey

GetPreventAutoAssignment line 1579

  1. 1583callsCodeunit 20430 Qlty. Session Helper GetSessionValue
  2. 1583callsGetPreventAutoAssignmentKey

UpdateSampleSize line 1600, local

  1. 1615callsCodeunit 710 Math Truncate
  2. 1620validatesTable 20405 Qlty. Inspection Header Sample Size
  3. 1622validatesTable 20405 Qlty. Inspection Header Sample Size
  4. 1627callsGetIsCreating
  5. 1631callsCodeunit 710 Math Truncate
  6. 1634validatesTable 20405 Qlty. Inspection Header Sample Size

GetRelatedItem line 1644

  1. 1656callsCodeunit 20599 Qlty. Misc Helpers GetRecordRefFromVariant
  2. 1659callsCodeunit 20408 Qlty. Traversal FindRelatedItem

RunModalRelatedTransfers line 1690, internal

  1. 1694callsPage 20480 Qlty. Related Transfer Orders InitializeWithInspection

GetResultStyle line 1791, internal

  1. 1800callsTable 20411 Qlty. Inspection Result GetResultStyle

TakeNewMostRecentPicture line 1807, internal

  1. 1813callsTestStatusOpen
  2. 1815callsTable 20400 Qlty. Management Setup GetRecordOnce
  3. 1816callsTable 20400 Qlty. Management Setup SanityCheckPictureAndCameraSettings
  4. 1818callsCodeunit 1907 Camera IsAvailable
  5. 1821callsCodeunit 1907 Camera GetPicture
  6. 1831callsAddMostRecentPicture
  7. 1832callsProcessAdditionalPictureHandling

ImportMostRecentPicture line 1838, internal

  1. 1845callsTestStatusOpen
  2. 1847callsCodeunit 20433 Qlty. File Import PromptAndImportIntoInStream
  3. 1851callsCodeunit 419 File Management GetFileName
  4. 1855callsCodeunit 419 File Management GetFileName
  5. 1856callsCodeunit 419 File Management GetExtension
  6. 1859callsAddMostRecentPicture
  7. 1860callsProcessAdditionalPictureHandling

DeleteMostRecentPicture line 1866, internal

  1. 1869writesTable 20405 Qlty. Inspection Header Modify(true)

AddMostRecentPicture line 1878, local

  1. 1885writesTable 20405 Qlty. Inspection Header Modify

ProcessAdditionalPictureHandling line 1895, local

  1. 1901callsTable 20400 Qlty. Management Setup GetRecordOnce
  2. 1904callsTable 1173 Document Attachment SaveAttachmentFromStream
  3. 1908callsCodeunit 9510 Document Service Management IsConfigured
  4. 1909callsCodeunit 9510 Document Service Management ShareWithOneDrive