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.

Portal vs Repeating

Featured Replies

  • Newbies

Do I gather that using a Repeating Field(s) for a purchase order will not permit me to produce summary values for specific Item #, i.e. report how many #347 knobs did I purchase last month? Is that not possible to extract from a repeating field, and/or is it thru a portal, or must I generate a separate record for each item on PO to accomplish this?

great.gif

You've pretty much hit the problem with repeating fields. They are no good for reports of how many of each item was sold. I mean, you could Find for a particular item, and get some idea that way; but that's a report.

So it's the last two ideas combined, enter the line items in a portal, with the line items records in another file, linked by the PO ID. You can turn on "allow creation of related records" for a simple portal of not too many lines. Or you can have a button to create a new row (could show at the top). Or you can enter values into global fields, then have a "Set" or "Commit" button, which runs a script to create the line item record.

One downside to a separate line items file is that the PO total is now a related calculation, hence Unstored. This can slow down reports which sum all POs (though how often would you really do this?). The last technique, of entering data in globals then scripting creation could, as last step, also set the total into a regular field.

But then you also have to completely trap editing and deletion; it is unreliable unless you have total control. An alternative is to do "batch" setting at report time, of only "finished" POs; or something like that; many alternatives, none of them perfect.

[i wish I wish that FM 7, when it ever arrives, has the ability to store such line item totals, if you include the line item "table" in the same file as its parent; though I hardly see how, since even self-related fields are unstored :-[]

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.