Skip 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.

How many packages of each quantity?

Featured Replies

  • Newbies

I am at a loss here.

 

I need to create a packing list that states how many packages have a certain quantity in them.

 

For example: there are 10 packages. Nine packages contain 1000 items, one package contains 750 items.

 

My packing list needs to state this information:

Total Quantity = 9750

Total packages shipped = 10

9 packages of 1000

1 package of 750

 

I can figure out how to list this using a self joining relationship and a portal but I need the individual values (9 at 1000 and 1 at 750).

 

help??

lynp,

 

The first thing that came to my mind was Execute SQL in a script;

 

For the current invoice, get a list of the package counts (in your example 1000 and 750)

In a loop for each package count,

find the number of packages

build a line (ex; 9 packages of 1000)

concatenate it to a variable to hold it till done.

Set the final value in a field.

 

I wrote a script in the Invoice demo.  Hope this helps.

 

Jerry

 

 

InvoicesCount.fmp12.zip

  • Author
  • Newbies

Thank you for your reply Jerry,

While the solution did not work for me it did lead me in the right direction and problem solved!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.