Jump to content
Sign in to follow this  
threadfx

Inventory Help

Recommended Posts

I'm looking for the"best" way to maintain my inventory count. I am developing a POS system for my retail store.

I have an inventory db as well as a line item db for individual sales.

What is the best approach to update the quantity in the inventory db from the line item quantity sold?

Thanks!

Share this post


Link to post
Share on other sites

The best way is not to have an inventory total count as such. High end systems never debit inventory directly. They just enter a transaction in a file for each draw or stocking operation. This way you can always reconstruct inventory quantity, the worst that can happen is that an incorrect transaction is posted. If you store a single quantity number and change it incorrectly, there is no way to recover from the error, except to review all transactions elsewhere and do a physical count.

-bd

Share this post


Link to post
Share on other sites

I.e., relate your Products file to your Line Items and your Invoices to your Line Items.

Then you can add stock of a given item via the Products file, via a portal or a script that creates a new record in Line Items. You subtract stock the same way, but via the Invoices file. Each Line Item record has a positive or negative quantity, so you just add them up, either by summary fields in a Line Items report, or by your relationship from Products Sum(Line Items::Qty).

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.