跳转至

工序委外收货单

汇总工序委外收货单涉及的数据表及字段定义。

单据代码: OS  数据表: 3 张  主表: dg_process_outreceipt

数据表清单

序号 数据库表 表名 角色 字段数
1 dg_process_outreceipt 工序委外收货单 主表/入口 83
2 dg_process_outreceipt_bow 工序委外收货单BOW明细 关联表 26
3 dg_process_outreceipt_num 工序委外收货单数量明细 关联表 43

字段定义

主表 · dg_process_outreceipt

源码文件: GoodsProcessOutReceiptTable.java  字段数: 83

字段名 Java 类型 长度/精度 非空 字段说明
bills_id String 64 单据编号
need_flow Integer - 是否需要流程审批
over_limit_ref_nums Integer - 是否可以超过被参照数
tenant_id String 32 租户编号
bills_type String 64 单据类型
stock_type String 32 库存代码
bills_record_type Integer 8 单据记录类型
reference_id String 64 参照单据编号
reference_over Integer 2 参照是否结案
stock_stock_type String 32 库存中心库存代码
stock_record_type Integer 8 库存中心单据记录类型
stock_reference_id String 64 库存中心参照单据编号
stock_reference_over Integer 2 库存中心参照是否结案
system_type Integer 8 单据系统类型
business_type Integer 8 业务类型
price_type Integer 8 价格类型
price_type_receive Integer 8 价格类型(收货)--用于调拨业务
goods_type Integer 8 商品类型
finance_type Integer 8 财务类型
release_id String 64 冲单编号
setdepot_id String 32 发货地编号
getdepot_id String 32 收货地编号
setcompany_id String 32 发货地公司编号
getcompany_id String 32 收货地公司编号
create_date Date - 建立日期
create_username String 32 建立人
create_userid String 32 建立人编号
sure_date Date - 登账日期
sure_username String 32 登账人
sure_userid String 32 登账编号
over_date Date - 结案日期
over_username String 32 结案人
over_userid String 32 结案编号
success_over Integer 2 是否结案
success_sure Integer 2 是否登账
success_sync Integer 2 是否同步成功
count_reference Integer 8 被参照次数
count_release Integer 8 被冲单次数
bills_c_sums BigDecimal 20,6 成本价金额
bills_real_c_sums BigDecimal 20,6 成本价实际金额
bills_group_c_sums BigDecimal 20,6 集团加权成本金额
bills_j_sums BigDecimal 20,6 吊牌价金额
bills_real_j_sums BigDecimal 20,6 吊牌价实际金额
bills_l_sums BigDecimal 20,6 零售现价金额
bills_real_l_sums BigDecimal 20,6 零售现价实际金额
bills_x_sums BigDecimal 20,6 现售价金额
bills_real_x_sums BigDecimal 20,6 现售价实际金额
bills_s_sums BigDecimal 20,6 结算价金额
bills_real_s_sums BigDecimal 20,6 结算价实际金额
bills_x_sums_receive BigDecimal 20,6 收货地现售价金额
bills_real_x_sums_receive BigDecimal 20,6 收货地现售价实际金额
bills_s_sums_receive BigDecimal 20,6 收货地结算价金额
bills_real_s_sums_receive BigDecimal 20,6 收货地结算价实际金额
bills_nums BigDecimal 20,6 结算合计数量
bills_real_nums BigDecimal 20,6 实际数量,或者参考数量合计
bills_tag String 1024 备注
bills_outside_id String 256 外部单号
data_source String 64 数据来源
bills_web_modular String 32 前端模块名称
last_date Date - 最后操作日期
sure_systemdate Date - 登账-系统时间
branch_id String 32 - 机构编号
es_id String 32 ESID
platform_type BillsPlatformType 32 平台类型
platform_bills_id String 64 平台单据编号
bills_handle_type BillsHandleType 32 处理类型
bills_handle_message String 512 处理类型提示信息
bills_event_scheme_id String 64 单据执行事件方案编号
deposit_pec BigDecimal 20,6 - 订金扣减比例
bills_run_event_type String 512 单据执行事件类型
bills_packed Integer 2 单据已装箱
policy_bills_id String 64 特殊政策单号
policy_bills_id_receive String 64 收货方特殊政策单号
version Long - - 数据版本号
po_id String 64 - 成品成品采购订单编号
ref_id String 64 参照上游单号
pre_version Long 3 - 上一版本号
edit_flag_after_sure Integer 3 - 提交后修改标志:0-提交后无修改,1-提交后修改未提交,2-提交后修改提交中
contract_bills_id String 64 工序委外合同编号
production_make_bills_id String 64 生产制单单号
receipt_date Date - 收货日期
style_id String 32 款式编号
ref_type Integer 2 - 参照上游单类型
工序委外收货单BOW明细 · dg_process_outreceipt_bow

源码文件: GoodsProcessOutReceiptTableSubBow.java  字段数: 26

字段名 Java 类型 长度/精度 非空 字段说明
billsub_id String 128 子单编号
billsub_type Integer 8 子表类型
bills_id String 64 主单编号
tenant_id String 32 租户编号
approval Integer 8 审批
create_date Date - 建立日期
create_username String 32 建立人
create_userid String 32 建立人编号
bills_handle_type BillsHandleType 32 处理类型
bills_handle_message String 512 处理类型提示信息
version Long - - 版本号
po_id String 32 - 采购订单编号
style_id String 32 - 款式编号
process_id String 8 工作编号
process_Name String 64 - 工作名称
process_group_id String 8 - 分组编号
process_group_name String 32 - 分组名称
process_order Integer 5 - 工作次序
process_parallel Boolean - - 并行工作
process_contract Boolean - - 合同工作
process_virtual Boolean - - 虚拟工作
process_pre_id String 8 - 前置工作
billsub_tag String 128 - 备注
pre_version Long 3 - 上一版本号
contract_bills_id String 64 工序委外合同编号
production_make_bills_id String 64 生产制单单号
工序委外收货单数量明细 · dg_process_outreceipt_num

源码文件: GoodsProcessOutReceiptTableSubNum.java  字段数: 43

字段名 Java 类型 长度/精度 非空 字段说明
billsub_id String 128 子单编号
billsub_type Integer 8 子单类型
bills_id String 64 主单编号
clothing_id String 32 商品编码
style_id String 32 款式编码
color_id String 8 颜色编码
size_id String 8 尺码编码
size_order Integer 4 尺码次序
tenant_id String 32 租户编号
approval Integer 8 审批
acc_jcost BigDecimal 20,6 成本价
acc_group_jcost BigDecimal 20,6 集团加权成本价
acc_jprice BigDecimal 20,6 吊牌价
acc_lprice BigDecimal 20,6 零售现价
acc_fsums BigDecimal 20,6 实销金额
acc_xprice BigDecimal 20,6 现价
acc_xprice_receive BigDecimal 20,6 (收货)现价
acc_discount BigDecimal 20,6 折扣
acc_sprice BigDecimal 20,6 结算价
acc_sprice_receive BigDecimal 20,6 收货结算价
acc_nums BigDecimal 20,6 - 结算数量
real_nums BigDecimal 20,6 - 实际数量,或者参考数量
ref_nums BigDecimal 20,6 被参照数量
rel_nums BigDecimal 20,6 被冲单数量 零售是被参照退货数量
acc_sums BigDecimal 20,6 结算金额
acc_sums_receive BigDecimal 20,6 收货结算金额
acc_tag String 128 备注
create_date Date - 建立日期
create_username String 32 建立人
create_userid String 32 建立人编号
platform_type BillsPlatformType 32 平台类型
platform_bills_id String 64 平台单据编号
platform_goods_id String 64 平台货号
bills_handle_type BillsHandleType 32 处理类型
bills_handle_message String 512 处理类型提示信息
price_type Integer 8 明细价格类型
version Long - - 乐观锁版本字段
po_id String 64 - 成品采购订单编号
pre_version Long 3 - 上一版本号
item_row_id String 8 - 明细主行号
item_sub_row_id String 8 - 明细子行号
contract_bills_id String 64 工序委外合同编号
production_make_bills_id String 64 生产制单单号