Jump to content

Inventory Help


This topic is 7885 days old. Please don't post here. Open a new topic instead.

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!

Link to comment
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

Link to comment
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).

Link to comment
Share on other sites

This topic is 7885 days old. Please don't post here. Open a new topic instead.

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
×
×
  • Create New...

Important Information

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