disabling missing auto calculated data notifications

This commit is contained in:
Infineon\StieberD 2025-02-04 09:08:25 -07:00
parent f1eb8e9812
commit 790d3e7b8c

View File

@ -2830,22 +2830,6 @@ CalculateResults:
end
Database_Services('WriteDataRow', 'RDS_TEST', RDSTestKeyID, RDSTestRec, True$, False$, True$)
ThkTestCheck = Xlate('RDS_TEST', RDSTestKeyID, RDS_TEST_THICK_AVG$, 'X')
ResTestCheck = Xlate('RDS_TEST', RDSTestKeyID, RDS_TEST_RES_AVG$, 'X')
SheetRhoTestCheck = Xlate('RDS_TEST', RDSTestKeyID, RDS_TEST_SHEETRHO_AVG$, 'X')
HGCV1TestCheck = Xlate('RDS_TEST', RDSTestKeyID, RDS_TEST_HGCV1_RES_AVG$, 'X')
// Check to make sure data was written and alert if it wasn't
IF ResTestCheck EQ '' AND ThkTestCheck NE '' AND (SheetRhoTestCheck NE '' OR HGCV1TestCheck NE '')then
Recipients = XLATE('SEC_GROUPS', 'OI_ADMIN', 'USER', 'X')
SentFrom = 'OI Admin'
Subject = 'Missing auto-calculated data detected'
Message = RDSTestRec<RDS_TEST_RDS_NO$> : ' : ' : RDSTestKeyID: ' failed to auto caluclate results on automated data upload. Failed on Database Write'
AttachWindow = ''
AttachKey = ''
SendToGroup = ''
Parms = Recipients:@RM:SentFrom:@RM:Subject:@RM:Message:@RM:AttachWindow:@RM:AttachKey:@RM:SendToGroup
obj_Notes('Create',Parms)
end
If Error_Services('NoError') then
Metrology_Services('LogResults', RDSKeyID, Machine, 'UID000', Service : ' : Success - Calculated Results.')
@ -2987,4 +2971,3 @@ LoadRunDataToDatabase:
return