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.

Calculation pulling from portal rows

Featured Replies

Good morning - here i go again smile.gif

On my invoice screen - I have a portal set up to enter my items being purchased. The commission amount is calculated from the information in the portal rows.

My delimna is - if I have them enter a FIN(Finance Charge) or ADJ (Adjustment) in the Item Code box of the portal - I do not want this line item to be included in the Comission Calculation.

I have the Commission Calulation set up - If(lineitem:item code ="FIN" and "ADJ", 0, SUM(lineitem:item cost).

This seems to work for the first line of the portal. But typically - the FIN or ADJ item code is entered farther down the portal entry. How can I have my Commission Calculation look through all the portal records?

I hope this makes sense and look forward to your advice.

Define a calc field in Line Items that include only the elements you want to have counted in the aggregated total. THen in the parent file, use the aggregate function SUM to calculate that total.

HTH

Old Advance Man

  • Author

Hey there -

Got it to work. Great three calc fields in the line items database and then use the SUM calc in the invoicing database.

That sounds like what you were talking about. Thanks.

  • Author

This is what you said.

"Define a calc field in Line Items that include only the elements you want to have counted in the aggregated total. THen in the parent file, use the aggregate function SUM to calculate that total."

I may not be thinking this morning - but that doesn't make sense.

I hear you saying to do calculation in the line items and have it "find" the Item Codes I want. There are only 3 Item Codes I do not want to include and many that I do. Would you please write an example as to what you are suggesting.

Thanks

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.