on FSM 5.7 it shows all the users entered line codes. however only some of them apply to labour while the others do not.
What would be the best way to hide specific ones from the mobile time reporting screen
on FSM 5.7 it shows all the users entered line codes. however only some of them apply to labour while the others do not.
What would be the best way to hide specific ones from the mobile time reporting screen
Jbernardo,
To my knowledge, there are 2 methods to accomplish this.
var lineCode = getControlValue("non_part_usage", "line_code");
var textLines = "select description, line_code from line_code where line_code in ('SHOPTIME', 'TRAINING')";
populateListFromQuery("non_part_usage", "line_code", textLines, false);
if(getCurrentTransactionType() == "UPDATE") {
setControlValue("non_part_usage", "line_code", lineCode);
}
Sincerely,
-Rudy
Jbernardo,
To my knowledge, there are 2 methods to accomplish this.
var lineCode = getControlValue("non_part_usage", "line_code");
var textLines = "select description, line_code from line_code where line_code in ('SHOPTIME', 'TRAINING')";
populateListFromQuery("non_part_usage", "line_code", textLines, false);
if(getCurrentTransactionType() == "UPDATE") {
setControlValue("non_part_usage", "line_code", lineCode);
}
Sincerely,
-Rudy
Hi
Which sync rule would it be? I see LINE_CODE - but not sure where i would make that change you mentioned.
to be clear, i still want them to be able to select Line Code ‘TT’ for example but i dont want it to show on their time reporting or account to their total labour hours.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.