Solved

FSM Mobile configuration

  • 8 May 2020
  • 1 reply
  • 155 views

Userlevel 3
Badge +6

Hi , can anyone tell me  how to update the record in mobile  .when we create a new screen we are giving the primary table and selecting the fields  for the screen but when we enter the data the data is not stored , it just disappears what is the step that i am missing .

icon

Best answer by Steve Hurst 2 July 2020, 11:03

View original

1 reply

Userlevel 5
Badge +15

You will need to create either a SAVE or NEXT button. Then you need to add a script to this button to actually save the data. The script you’ll need is something along these lines:

if (initialValuesHaveChanged())
{
    if (saveChanges())
    {
        // save worked - so add in here what screen to go to next
    }
    else
    {
        // save failed - so an alert message perhaps
    }
}
else
{
    // Nothing was changed - so no need to save, put here what to happen next
}

 

Reply