查看: 1640|回复: 4
|
请问Invoice 的数据库该如何设计?
[复制链接]
|
|
请问Invoice 的数据库该如何设计? (Table 存些什么?) |
|
|
|
|
|
|
|
发表于 24-5-2005 11:08 AM
|
显示全部楼层
拿一张Invoice来看,就知道要什么啦..
id, invoice_id, item_id, quantity, price, price_total ![](static/image/smiley/default/icon_confused.gif) |
|
|
|
|
|
|
|
发表于 25-5-2005 01:23 PM
|
显示全部楼层
分成两个资料库:
Parent table 是 invoice1.dbf
.ref_no
.date
.order_no
.customer
.remark
.total
Child table 是 invoice2.dbf
.ref_no
.item_no
.stock_id
.particular
.u_price
.quantity
.amount |
|
|
|
|
|
|
|
发表于 9-7-2005 05:20 PM
|
显示全部楼层
白日梦 于 25-5-2005 01:23 PM 说 :
分成两个资料库:
Parent table 是 invoice1.dbf
.ref_no
.date
.order_no
.customer
.remark
.total
Child table 是 invoice2.dbf
.ref_no
.item_no
.stock_id
.particular
.u_price
.quantity ...
单位(UOM)也是很重要的。 |
|
|
|
|
|
|
|
发表于 11-7-2005 11:05 PM
|
显示全部楼层
你可以去 download ubs 的 stock control 来做参考 ![](static/image/smiley/default/tongue.gif)
*** 禁止广告式下载网址 ***
- 白日梦坛主启
[ 本帖最后由 白日梦 于 12-7-2005 10:23 AM 编辑 ] |
|
|
|
|
|
|
| |
本周最热论坛帖子
|