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.

Help with Script or calculation

Featured Replies

I have to do this for my boss,but have no idea where to start.

I need to build a packing list, and here is what i want to do.

If we are sending 100 shirts, but can only fix 60 in every carton. how can i make it so that all i have to put is the Qty per carton, and the Qty that im shipping and the item number and have the program do the math.

I want to able to see box 1 with 60 shirts for item number ASM001, and have box 2 with 40 shirts for item number ASM001. ANy Ideas.

Just make a table called "stock" or some such... in there put all your items, the prices per shirt im assuming for each item and the max number of shirts per box that ll fit...

i.e. Product ID

Price (per item)

Max Items Per Box

Then im going to assume that you order by a client (and already have a basic table set up with this like client id etc.) and have a portal set up so you can add new orders etc.

Then you have another table called "order"

This is your related table for the purpose of ordering through a portal (this is related to the stock table by Product ID value)...

So, we have

Client ID (auto entered from last visited record)

Product ID

No. Items

No. Boxes (Calculation with result:

(Ceiling (No. Items / Max Items Per Box ) * Max Items Per Box) / Max Items Per Box) [[This section basically rounds up your items to the max number thatll fit in a box for that item and then divides that number by the max to get you your number of boxes]]

Total Price (Calculation with result (No. Items * stock::Price (per item)).

hope this helped and or made some sense...

Edited by Guest

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.