Merged PR 11238: Modifications for custom EpiSil CDS File
Added in metrology fields for CDS if customer is EpiSil. Related work items: #220257, #221112, #233233
This commit is contained in:
parent
3d230444b0
commit
62ac326550
@ -56,7 +56,7 @@ $Insert PRS_STAGE_EQUATES
|
||||
$Insert WO_MAT_EQUATES
|
||||
|
||||
Declare function Database_Services, SRP_JSON, Error_Services, obj_Clean_Insp
|
||||
Declare subroutine Database_Services, SRP_JSON, Error_Services, obj_React_Run, Clean_Insp_Services, React_Run_Services
|
||||
Declare subroutine Database_Services, SRP_JSON, Error_Services, obj_React_Run, Clean_Insp_Services, React_Run_Services, Btree.Extract
|
||||
|
||||
GoToService
|
||||
|
||||
@ -439,12 +439,33 @@ Service UpdateAllCleanInsp(WOMatKey)
|
||||
|
||||
end service
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// This service functions as a means to get the latest CINo for a specified RDS No where the defectivity measurements took place
|
||||
// This is specifically used to have the latest defectivity data
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
Service GetLatestDefectCINoByRDSId(RDSNo)
|
||||
LatestCINo = ''
|
||||
LatestInspDtm = ''
|
||||
Open 'DICT CLEAN_INSP' to @DICT then
|
||||
SrchString = 'RDS_NO':@VM:RDSNo:@FM
|
||||
CIList = ''
|
||||
Option = ''
|
||||
Flag = ''
|
||||
Btree.Extract(SrchString, 'CLEAN_INSP', @DICT, CIList, Option, Flag)
|
||||
If CIList NE '' then
|
||||
for each CleanInspKey in CIList using @VM
|
||||
ThisCIInspDtm = Database_Services('ReadDataColumn', 'CLEAN_INSP', CleanInspKey, CLEAN_INSP_SCAN_VER_SIG_DTM$ , True$, 0, False$)
|
||||
ThisCIInspDefAvg = Database_Services('ReadDataColumn', 'CLEAN_INSP', CleanInspKey, CLEAN_INSP_SCAN_SUM_OF_DEF_AVG$ , True$, 0, False$)
|
||||
If ThisCIInspDtm GT LatestInspDtm AND ThisCIInspDefAvg NE '' then
|
||||
LatestCINo = CleanInspKey
|
||||
LatestInspDtm = ThisCIInspDtm
|
||||
end
|
||||
Next CleanInspKey
|
||||
end
|
||||
end
|
||||
Response = LatestCINo
|
||||
end service
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Internal GoSubs
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user