Jump to content
Sign in to follow this  
datalink

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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