v2.47.1 - Ready to test ISQ query
This commit is contained in:
16
Adaptation/.vscode/psn.js
vendored
Normal file
16
Adaptation/.vscode/psn.js
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
// (self.length != 0) ?
|
||||
// self :
|
||||
// (getContextData('2', 'cds.PRODUCT', '') == '-') ?
|
||||
// self :
|
||||
// getContextData('2', 'cds.PRODUCT', '')
|
||||
|
||||
getValue(self, self.length, getContextData('2', 'cds.PRODUCT', ''), $('dcp.HGCV3/pcl/Recipe', ''));
|
||||
|
||||
function getValue(value, length, product, recipe) {
|
||||
if (recipe.toUpperCase() === 'MERCURY PROBE WAFER TYPE HILO')
|
||||
return 'Mercury Probe Wafer Type HiLo';
|
||||
else if (length !== 0 || product === '-')
|
||||
return value;
|
||||
else
|
||||
return product;
|
||||
}
|
Reference in New Issue
Block a user