Forum Discussion
AlinMihalcea1
8 years agoQrew Assistant Captain
Dan, I am employing your solution ,but I have a question for you regarding the logging of check boxes. Below is an example of how the code is logging currently.
Can I have it say "Was = Off; now = On" ?
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[NOV-06-17 8:39 AM XXX] ROM Confirmed Completion was =1; now =on
Ready To Invoice - Notify AR was =0; now =on
In AR Review was =0; now =on
Rejected By AR was =0; now =on
Can I have it say "Was = Off; now = On" ?
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[NOV-06-17 8:39 AM XXX] ROM Confirmed Completion was =1; now =on
Ready To Invoice - Notify AR was =0; now =on
In AR Review was =0; now =on
Rejected By AR was =0; now =on
_anomDiebolt_
8 years agoQrew Elite
Change oldValue => (oldValue ? "on" : "off") as follows:
log.push(label + " was =" + (oldValue ? "on" : "off") + "; now =" + newValue);
log.push(label + " was =" + (oldValue ? "on" : "off") + "; now =" + newValue);