If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Table Structure Question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-08-04, 09:46
homchz homchz is offline
Registered User
 
Join Date: Jan 2004
Posts: 45
Table Structure Question

I am looking to to build a table for invocing a customer. I have a few ideas but, they do not seem to be panning out.

I need to show line items and prices but they will never be the same amount. Is it better to have more table columns than needed just incase or is there a better way to set this up.

I was going to pull information form two tables

Customer info & the Invoice Info

I need invoice number
date
location
items
tax
and prices

But am lost on the best way to archive the items and prices.

The info is going to have to be manually entered to display, though these seem redundant it will be 100 times easeier than the way we have to do it now due to our old A/R program.

Any advice would be appreciated.
Josh
Reply With Quote
  #2 (permalink)  
Old 04-08-04, 11:25
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,609
Do you have an inventory table? That should be the source for your part numbers, and at least a "first guess" at the price. I think that you need to have the part number, quantity, and the selling price in your invoice line items table.

-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On