title: "JobInspectionLine (Screen in TechnicalService)" category: reference tags: [mobile, go, go-plus, screen, technicalservice] source: ultimo_gomanager.xml date: 2026-04-17 status: published
JobInspectionLine (Screen in TechnicalService)
Category: Screen Application: TechnicalService Has standard: Ja Entity (uit XML): JobInspectionLine
Raw XMLbewerken
<Screen EntityType="JobInspectionLine">
<ContextList>
<Context>JobInspectionLineContext.Standard</Context>
<Context>JobInspectionLineContext.CourseRoute</Context>
<Context>JobInspectionLineContext.TDAcceptance</Context>
<Context>JobInspectionLineContext.Inspection</Context>
</ContextList>
<Section Id="Headers">
<Header Title="#htmltoplain(${JobInspectionLine.Description})" Text="${JobInspectionLine.InspectionLineType.Description?}" Icon="#if(${JobInspectionLine.Status} == JobInspectionLineStatus.Finished && (!${JobInspectionLine.QualityNotOk} || ${JobInspectionLine.QualityOk}))ultimoweb-checkmark#elseif(${JobInspectionLine.QualityNotOk})ultimoweb-close#elseif(${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped)ultimoweb-last#else ultimoweb-radio-unchecked#end" Comment="Inspections new style">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
</Header>
<Header Title="#label(MEASUREMENT_POINT) ${JobInspectionLine.Point}" Text="#if(${JobInspectionLine.Done} && ${JobInspectionLine.QualityOk})#label(AGREED)#elseif(${JobInspectionLine.Done} && !${JobInspectionLine.QualityOk})#label(REJECT)#else#label(TO_DETERMINE)#end" Icon="#if(${JobInspectionLine.QualityOk})ultimoweb-checkmark#elseif(${JobInspectionLine.Done} && !${JobInspectionLine.QualityOk})ultimoweb-close#else ultimoweb-radio-unchecked#end" Comment="Inspections old style">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></Condition>
</Header>
<Header Title="#label(CHECKLIST_POINT) ${JobInspectionLine.Point}" Text="#if(${JobInspectionLine.QualityOk})#label(AGREED)#else#label(TO_DETERMINE)#end" Icon="#if(${JobInspectionLine.QualityOk})ultimoweb-checkmark#else ultimoweb-radio-unchecked#end" Comment="Acceptance TS">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.TDAcceptance]]></Condition>
</Header>
<Header Title="${JobInspectionLine.InspectionLine.Description?}" Text="${JobInspectionLine.InspectionLine.Equipment.Id?}${JobInspectionLine.InspectionLine.ProcessFunction.Id?}#if(${JobInspectionLine.InspectionLine.Equipment.Description?} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunction.Description?} != Empty) - #end${JobInspectionLine.InspectionLine.Equipment.Description?}${JobInspectionLine.InspectionLine.ProcessFunction.Description?}" Icon="#if(${JobInspectionLine.Status} == JobInspectionLineStatus.Finished && (!${JobInspectionLine.QualityNotOk} || ${JobInspectionLine.QualityOk}))ultimoweb-checkmark#elseif(${JobInspectionLine.QualityNotOk})ultimoweb-close#elseif(${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped)ultimoweb-last#else ultimoweb-radio-unchecked#end" Comment="Maintenance routes new style">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute]]></Condition>
</Header>
<Header Title="${JobInspectionLine.InspectionLine.Description?}" Text="#if(${JobInspectionLine.Done})#label(AGREED)#else#label(TO_DETERMINE)#end" Icon="#if(${JobInspectionLine.Done})ultimoweb-checkmark#else ultimoweb-radio-unchecked#end" Comment="Maintenance routes old style">
<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute]]></Condition>
</Header>
</Section>
<Section Id="InspectionLine_Actions_Inspect" Comment="Inspections new style: type Inspect">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.InspectionLineType.InspectionType} == Inspect
&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_RegisterInspectionResult"
Title="#label(OK)"
Icon="ultimoweb-checkmark"
Comment="Inspections new style: type Inspect - Register inspection result OK">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="Ok" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterInspectionResult"
Title="#label(NOT_OK)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK (when it is the default action)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionInspectionNotOk) == NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterInspectionResult"
Title="#label(NOT_OK_REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOkReportJob" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == False]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterInspectionResult"
Title="#label(NOT_OK)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionInspectionNotOk) != NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Skip"
Title="#label(SKIP)"
Icon="ultimoweb-last"
Comment="Inspections new style: type Inspect - Skip the inspection line">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Reset"
Title="#label(RESET)"
Icon="ultimoweb-radio-unchecked"
Comment="Inspections new style: type Inspect - Reset inspection line">
<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportFollowUpJob"
Title="#label(REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-copy-2"
Comment="Inspections new style: type Inspect - Report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
&& (
${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == False]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_CopyPreviousResult"
Title="#label(COPY_PREVIOUS_RESULT)"
Icon="ultimoweb-copy"
Comment="Inspections new style: type Inspect - Copy the result of the previous inspection line">
<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
&& (
${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_DeleteImage"
Title="#label(DELETE_IMAGE)"
Icon="ultimoweb-remove-3"
Comment="Inspections new style: type Inspect - Delete an image from inspection line">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
|| ${JobInspectionLine.InspectionImageFile2} != Empty
|| ${JobInspectionLine.InspectionImageFile3} != Empty
|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
</Section>
<Section Id="InspectionLine_Actions_MeasureAndInspect" Comment="Inspections new style: type MeasureAndInspect">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#label(ENTER_MEASUREMENT_VALUE_OK)"
Icon="ultimoweb-checkmark"
Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result OK">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="Ok" />
<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK)"
Icon="ultimoweb-close"
Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result Not OK (when it is the default action)">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
&& #settingenabled(Job,JobContext.TD,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionInspectionNotOk) == NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-close"
Comment="Inspections new style: type MeasureAndInspect - Register measurement value, inspection result Not OK and report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
&& ${JobInspectionLine.FollowUpJob} == Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOkReportJob" />
<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == False]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK)"
Icon="ultimoweb-close"
Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result Not OK">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
&& #settingenabled(Job,JobContext.TD,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionInspectionNotOk) != NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Skip"
Title="#label(SKIP)"
Icon="ultimoweb-last"
Comment="Inspections new style: type MeasureAndInspect - Skip the inspection line">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Reset"
Title="#label(RESET)"
Icon="ultimoweb-radio-unchecked"
Comment="Inspections new style: type MeasureAndInspect - Reset inspection line">
<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportFollowUpJob"
Title="#label(REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-copy-2"
Comment="Inspections new style: type MeasureAndInspect - Report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
&& (
${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == False]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_CopyPreviousResult"
Title="#label(COPY_PREVIOUS_RESULT)"
Icon="ultimoweb-copy"
Comment="Inspections new style: type MeasureAndInspect - Copy the result of the previous inspection line">
<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
&& (
${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_DeleteImage"
Title="#label(DELETE_IMAGE)"
Icon="ultimoweb-remove-3"
Comment="Inspections new style: type MeasureAndInspect - Delete an image from inspection line">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
|| ${JobInspectionLine.InspectionImageFile2} != Empty
|| ${JobInspectionLine.InspectionImageFile3} != Empty
|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
</Section>
<Section Id="InspectionLine_Actions_MeasureOrTask" Comment="Inspections new style: type Measure or type Task">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& (
${JobInspectionLine.InspectionLineType.InspectionType} == Measure
|| ${JobInspectionLine.InspectionLineType.InspectionType} == Task
)
&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#label(ENTER_MEASUREMENT_VALUE)"
Icon="ultimoweb-pencil-2"
Comment="Inspections new style: type Measure - Register measurement value">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == Measure]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" Required="True" SingleLine="True" ScanMeter="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Finish"
Title="#label(FINISH)"
Icon="ultimoweb-checkmark"
Comment="Inspections new style: type Task - Change task status to finished">
<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == Task
&& ${JobInspectionLine.Status} != JobInspectionLineStatus.Finished]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Skip"
Title="#label(SKIP)"
Icon="ultimoweb-last"
Comment="Inspections new style: type Measure or type Task - Skip the inspection line">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Reset"
Title="#label(RESET)"
Icon="ultimoweb-radio-unchecked"
Comment="Inspections new style: type Measure or type Task - Reset inspection line">
<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportFollowUpJob"
Title="#label(REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-copy-2"
Comment="Inspections new style: type Measure or type Task - Report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
&& (
${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == False]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.TD,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_CopyPreviousResult"
Title="#label(COPY_PREVIOUS_RESULT)"
Icon="ultimoweb-copy"
Comment="Inspections new style: type Measure or type Task - Copy the result of the previous inspection line">
<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
&& (
${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_DeleteImage"
Title="#label(DELETE_IMAGE)"
Icon="ultimoweb-remove-3"
Comment="Inspections new style: type Measure or type Task - Delete an image from inspection line">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
|| ${JobInspectionLine.InspectionImageFile2} != Empty
|| ${JobInspectionLine.InspectionImageFile3} != Empty
|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
</Section>
<Section Id="InspectionLine_Instruction">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
<Text Title="#label(WORK_INSTRUCTION)" Text="#htmltoplain(${JobInspectionLine.Text})" Icon="ultimoweb-clipboard-4">
<Condition><![CDATA[${JobInspectionLine.Text} != Empty]]></Condition>
</Text>
<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InstructionImageFile1}" FileName="${JobInspectionLine.InstructionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InstructionImageFile1} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InstructionImageFile2}" FileName="${JobInspectionLine.InstructionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InstructionImageFile2} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InstructionImageFile3}" FileName="${JobInspectionLine.InstructionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InstructionImageFile3} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InstructionImageFile4}" FileName="${JobInspectionLine.InstructionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InstructionImageFile4} != Empty]]></Condition>
</Document>
</Section>
<Section Id="InspectionLine_Result">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Finished]]></Condition>
<Text Title="#label(MEASUREMENT_VALUE)" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end: #end${JobInspectionLine.Value}" Icon="ultimoweb-meter">
<Condition><![CDATA[${JobInspectionLine.Value} != Empty]]></Condition>
</Text>
<Text Title="#label(FINDINGS)" Text="#htmltoplain(${JobInspectionLine.Text1})" Icon="ultimoweb-clipboard-4">
<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
</Text>
<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionImageFile1}" FileName="${JobInspectionLine.InspectionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionImageFile2}" FileName="${JobInspectionLine.InspectionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionImageFile3}" FileName="${JobInspectionLine.InspectionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionImageFile4}" FileName="${JobInspectionLine.InspectionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Document>
<Entity Value="${JobInspectionLine.FollowUpJob}" Title="#label(FOLLOWUP_JOB)">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} != Empty]]></Condition>
</Entity>
<Text Title="#label(FINISHED_DATE)" Text="#formatdate(${JobInspectionLine.StatusFinishedDate} 'f' true)" Icon="ultimoweb-calendar">
<Condition><![CDATA[${JobInspectionLine.StatusFinishedDate} != Empty]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.StatusFinishedEmployee}" />
</Section>
<Section Id="InspectionLine_Skipped">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Text Title="#label(REASON_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.SkipReason.Description?})" Icon="ultimoweb-clipboard-4" />
<Text Title="#label(EXPLANATION_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.Text2})" />
<Text Title="#label(SKIPPED_DATE)" Text="#formatdate(${JobInspectionLine.StatusSkippedDate} 'f' true)" Icon="ultimoweb-calendar" />
<Entity Value="${JobInspectionLine.StatusSkippedEmployee}" />
</Section>
<Section Id="InspectionLine_Measurement_Information">
<Text Title="#label(NOMINAL_VALUE)" Text="${JobInspectionLine.NominalValue}" Icon="ultimoweb-meter-medium">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& ${JobInspectionLine.NominalValue} != Empty]]></Condition>
</Text>
</Section>
<Section Id="InspectionLine_Previous_Inspection">
<Entity Value="${JobInspectionLine.PreviousJobInspectionLine}" Title="#label(PREVIOUS_INSPECTION_TITLE)" Text="#label(PREVIOUS_INSPECTION_RESULT)" SubText="#label(PREVIOUS_INSPECTION_EXPLANATION)">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
</Entity>
</Section>
<Section Id="InspectionLine_General">
<Entity Value="${JobInspectionLine.Id.Job}">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
</Entity>
</Section>
<Section Id="MaintenanceRouteLine_Actions" Comment="Maintenance routes new style: Actions">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_OK)#else#label(OK)#end"
Icon="ultimoweb-checkmark"
Comment="Maintenance routes new style: Register inspection result OK">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="Ok" />
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
</Property>
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')]]></Condition>
</Property>
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK)#else#label(NOT_OK)#end"
Icon="ultimoweb-close"
Comment="Maintenance routes new style: Register inspection result Not OK (when it is the default action)">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.DefaultActionMaintenanceRouteLineNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionMaintenanceRouteLineNotOk) == NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
</Property>
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')]]></Condition>
</Property>
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FOLLOWUP_JOB)#else#label(NOT_OK_REPORT_FOLLOWUP_JOB)#end"
Icon="ultimoweb-close"
Comment="Maintenance routes new style: inspection result Not OK and report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOkReportJob" />
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
</Property>
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')]]></Condition>
</Property>
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.MaintenanceRouteDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.MaintenanceRouteDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty && ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.ProcessFunction.Id?} : ${JobInspectionLine.InspectionLine.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty && ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.Equipment.Id?} : ${JobInspectionLine.InspectionLine.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK)#else#label(NOT_OK)#end"
Icon="ultimoweb-close"
Comment="Maintenance routes new style: Register inspection result Not OK">
<Condition><![CDATA[#settingenabled(Job,JobContext.TD,Job.DefaultActionMaintenanceRouteLineNotOk)
&& #getsetting(Job,JobContext.TD,Job.DefaultActionMaintenanceRouteLineNotOk) != NotOk]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="InspectionResult" Value="NotOk" />
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
</Property>
<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')]]></Condition>
</Property>
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Skip"
Title="#label(SKIP)"
Icon="ultimoweb-last"
Comment="Maintenance routes new style: Skip the maintenance route line">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForMaintenanceRoute" Required="True" />
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Reset"
Title="#label(RESET)"
Icon="ultimoweb-radio-unchecked"
Comment="Maintenance routes new style: Reset inspection line">
<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportFollowUpJob"
Title="#label(REPORT_FOLLOWUP_JOB)"
Icon="ultimoweb-copy-2"
Comment="Maintenance routes new style: Report a follow-up job">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
&& (
${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.TD,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.TD,Job.MaintenanceRouteDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.TD,Job.MaintenanceRouteDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Standard" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty && ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.ProcessFunction.Id?} : ${JobInspectionLine.InspectionLine.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.ProcessFunction)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('8ede6284-820e-45f2-c2a3-f8dcddaac74f')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.ProcessFunction" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty && ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.Equipment.Id?} : ${JobInspectionLine.InspectionLine.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Installation)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('37050ff7-cac3-4418-877d-62c464d89461')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Installation, EquipmentContext.Inventory" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportSafetyIncident"
Title="#label(REPORT_HSE_SAFETYINCIDENT)"
Icon="ultimoweb-warning">
<Condition><![CDATA[${JobInspectionLine.SafetyIncident} == Empty
&& #applicationelementenabled('7e8b000a-3d98-491e-9343-a9246a56ce88')
&& #applicationelementenabled('c290cfb1-fb6d-4663-aa1b-254a92a19cec')]]></Condition>
<Properties>
<Property Name="JobInspectionLine" Value="${JobInspectionLine}" />
<Property Name="Title" Title="#label(INCIDENT)" Type="String" Required="True" SingleLine="True" />
<Property Name="Description" Title="#label(DESCRIPTION_INCIDENT)" Type="String" Required="True" />
<Property Name="Date" Title="#label(SAFETYINCIDENT_DATE)" Type="DateTime" Required="True" />
<DataSetProperty Name="Department" Title="#label(DEP)" DataSet="Department" Required="True" />
<Property Name="AnonymouslyReported" Title="#label(REPORT_ANONYMOUS)" Type="Boolean" Value="False" Required="True" />
<Property Name="Witnesses" Title="#label(WITNESSES)" Type="String" SingleLine="True" />
<Property Name="ImageFile1" Title="#label(ILLUSTRATION_1)" Type="Image" />
<Property Name="ImageFile2" Title="#label(ILLUSTRATION_2)" Type="Image" />
<Property Name="ImageFile3" Title="#label(ILLUSTRATION_3)" Type="Image" />
<Property Name="ImageFile4" Title="#label(ILLUSTRATION_4)" Type="Image" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_DeleteImage"
Title="#label(DELETE_IMAGE)"
Icon="ultimoweb-remove-3"
Comment="Maintenance routes new style: Delete an image from maintenance route line">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
|| ${JobInspectionLine.InspectionImageFile2} != Empty
|| ${JobInspectionLine.InspectionImageFile3} != Empty
|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Property>
<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Property>
</Properties>
</Workflow>
</Section>
<Section Id="MaintenanceRouteLine_Instruction" Comment="Maintenance routes new style: Instruction information">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
<Text Title="#label(WORK_INSTRUCTION)" Text="#htmltoplain(${JobInspectionLine.InspectionLine.Instruction?})" Icon="ultimoweb-clipboard-4">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.Instruction?} != Empty]]></Condition>
</Text>
<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionLine.ImageFile?}" FileName="${JobInspectionLine.InspectionLine.ImageFile}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ImageFile?} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile2}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile2} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile3}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile3} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile4}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile4} != Empty]]></Condition>
</Document>
</Section>
<Section Id="MaintenanceRouteLine_MeasurementPointInformation" Comment="Maintenance routes new style: Measurement point information">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
<Entity Value="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint}" />
<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastValue?} - ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastDate?}" Icon="ultimoweb-calendar">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastDate?} != Empty]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint}" />
<Text Title="#label(MEASUREMENT_VALUE_RANGE)" Text="#label(MEASUREMENT_VALUE_RANGE_EXPECTED_VALUES)" Comment="Maintenance routes new style: Measurement value ranges">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.AllowDescendingValues?} == True
|| ${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.AllowDescendingValues?} == True]]></Condition>
</Text>
</Section>
<Section Id="MaintenanceRouteLine_Results" Comment="Maintenance routes new style: Results">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Finished]]></Condition>
<Text Title="#label(MEASUREMENT_VALUE)" Text="#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.MeasureCode.Unit})#end: #end#todecimal(${JobInspectionLine.Value2})">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')]]></Condition>
</Text>
<Text Title="#label(MEASUREMENT_VALUE)" Text="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end: #end#todecimal(${JobInspectionLine.Value2})">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
</Text>
<Text Title="#label(FINDINGS)" Text="#htmltoplain(${JobInspectionLine.Text1})" Icon="ultimoweb-clipboard-4">
<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
</Text>
<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionImageFile1}" FileName="${JobInspectionLine.InspectionImageFile1}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionImageFile2}" FileName="${JobInspectionLine.InspectionImageFile2}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionImageFile3}" FileName="${JobInspectionLine.InspectionImageFile3}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
</Document>
<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionImageFile4}" FileName="${JobInspectionLine.InspectionImageFile4}">
<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
</Document>
<Entity Value="${JobInspectionLine.FollowUpJob}" Title="#label(FOLLOWUP_JOB)">
<Condition><![CDATA[${JobInspectionLine.FollowUpJob} != Empty]]></Condition>
</Entity>
<Entity Value="${JobInspectionLine.SafetyIncident}" Title="#contextdescription_capital(${JobInspectionLine.SafetyIncident})">
<Condition><![CDATA[${JobInspectionLine.SafetyIncident} != Empty
&& #applicationelementenabled('7e8b000a-3d98-491e-9343-a9246a56ce88')
&& #applicationelementenabled('c290cfb1-fb6d-4663-aa1b-254a92a19cec')]]></Condition>
</Entity>
<Text Title="#label(FINISHED_DATE)" Text="#formatdate(${JobInspectionLine.StatusFinishedDate} 'f' true)" Icon="ultimoweb-calendar">
<Condition><![CDATA[${JobInspectionLine.StatusFinishedDate} != Empty]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.StatusFinishedEmployee}" />
</Section>
<Section Id="MaintenanceRouteLine_Skipped" Comment="Maintenance routes new style: Skipped information">
<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
<Text Title="#label(REASON_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.SkipReason.Description?})" Icon="ultimoweb-clipboard-4" />
<Text Title="#label(EXPLANATION_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.Text2})" />
<Text Title="#label(SKIPPED_DATE)" Text="#formatdate(${JobInspectionLine.StatusSkippedDate} 'f' true)" Icon="ultimoweb-calendar" />
<Entity Value="${JobInspectionLine.StatusSkippedEmployee}" />
</Section>
<Section Id="Text" Comment="Maintenance routes new and old style and Acceptance by production">
<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
<Text Title="#label(DESCRIPTION)" Text="${JobInspectionLine.Text}" Icon="ultimoweb-copy-2" ConvertHtmlToPlainText="True">
<Condition><![CDATA[${JobInspectionLine.Text} != Empty]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.Id.Job}" />
</Section>
<Section Id="Image" Comment="Maintenance routes old style: Image">
<Document Title="#label(IMAGE_INSPECTION_POINT)" Text="#label(IMAGE_INSPECTION_POINT)" Image="${JobInspectionLine.InspectionLine.ImageFile?}" FileName="${JobInspectionLine.InspectionLine.ImageFile}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ImageFile?} != Empty
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Document>
</Section>
<Section Id="Location" Comment="Maintenance routes new and old style: General information">
<Entity Value="${JobInspectionLine.InspectionLine.Equipment}" />
<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunction}" />
<Entity Value="${JobInspectionLine.InspectionLine.Space}" />
<Entity Value="${JobInspectionLine.InspectionLine.Article}" />
<Text Title="#label(MAINTENANCE_ROUTE_PLANNED_NUMBER_ARTICLES)" Text="${JobInspectionLine.InspectionLine.PlannedArticleQuantity}" Icon="ultimoweb-cart-add">
<Condition><![CDATA[${JobInspectionLine.InspectionLine} != Empty
&& ${JobInspectionLine.InspectionLine.PlannedArticleQuantity} > 0]]></Condition>
</Text>
</Section>
<Section Id="Measurement" Comment="Maintenance routes + inspection old style: Measurement point information">
<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
<Entity Value="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint}">
<Condition><![CDATA[#applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Entity>
<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastValue}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint}">
<Condition><![CDATA[#applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Entity>
<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.LastValue}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Text>
<Text Title="#label(NOMINAL_VALUE)" Text="${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.NominalValue} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& #applicationelementenabled('fd403875-2594-4572-b110-a0110f9b62bc')]]></Condition>
</Text>
</Section>
<Section Id="MeasureValue" Comment="Maintenance routes old style + inspection old style: Measured value">
<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.Value} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.Value} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& #applicationelementenabled('fd403875-2594-4572-b110-a0110f9b62bc')]]></Condition>
</Text>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.EquipmentIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.Equipment?} != Empty
&& ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Text>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.ProcessFunctionIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunction?} != Empty
&& #applicationelementenabled('582192d2-b193-421c-8d59-b5cb5b0e81ec')
&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
</Text>
<Text Title="#label(FINDINGS)" Text="${JobInspectionLine.Text1}">
<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')
|| #applicationelementenabled('fd403875-2594-4572-b110-a0110f9b62bc')]]></Condition>
</Text>
</Section>
<Section Id="ReportMeasurementCourseroute">
<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_CourseRoute"
Title="#label(ENTER_MEASUREMENT_VALUE)"
Text="#label(ENTER_MEASUREMENT_VALUE)"
Icon="ultimoweb-meter">
<Condition><![CDATA[${JobInspectionLine.Context} == 2
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& (
${JobInspectionLine.InspectionLine.Equipment?} != Empty
&& ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
|| ${JobInspectionLine.InspectionLine.ProcessFunction?} != Empty
&& ${JobInspectionLine.InspectionLine.ProcessFunction?} != Empty
)
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')
&& (
${JobInspectionLine.Id.Job.Status} != JobStatus.Created
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Value" Title="#label(MEASURED_VALUE)#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}!=Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?})#end" Text="#label(NOMINAL_VALUE) ${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}" Type="Decimal" Value="${JobInspectionLine.Value}" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(MAINTENANCE_ROUTE_POINT_OK)"
Text="#label(REPORT_OK)"
Icon="ultimoweb-checkmark">
<Condition><![CDATA[${JobInspectionLine.Context} == 2
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.QualityOk} == False
&& (
${JobInspectionLine.Id.Job.Status} != JobStatus.Created
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="False" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(MAINTENANCE_ROUTE_POINT_NOK)"
Text="#label(REPORT_NOK)"
Icon="ultimoweb-radio-unchecked">
<Condition><![CDATA[${JobInspectionLine.Context} == 2
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.QualityOk} == True
&& (
${JobInspectionLine.Id.Job.Status} != JobStatus.Created
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
)]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportSafetyIncident"
Title="#label(REPORT_HSE_SAFETYINCIDENT)"
Icon="ultimoweb-warning">
<Condition><![CDATA[${JobInspectionLine.Context} == 2
&& ${JobInspectionLine.SafetyIncident} == Empty
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& (
${JobInspectionLine.Id.Job.Status} != JobStatus.Created
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
)
&& #applicationelementenabled('7e8b000a-3d98-491e-9343-a9246a56ce88')
&& #applicationelementenabled('c290cfb1-fb6d-4663-aa1b-254a92a19cec')]]></Condition>
<Properties>
<Property Name="JobInspectionLine" Value="${JobInspectionLine}" />
<Property Name="Title" Title="#label(INCIDENT)" Type="String" Required="True" SingleLine="True" />
<Property Name="Description" Title="#label(DESCRIPTION_INCIDENT)" Type="String" Required="True" />
<Property Name="Date" Title="#label(SAFETYINCIDENT_DATE)" Type="DateTime" Required="True" />
<DataSetProperty Name="Department" Title="#label(DEP)" DataSet="Department" Required="True" />
<Property Name="AnonymouslyReported" Title="#label(REPORT_ANONYMOUS)" Type="Boolean" Value="False" Required="True" />
<Property Name="Witnesses" Title="#label(WITNESSES)" Type="String" SingleLine="True" />
<Property Name="ImageFile1" Title="#label(ILLUSTRATION_1)" Type="Image" />
<Property Name="ImageFile2" Title="#label(ILLUSTRATION_2)" Type="Image" />
<Property Name="ImageFile3" Title="#label(ILLUSTRATION_3)" Type="Image" />
<Property Name="ImageFile4" Title="#label(ILLUSTRATION_4)" Type="Image" />
</Properties>
</Workflow>
<Entity Value="${JobInspectionLine.SafetyIncident}" Title="#contextdescription_capital(${JobInspectionLine.SafetyIncident})">
<Condition><![CDATA[${JobInspectionLine.Context} == 2
&& ${JobInspectionLine.SafetyIncident} != Empty
&& #applicationelementenabled('7e8b000a-3d98-491e-9343-a9246a56ce88')
&& #applicationelementenabled('c290cfb1-fb6d-4663-aa1b-254a92a19cec')]]></Condition>
</Entity>
</Section>
<Section Id="ReportMeasurementInspectionLine">
<Workflow
Name="Mobile_JobInspectionLine"
Title="#label(ENTER_MEASUREMENT_VALUE)"
Text="#label(ENTER_MEASUREMENT_VALUE)"
Icon="ultimoweb-meter">
<Condition><![CDATA[(
${JobInspectionLine.Context} == 1
)
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="Value" Title="#label(MEASURED_VALUE)#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}!=Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?})#end" Text="#label(NOMINAL_VALUE) ${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}" Type="String" Value="${JobInspectionLine.Value}" />
<Property Name="Text" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
<Property Name="QualityOk" Title="#label(MEASUREMENT_POINT_OK)" Type="Boolean" Value="#if(${JobInspectionLine.Done})${JobInspectionLine.QualityOk}#end" Required="True" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(INSPECTIONLINE_OK)"
Text="#label(REPORT_OK)"
Icon="ultimoweb-checkmark">
<Condition><![CDATA[${JobInspectionLine.Context} == 1
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.QualityOk} == False
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="False" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(INSPECTIONLINE_NOK)"
Text="#label(REPORT_NOK)"
Icon="ultimoweb-radio-unchecked">
<Condition><![CDATA[${JobInspectionLine.Context} == 1
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.QualityOk} == True
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="True" />
</Properties>
</Workflow>
</Section>
<Section Id="ReportChecklistAcceptanceLine">
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(CHECKLIST_POINT_OK)"
Text="#label(REPORT_OK)"
Icon="ultimoweb-checkmark">
<Condition><![CDATA[${JobInspectionLine.Context} == 16
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
&& #applicationelementenabled('8f9f24e7-15eb-4efd-9317-9f7ee34c9f84')
&& ${JobInspectionLine.QualityOk} == False]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="False" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_Ok"
Title="#label(CHECKLIST_POINT_NOK)"
Text="#label(REPORT_NOK)"
Icon="ultimoweb-radio-unchecked">
<Condition><![CDATA[${JobInspectionLine.Context} == 16
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
&& #applicationelementenabled('8f9f24e7-15eb-4efd-9317-9f7ee34c9f84')
&& ${JobInspectionLine.QualityOk} == True]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="QualityOk" Value="True" />
</Properties>
</Workflow>
</Section>
</Screen>
Brondatabewerken
- Definitie opvragen —
lookup_mobile_screen("JobInspectionLine", app="TechnicalService")Volledige definitie incl. XML. Bron:ultimo_gomanager.xml. - Entity-model —
lookup_entity("JobInspectionLine")· ../../entities/JobInspectionLine Properties, contexts en statussen van de JobInspectionLine-entity. Bron:Entities.xml.