I'm using IFS FSM Mobile. How we can write client script to change the task status after clicking on custom button from IFS FSM mobile instead of using action status bar??
Hi experts,There is an requirement as below. In request screen, we can have multiple part needs. Once we create a new row in Part needs tab, we need to add some default values (Ex- Promised Date/Quantity) to the newly added row based on the first part_need row values. As an example, in this screenshot, first part need sequence = 46. So when user adding new row by using New button, the values from sequence - 46 should be fetched and set as default values in the newly created row. I have already fetched the values from the first part need row by using client script sql. But when I try to use the getDataTableSelectedRows and setValueOnListDataRow, it seems these methods are not triggering the newly added row. Instead this method will trigger the first row since that is the one already selected as the default. Any feedback or work around for this. Thanks,Hasara
Hi all,I want to compare two datetimes, and get the amount of seconds left.I tried SELECT DATEDIFF(second, GETDATE(),ACTUAL_TRAVEL_START_DTTM) FROM task WHERE task_id = {0} This one works via the sql query tool. But if I use it in a getdvalue, no value is returned getDBValue("select CONVERT(TIME,ACTUAL_TRAVEL_START_DTTM - GETDATE()) from task where task_id = {0}", taskid);
Hi All, I’m struggeling to create a list via a Mobile Client Script.I succesfully recieve a Object with data via getDBValues, but I only need one item from that object. So I created a for loop, to go trough the object and store the value in a String, Array or Object (doesn’t matter). Creating a new Array or a Object seems not to work for mobile Als simply extending a var via the += method also not working.Example:var data = getDBValues(stringFormat("SELECT id FROM database_table WHERE type = 'placeholder'"));var arr = new Array();var list = ‘’;for(var i=0; i < data.length; i++) { arr.push(data[i]['ID']); list+= data[i]['ID'];}
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.