Jump to content
Sign in to follow this  

Reorder Level Portal

Recommended Posts

In an inventory system that we are working on each item has its record and each of those items has a reorder quantity. Similarly each of record has a calculation that establishes a quantity on hand.

I'd like to set up a portal that will display any record where the reorder level is greater than the on hand quantity. This is problematic because the on hand quantity is calculated by summerizing debits to inventory (through a relationship) and subtracting from additions to inventory (also through a relationship).

I'm thinking this is a pretty common problem. Any suggestions?

Share this post

Link to post
Share on other sites

What if you were to not use calc fields for the on-hand inventory levels, and instead use a number field that's set by script when you pull from or add to inventory?

Then you could use a calc field in inventory that sets to "1" when your inventory level is less than the reorder level. That calc field can then be a stored calc and used as one of the keys for the portal. Actually, since you'd be setting your summary value by script, you could also set the key field by script. That would be even better.

The downside to this, of course, is more scripting.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

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