title: "JobInspectionLine (Screen in Fleet)" category: reference tags: [mobile, go, go-plus, screen, fleet] source: ultimo_gomanager.xml date: 2026-04-17 status: published
JobInspectionLine (Screen in Fleet)
Category: Screen Application: Fleet Has standard: Ja Entity (uit XML): JobInspectionLine
Raw XMLbewerken
<Screen EntityType="JobInspectionLine">
<ContextList>
<Context>JobInspectionLineContext.Standard</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="#if(${JobInspectionLine.InspectionLine} != Empty) ${JobInspectionLine.InspectionLine.Description} #else #label(MEASUREMENT_POINT) ${JobInspectionLine.Point}#end" Text="#trim #if(${JobInspectionLine.Done} == true && ${JobInspectionLine.QualityOk} == true) #label(AGREED) #elseif(${JobInspectionLine.Done} == true && ${JobInspectionLine.QualityOk} == false)#label(REJECT) #else #label(TO_DETERMINE) #end #end" Icon="#trim #if(${JobInspectionLine.Done} == true && ${JobInspectionLine.QualityOk} == true) ultimoweb-checkmark #elseif(${JobInspectionLine.Done} == true && ${JobInspectionLine.QualityOk} == false) ultimoweb-close #else ultimoweb-radio-unchecked #end #end" Comment="Inspections old style">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></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.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,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_FAULT)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault (when it is the default action)">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk) == NotOkAndReportFault
&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
&& #applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="InspectionResult" Value="NotOkReportFault" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" 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" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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.Fleet,Job.PrefillFollowUpJobDescription)
&& !#getsetting(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)
&& #getsetting(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)]]></Condition>
</Property>
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Fleet" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Fleet)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('04a51be5-81ad-4157-a73d-8d086f931e9c')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.Fleet" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Fleet)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('d11ee309-b9f0-49d1-8926-cb2f0b5cd005')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Fleet" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_RegisterInspectionResult"
Title="#label(NOT_OK_REPORT_FAULT)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk) != NotOkAndReportFault
&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
&& #applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="InspectionResult" Value="NotOkReportFault" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" 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" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,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
)
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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.Fleet,Job.PrefillFollowUpJobDescription)
&& !#getsetting(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)]]></Condition>
</Property>
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)
&& #getsetting(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription)]]></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.Fleet,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Fleet" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Fleet)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('04a51be5-81ad-4157-a73d-8d086f931e9c')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.Fleet" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Fleet)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('d11ee309-b9f0-49d1-8926-cb2f0b5cd005')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Fleet" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
Title="#label(REPORT_CONDITIONFLAW)"
Icon="ultimoweb-warning"
Comment="Inspections new style: type Inspect - Report a fault">
<Condition><![CDATA[#applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile1} : Empty" />
<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile2} : Empty" />
<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile3} : Empty" />
<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile4} : Empty" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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">
<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}" SingleLine="True" ScanMeter="True" />
<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_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[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,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_FAULT)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault (when it is the default action)">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk) == NotOkAndReportFault
&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
&& #applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="InspectionResult" Value="NotOkReportFault" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" 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" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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.FollowUpJob} == Empty
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,Job.PrefillFollowUpJobDescription) == True]]></Condition>
</Property>
<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Fleet" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Fleet)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('04a51be5-81ad-4157-a73d-8d086f931e9c')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.Fleet" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Fleet)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('d11ee309-b9f0-49d1-8926-cb2f0b5cd005')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Fleet" />
<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_REPORT_FAULT)"
Icon="ultimoweb-close"
Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault">
<Condition><![CDATA[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk) != NotOkAndReportFault
&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
&& #applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="InspectionResult" Value="NotOkReportFault" />
<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" 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" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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[#settingenabled(Job,JobContext.Fleet,Job.DefaultActionInspectionNotOk)
&& #getsetting(Job,JobContext.Fleet,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
)
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,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.Fleet,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Fleet" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Fleet)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('04a51be5-81ad-4157-a73d-8d086f931e9c')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.Fleet" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Fleet)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('d11ee309-b9f0-49d1-8926-cb2f0b5cd005')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Fleet" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
Title="#label(REPORT_CONDITIONFLAW)"
Icon="ultimoweb-warning"
Comment="Inspections new style: type MeasureAndInspect - Report a fault">
<Condition><![CDATA[#applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile1} : Empty" />
<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile2} : Empty" />
<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile3} : Empty" />
<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile4} : Empty" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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
)
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,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.Fleet,Job.PrefillFollowUpJobDescription) == True
&& #getsetting(Job,JobContext.Fleet,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.Fleet,Job.InspectionDefaultWorkOrderType) && #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Fleet,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
<Properties>
<Property Name="Context" Value="WorkOrderTypeContext.Fleet" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Fleet)" DataSet="ProcessFunctionGeneral">
<Condition><![CDATA[#applicationelementenabled('04a51be5-81ad-4157-a73d-8d086f931e9c')]]></Condition>
<Properties>
<Property Name="Context" Value="ProcessFunctionContext.Fleet" />
<Property Name="Status" Value="ProcessFunctionStatus.Active" />
</Properties>
</DataSetProperty>
<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#contextdescription_capital(Equipment EquipmentContext.Fleet)" DataSet="Equipment">
<Condition><![CDATA[#applicationelementenabled('d11ee309-b9f0-49d1-8926-cb2f0b5cd005')]]></Condition>
<Properties>
<Property Name="Context" Value="EquipmentContext.Fleet" />
<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
</Properties>
</DataSetProperty>
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
Title="#label(REPORT_CONDITIONFLAW)"
Icon="ultimoweb-warning"
Comment="Inspections new style: type Measure or type Task - Report a fault">
<Condition><![CDATA[#applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
</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_ReportedFaults">
<List DataSet="JobInspectionLineReportedFaults" Text="#label(REPORTED_FAULTS)" ShowCount="True" Icon="ultimoweb-link-2">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
&& #applicationelementenabled('44c5341e-f33d-4f26-a30e-5d12820f5352')]]></Condition>
<Properties>
<Property Name="JobInspectionLineLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="JobInspectionLineJobId" Value="${JobInspectionLine.Id.Job}" />
</Properties>
</List>
</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
&& #applicationelementenabled('c6ac44f6-72c6-4c6d-9ee4-de57e198582d')]]></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="Text">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></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">
<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]]></Condition>
</Document>
</Section>
<Section Id="Location">
<Entity Value="${JobInspectionLine.InspectionLine.Equipment}" />
<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunction}" />
<Entity Value="${JobInspectionLine.InspectionLine.Space}" />
<Entity Value="${JobInspectionLine.InspectionLine.Article}" />
</Section>
<Section Id="Measurement">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></Condition>
<Entity Value="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint}">
<Condition><![CDATA[#applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Entity>
<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastValue}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint}">
<Condition><![CDATA[#applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Entity>
<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint.LastValue}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunctionMeasurementPoint?} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
<Text Title="#label(NOMINAL_VALUE)" Text="${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.NominalValue} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
</Section>
<Section Id="MeasureValue">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></Condition>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.Value} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.Value} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.EquipmentIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.Equipment?} != Empty
&& ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.ProcessFunctionIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunction?} != Empty
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></Condition>
</Text>
<Text Title="#label(FINDINGS)" Text="${JobInspectionLine.Text1}" />
</Section>
<Section Id="ReportMeasurementInspectionLine">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine"
Title="#label(ENTER_MEASUREMENT_VALUE)"
Text="#label(ENTER_MEASUREMENT_VALUE)"
Icon="ultimoweb-meter">
<Condition><![CDATA[${JobInspectionLine.Context} != 2
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
&& #applicationelementenabled('caee586b-96cb-4238-a855-bd54d7453233')]]></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} != 2
&& ${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} != 2
&& ${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="ConditionFlawPresent">
<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard
&& (
${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
|| #{Settings.Job.ModifyAnyJob}
)
&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
<Workflow
Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
Title="#label(REPORT_CONDITIONFLAW)"
Text="#label(REPORT_CONDITIONFLAW_INFRAJOB)"
Icon="ultimoweb-warning">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
</Properties>
</Workflow>
<Workflow
Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
Title="#label(REPORTANDSOLVE_CONDITIONFLAW)"
Text="#label(REPORTANDSOLVE_CONDITIONFLAW_INFRAJOB)"
Icon="ultimoweb-warning">
<Properties>
<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Fleet" />
<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
<Property Name="SolveWithJob" Value="True" />
</Properties>
</Workflow>
</Section>
</Screen>
Brondatabewerken
- Definitie opvragen —
lookup_mobile_screen("JobInspectionLine", app="Fleet")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.