Table of Contents

Table "Qlty. Inspection Line"

ID 20406
Namespace: Microsoft.QualityManagement.Document

Contains the document lines for a quality order.

Properties

Name Value
Caption Quality Inspection Line
LookupPageId Page Microsoft.QualityManagement.Document."Qlty. Inspection Lines"
DrillDownPageId Page Microsoft.QualityManagement.Document."Qlty. Inspection Lines"
DataClassification CustomerContent
Permissions tabledata "Qlty. I. Result Condit. Conf." = d

Fields

Name Type Description
"Inspection No." Code[20]

Specifies which inspection this is.

"Re-inspection No." Integer

Specifies the re-inspection counter.

"Line No." Integer

Specifies the line no. of the inspection in this template.

"Template Code" Code[20]

Specifies which template this inspection was created from.

"Template Line No." Integer
"Test Code" Code[20]

Specifies the field/question/metric in this test.

Description Text[100]

Specifies a description of the field as it is used on the test.

"Test Value Type" Enum Microsoft.QualityManagement.Configuration.Template.Test."Qlty. Test Value Type"

Specifies the data type of the values you can enter or select for this test. Use Decimal for numerical measurements. Use Choice to give a list of options to choose from. If you want to choose options from an existing table, use Table Lookup.

"Allowable Values" Text[500]

Specifies an expression for the range of values you can enter or select for the Test. Depending on the Test Value Type, the expression format varies. For example if you want a measurement such as a percentage that collects between 0 and 100 you would enter 0..100. This is not the pass or acceptable condition, these are just the technically possible values that the inspector can enter. You would then enter a passing condition in your result conditions. If you had a result of Pass being 80 to 100, you would then configure 80..100 for that result.

"Test Value" Text[250]

Specifies the recorded test value.

"Test Value Blob" Blob

Specifies large test value data. Typically used for larger text that is captured.

"Derived Numeric Value" Decimal

Specifies an evaluated numeric value of Test Value for use in calculations and analysis. This value is automatically calculated when the Test Value is entered or modified based on the configuration of the Test Value and is not directly editable.

"Result Code" Code[20]

Specifies the result is automatically determined based on the test value and result configuration.

"Result Description" Text[100]

Specifies the result description for this test result. The result is automatically determined based on the test value and result configuration.

"Evaluation Sequence" Integer

Specifies the associated evaluation sequence for this test result. The result is automatically determined based on the test value and result configuration.

"Failure State" Enum Microsoft.QualityManagement.Document."Qlty. Line Failure State"
"Non-Conformance Inspection No." Code[20]

Specifies a free text editable reference to a Non-Conformance Inspection No.

"Unit of Measure Code" Code[10]

Specifies the unit of measure for the measurement.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

AssistEditTestValue

Starts the appropriate 'assist edit' dialog for the given data type and conditions.

procedure AssistEditTestValue()

GetResultStyle

Gets the preferred result style to use.

procedure GetResultStyle(): Text

Returns

Type Description
Text

GetMeasurementNote

Reads the last measurement note for the specific inspection line. If there are multiple notes it only reads the last one.

procedure GetMeasurementNote(): Text

Returns

Type Description
Text

SetMeasurementNote

Sets the measurement note on the last associated note line for the inspection line. If there is no note record yet (record link) then it will create a new one.

procedure SetMeasurementNote(Note: Text)

Parameters

Name Type Description
Note Text

Events

OnBeforeEvaluateNumericTestValue

Provides an opportunity to modify the evaluation of the Numeric Test Value from the Test Value.

[IntegrationEvent(False,False)]
local procedure OnBeforeEvaluateNumericTestValue(var QltyInspectionLine: Record "Qlty. Inspection Line"; var IsHandled: Boolean)

Parameters

Name Type Description
QltyInspectionLine Table Microsoft.QualityManagement.Document."Qlty. Inspection Line"

Qlty. Inspection Line

IsHandled Boolean

Provides an opportunity to replace the default behavior

See also