Skip to main content
Solved

FSM Mobile configuration

  • May 8, 2020
  • 1 reply
  • 164 views

Forum|alt.badge.img+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 .

Best answer by Steve Hurst

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
}

 

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+15
  • Hero (Employee)
  • 55 replies
  • Answer
  • July 2, 2020

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings