WMS表設(shè)計(jì)

WMS基礎(chǔ)流程和設(shè)計(jì)

https://blog.csdn.net/malu_record/article/details/134095609

WMS表設(shè)計(jì)

wms_warehouse :倉庫對象

字段名 字段中文說明
id 主鍵
warehouse_np 倉庫編號
warehouse_name 倉庫名稱
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_area :貨區(qū)對象表

字段名 字段中文說明
id 主鍵
area_no 貨區(qū)編號
area_name 貨區(qū)名稱
warehouse_id 所屬倉庫ID
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_rack : 貨架對象

字段名 字段中文說明
id 主鍵
rack_no 貨架編號
rack_name 貨架名稱
warehouse_id 所屬倉庫id
area_id 所屬貨區(qū)id
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_wave :波次對象

字段名 字段中文說明
id 主鍵
wave_no 波次號
status 狀態(tài)
type 類型
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_carrier : 承運(yùn)商對象

字段名 字段中文說明
id 主鍵
carrier_no 承運(yùn)商編號
carrier_name 承運(yùn)商名稱
address 承運(yùn)商地址
mobile 手機(jī)號
tel 座機(jī)號
contact 聯(lián)系人
email Email
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_customer : 客戶對象

字段名 字段中文說明
id 主鍵
customer_no 客戶編號
customer_name 客戶名稱
bank_name 開戶行
bank_account 銀行卡號
receivable_amount 應(yīng)付款
address 客戶地址
mobile 手機(jī)號
tel 座機(jī)號
customer_person 聯(lián)系人
customer_level 級別
email Email
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_supplier : 供應(yīng)商對象

字段名 字段中文說明
id 主鍵
supplier_no 供應(yīng)商編號
supplier_id 供應(yīng)商名稱
bank_name 開戶行
bank_account 銀行卡號
receivable_amount 應(yīng)付款
address 客戶地址
mobile 手機(jī)號
tel 座機(jī)號
contact 聯(lián)系人
level 級別
email Email
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_customer_transaction :客戶賬戶流水對象

字段名 字段中文說明
id 主鍵
transaction_code 交易編號
customer_id 用戶編號
transaction_type 交易類型 1:結(jié)款 2:應(yīng)付
transaction_amount 交易金額
previous_balance 上期余額
current_balance 當(dāng)前余額
shipment_order_id 出庫單號
remark 備注
del_flag 刪除標(biāo)識
create_time 創(chuàng)建時間
update_time 更新時間

wms_supplier_transaction :供應(yīng)商賬戶流水對象

字段名 字段中文說明
id 主鍵
transaction_code 交易編號
supplier_id 供應(yīng)商編號
transaction_type 交易類型 1:結(jié)款 2:應(yīng)付
transaction_amount 交易金額
previous_balance 上期余額
current_balance 當(dāng)前余額
receipt_order_id 入庫單號
remark 備注
del_flag 刪除標(biāo)識
create_time 創(chuàng)建時間
update_time 更新時間

wms_delivery : 發(fā)貨記錄對象

字段名 字段中文說明
id 主鍵
shipment_order_id 出庫單主表Id
carrier_id 承運(yùn)商Id
delivery_date 發(fā)貨日期
tracking_no 快遞單號
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory :庫存對象

字段名 字段中文說明
id 主鍵
item_id 物料ID
warehouse_id 所屬倉庫
area_id 所屬庫區(qū)
rack_id 貨架id
quantity 庫存
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_check :庫存盤點(diǎn)單據(jù)對象

字段名 字段中文說明
id 主鍵
inventory_check_no 庫存盤點(diǎn)單號,系統(tǒng)自動生成
inventory_check_type 庫存盤點(diǎn)類型
inventory_check_status 庫存盤點(diǎn)單狀態(tài)11:盤點(diǎn)中 22:已完成
inventory_check_total 盈虧數(shù)
check_status 審核狀態(tài)
check_user_id 審核人
check_time 審核時間
warehouse_id 所屬倉庫
area_id 所屬庫區(qū)
rack_id 貨架id
attachment 附件文件
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_check_detail :庫存盤點(diǎn)單據(jù)詳情對象

字段名 字段中文說明
id 主鍵
inventory_check_id 庫存盤點(diǎn)單
item_id 物料
quantity 庫存數(shù)量
check_quantity 盤點(diǎn)數(shù)量
warehouse_id 所屬倉庫
area_id 所屬庫區(qū)
rack_id 貨架id
attachment 附件文件
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_history :庫存記錄對象

字段名 字段中文說明
id 主鍵
form_id 操作id(出庫、入庫、庫存移動表單id)
form_type 操作類型
item_id 物料ID
warehouse_id 所屬倉庫
area_id 所屬庫區(qū)
rack_id 貨架id
quantity 庫存變化
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_movement :庫存移動對象

字段名 字段中文說明
id 主鍵
inventory_movement_no 庫存移動編號
source_rack_id 原貨架Id
target_rack_id 目標(biāo)貨架
status 狀態(tài)
check_status 審核狀態(tài)
check_user_id 審核人
check_time 審核時間
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_movement_detail :庫存移動詳情對象

字段名 字段中文說明
id 主鍵
inventory_movement_id 庫存移動Id
item_id 物料ID
plan_quantity 計(jì)劃數(shù)量
real_quantity 實(shí)際數(shù)量
source_warehouse_id 源倉庫
source_area_id 源庫區(qū)
source_rack_id 源貨架id
move_status 移庫狀態(tài)
target_warehouse_id 目標(biāo)倉庫
target_area_id 目標(biāo)庫區(qū)
target_rack_id 目標(biāo)貨架id
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_settlement :庫存結(jié)算單對象

字段名 字段中文說明
id 主鍵
inventory_settlement_status 庫存結(jié)算單狀態(tài)11:結(jié)算中 22:已完成
settlement_type 結(jié)算類型,1:月結(jié),2:年結(jié)
inventory_settlement_start_time 開始時間
inventory_settlement_end_time 結(jié)束時間
inventory_settlement_no 庫存結(jié)算單號
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_inventory_settlement_detail :庫存結(jié)算明細(xì)對象

字段名 字段中文說明
id 主鍵
settlement_id 結(jié)算單id
settlement_type 結(jié)算類型,1:月結(jié),2:年結(jié)
item_id 物料id
item_no 編號
item_name 名稱
warehouse_id 倉庫id
warehouse_no 倉庫編號
warehouse_name 倉庫名稱
area_id 庫區(qū)id
area_no 庫區(qū)編號
area_name 庫區(qū)名稱
previous_balance 上期結(jié)存
current_balance 本期結(jié)存
current_enter 本期入庫
current_out 本期出庫
current_check 本期盤點(diǎn)
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_item : 物料對象

字段名 字段中文說明
id 主鍵
item_no 編號
item_name 名稱
item_type 分類
unit 單位類別
warehouse_id 倉庫id
area_id 庫區(qū)id
rack_id 貨架id
quantity 安全庫存
expiry_date 有效期
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_item_type : 物料類型表對象

字段名 字段中文說明
item_type_id 物料類型id
parent_id 父物料類型id
ancestors 祖級列表
type_name 物料類型名稱
order_num 顯示順序
status 物料類型狀態(tài)(0正常 1停用)
del_flag 刪除標(biāo)志(0代表存在 2代表刪除)
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_receipt_order : 入庫單對象

字段名 字段中文說明
id 主鍵
receipt_order_no 入庫單號
receipt_order_type 入庫類型
supplier_id 供應(yīng)商
order_no 訂單號
payable_amount 應(yīng)付款合計(jì)
receipt_order_status 入庫狀態(tài)
wave_no 波次號
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_receipt_order_detail : 入庫單詳情對象

字段名 字段中文說明
id 主鍵
order_no 訂單號
receipt_order_no 入庫單號
receipt_order_status 入庫狀態(tài)
item_id 物料id
plan_quantity 計(jì)劃數(shù)量
real_quantity 實(shí)際數(shù)量
warehouse_id 所屬倉庫id
area_id 所屬貨區(qū)id
rack_id 所屬貨架ID
money 金額
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_shipment_order : 出庫單對象

字段名 字段中文說明
id 主鍵
shipment_order_no 出庫單單號
shipment_order_type 出庫類型
shipment_order_status 出庫單狀態(tài)
order_no 出庫訂單
wave_no 波次號
customer_id 客戶
receivable_amount 應(yīng)收款合計(jì)
check_status 審核狀態(tài)
check_user_id 審核人
check_time 審核時間
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

wms_shipment_order_detail: 出庫單詳情對象

字段名 字段中文說明
id 主鍵
order_no 訂單號
shipment_order_id 出庫單號
shipment_order_status 出庫單狀態(tài)
item_id 物料id
plan_quantity 計(jì)劃數(shù)量
real_quantity 實(shí)際數(shù)量
warehouse_id 所屬倉庫id
area_id 所屬貨區(qū)id
rack_id 所屬貨架ID
money 金額
remark 備注
del_flag 刪除標(biāo)識
create_by 創(chuàng)建者
create_time 創(chuàng)建時間
update_by 更新者
update_time 更新時間

參考:
https://blog.csdn.net/malu_record/article/details/134095609

https://blog.csdn.net/malu_record/article/details/134130845

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容