How to Use Crosslight Enterprise Framework to Update Calculated Fields

21 replies. Last post: August 7, 2015 4:24 PM by Jimmy Tungol
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Jimmy TungolMember

Hi,

We've probably asked this before, but didn't quite get the answer we're looking for. But, what we need to know is how to update a field on the CLIENT side without raising property changed; thus making the record state as clean. Say for example we have table called Table1 that has columns (num1, num2, and total). And all of which are presented to the user using the Form Builder, which accepts inputs in fields num1 and num2 while the total field is a readonly value that is being calculated from the server side. That being said, once the num1 and num2 fields have been populated and sent to the server, the total field on the CLIENT side should be updated with whatever value has been generated from the server side. This way, both values of the TOTAL field on CLIENT and SERVER side are synchronized.

How can we properly implement this with the current version of Enterprise Framework? Does the framework automatically fetch updated data from the server on ExecuteSave? If not, how do we execute an existing command to fetch the updated data from the server and refresh the data within the form?

Please advise. Thanks!

All times are GMT -5. The time now is 9:21 AM.
Previous Next