|
|
最初由 powerfly 发布
[B]商品表
product
(pro_id,
pro_name,
pro_color,
pro_type,
pro_lot,
pro_cost,
pro_list_price,
item_length,
item_wigth,
litem_hight,
item_weight,
item_UM,
item_Volumn,
item_Volumn_UM,
)
入库表
product_in_house_detail
{ pih_billno, --入库单据号
pih_linenumber, -行号
pih_branch_id--机构
pih_pro_id --商品号
pih_name,--商品名称
pih_qty, --商品数量
pih_unit_price, --商品价格
pih_amt --商品金额
pih_intend_in_date,
pih_expire_date,
pih_carrier_id
pih_actual_in_date,
pih_intend_out_date
}
出库表
product_out_house_detail
{poh_billno, --出库单据
poh_linenumber,--行号
poh_branch_id--出库机构号
poh_pro_id--商品号
poh_name,--商品名称
poh_qty,--出库数量
poh_unit_price,--价格
poh_amt--金额
poh_item_lot,
poh_carrier,
poh_actual_ship_date,
poh_intend_ship_date,
}
库存表
stock
{ branchid, --仓库
pro_id, --商品
stock_quantity, --库存
unit_price, --单价
amut --金额
location,
area,
status
}
我随手加了一些
你这个数据库的设计是很不符合常理的,比如说:一般系统出入库表都采用明细表结构的,另外没有严格的任务跟踪表设计等等之类。 [/B]
可以认识你一下码?我de MSN:therisinghosue@hotmail.com |
|