Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Causing Data to Refresh

Featured Replies

I'm working on my first data separation model project and it has an Invoice table. There is also a related Payment table.

The Invoice table has a calculation field that sums the Payment::Amount field in related records. It also has a Balance calculation field that subtracts Invoice::SumPayments from Invoice::Total.

In the user interface file I've created an Invoice form layout on which I've placed a portal to an occurrence of the Payment table. Rather than the user entering payments directly into this portal the user clicks a button above the portal that runs a script that opens a window containing a layout in which the user enters the new Payment record.

I've done this lots of times before and it always works well but in this project I'm experiencing some anomalous behavior. Whenever the New Payment script completes, the Payment record doesn't appear in the portal until I click on the Invoice layout. Also the SumPayments and Balance fields don't recalculate until I click on the Invoice layout. Similar behavior occurs when I delete a Payment. What's happening here? What's the solution?

I know this will sound really simple, but I have to ask it...Do you have a Commit Record step at the end of the script? That is where I would start.

  • Author

Yes I do.

Take a look at this blog by Daniel Wood http://fmforums.com/forum/blog/12/entry-63-ditch-those-flush-caches-use-cartesian-join-instead/ it may be your answer,

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.