I'm not sure how to say it right, but let me try. I am working on creating an inventory management application that will be used with many different customers to do everything to check their own stock of items, get prices, order goods, etc. The interface is in Flex (Flash Builder) and back end is MySQL and PHP. So - here is the real question, I think. When a customer places an order for a product, I’m not sure how much of what they order, but I need to save all the items on one “ticket”. (Example: one order can be for two apples, 3 oranges, bananas and kiwi. The next can just order one apple.) So in my “tickets” database I have space for up to 20 items (ticketItem1, ticketItem2, etc. d.). The obvious drawback here is that if a customer orders only one product, I am left with 19 empty spaces.
What types of problems, if any, are usually associated with a large number of NULL values in the database? Is there any way to help prevent them? And are there any suggestions to help with this?
And finally, each ordered element (even if it uses the kernel again) has its own UNIQUE barcode associated with it. Thus, one apple can be numbered 0001, and the other can be 4524 ...
Thank you for any help you can offer.
-CS
source share