v2.47.1 - ISQ query in OI file name

This commit is contained in:
2022-12-06 08:18:36 -07:00
parent 17c2d78d59
commit bd33624130
7 changed files with 73 additions and 37 deletions

View File

@ -4,9 +4,9 @@
// self :
// getContextData('2', 'cds.PROCESS_JOBID', '')
getValue(self, self.length, $('dcp.HGCV1/pcl/MesEntity', ''), $('dcp.HGCV1/pcl/Pattern', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
getValue(self, self.length, $('dcp.HGCV3/pcl/MesEntity', ''), $('dcp.HGCV3/pcl/Pattern', ''), $('dcp.HGCV3/pcl/Lot', ''), getContextData('2', 'cds.PROCESS_JOBID', ''));
function getValue(value, length, mesEntity, pattern, processJobId) {
function getValue(value, length, mesEntity, pattern, lot, processJobId) {
if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('LOW') > -1)
return mesEntity;
else if (pattern === 'ONEPT.PAT' && lot.toUpperCase().indexOf('MID') > -1)