fixed a bug in signature services preventing UNLOAD LW_RHO QA met from being signed

This commit is contained in:
Infineon\StieberD 2025-01-31 08:33:58 -07:00
parent d7d8fc0289
commit 44292564f5
2 changed files with 9 additions and 4 deletions

View File

@ -136,9 +136,13 @@ Service GetMaterialTrackSettings(UserId)
If (UserId NE '') then If (UserId NE '') then
RepUserId = UserId RepUserId = UserId
Convert @Lower.Case to @Upper.Case in RepUserId Convert @Lower.Case to @Upper.Case in RepUserId
Response = Database_Services('ReadDataRow', 'REPORT_CONFIG', 'MATERIAL_TRACK_WEB*':RepUserId) If RowExists('REPORT_CONFIG', 'MATERIAL_TRACK_WEB*':RepUserId) then
Response = Database_Services('ReadDataRow', 'REPORT_CONFIG', 'MATERIAL_TRACK_WEB*':RepUserId)
end else
Response = Database_Services('ReadDataRow', 'REPORT_CONFIG', 'MATERIAL_TRACK_WEB*DEFAULT')
end
end else end else
Error_Services('Add', 'Error in ':Service:' service. Null UserId passed into service.') Response = Database_Services('ReadDataRow', 'REPORT_CONFIG', 'MATERIAL_TRACK_WEB*DEFAULT')
end end
end service end service
@ -156,3 +160,4 @@ Service UpdateMaterialTrackSettings(MtSettingsJson, UserId)
end service end service

View File

@ -211,7 +211,6 @@ end service
Service CheckSigOrder(WOMatKey, CurrStage, UseCaching, RDSNo) Service CheckSigOrder(WOMatKey, CurrStage, UseCaching, RDSNo)
If UseCaching EQ '' then UseCachine = True$ If UseCaching EQ '' then UseCachine = True$
Response = False$ Response = False$
If RDSNo NE '' then If RDSNo NE '' then
@ -2549,7 +2548,8 @@ Service QAMetSigReady(RDSNo, QAStage=QA_STAGES, Slot=SLOTS, WOMatQAKey)
FailReason = WOMatQARec<WO_MAT_QA_FAIL_REASON$, vPos> FailReason = WOMatQARec<WO_MAT_QA_FAIL_REASON$, vPos>
If ( (FailReason NE '') | If ( (FailReason NE '') |
and (FailReason NE 'THICK_ONLY UNLOAD product measurement test has not been signed.') | and (FailReason NE 'THICK_ONLY UNLOAD product measurement test has not been signed.') |
and (FailReason NE 'CRES UNLOAD product measurement test has not been signed.') ) then and (FailReason NE 'CRES UNLOAD product measurement test has not been signed.') |
and (FailReason NE 'UNLOAD LW_RHO product measurement test has not been signed.' ) ) then
ErrorMessage = 'Error in ':Service:' service. ':FailReason ErrorMessage = 'Error in ':Service:' service. ':FailReason
end end
end end