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.

Stock Checkbox and Calculation

Featured Replies

I have a "Stock Checkbox" that I can check manually if the item is in stock, then I have a calculation that calculates a products weight and price. So when the price is below $0 the checkbox should be automatically un check (so we know to reorder the product).

But it still should be possible to uncheck or check the same checkbox manually. How is this possible?

Thanks

T

I don't follow. Why would a product's weight and price have any thing to do with whether or not it is in stock?

And..don't you calculate Qty in Stock using Receipts/Sold/Adjustments, etc?

  • Author

Hi, yes you have stock numbers, but in this case its liquid used in recipes, so when the liquid runs out (by volume or weight) the checkbox should be unchecked. One bottle od liquid for example 500g is used in 10 recipes and once a calculation gets below "0" checkbox reminder pops off and also will change the fields color.

Why would you manually check InStock if you have a calculated InStock? Is your calc not accurate and you're getting false InStock values? Can you add Adjustments to the qty in stock, bringing it down to zero if necessary?

  • Author

Hi, just want the option for lazy users that dont fill anything out just keep track manually!

I'd go with two fields, one calculated InStock and one manual checkbox.

  • Author

Ok, but what would the formula be?

if the field displays a - (negative)number the checkbox should uncheck.

I tried:

Case ( oil_quantities:il_weight_left > 0 ;oil_materials:il_stock = 1;

oil_quantities:il_weight_left < 0; oil_materials:il_stock = 0)

But it wont work

Thanks

  • Author

Thanks problem solved. The Stock had to be a calculation field and the the calculation was wrong!

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.