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.

Featured Replies

On a simple invoice DB I built, while adding line items, how can I automatically increase the quantity of the product for products that have already been added.. Rather than having duplicate items occupy the invoice...  Items are added via script... Thanks 

Script trigger can handle it nicely (please see attached).  Overview:

  • Script trigger attached to LineItem Quantity field OnObjectExit tests if there same product is on same invoice
  • If so, entered quantity is added to the 'other' duplicate (see relational graph for filtered join).
  • Then the current portal row is deleted.

An added benefit of deleting the record is that, if one uses Revert Record/Request at this point, other changes in the parent could be lost as well.  In addition, if one reverts the current new record in the portal, FM refuses to set the related quantity and still allow reversion of the 'parent' line item. 

CombineLines.fmp12.zip

Edited by LaRetta

  • Author

Thanks for your reply... I am very grateful 

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.