跳转至

合同模板档案单据

汇总合同模板档案单据涉及的数据表及字段定义。

单据代码: AM  数据表: 2 张  主表: am_bill_contract_tmpl

数据表清单

序号 数据库表 表名 角色 字段数
1 am_bill_contract_tmpl 合同模板档案单据主单 主表/入口 54
2 am_bill_contract_tmpl_item 合同模板档案单据子单 关联表 17

字段定义

主表 · am_bill_contract_tmpl

源码文件: ScmArchiveContractTemplateTable.java  字段数: 54

字段名 Java 类型 长度/精度 非空 字段说明
bills_id String 64 单据编号
tenant_id String 32 租户编号
need_flow Integer - 是否需要流程审批
over_limit_ref_nums Integer - 是否可以超过被参照数
bills_type String 64 单据类型
bills_record_type Integer 16 记录类型
system_type Integer 8 系统类型
stock_type String 32 库存类型
business_type Integer 8 业务类型
price_type Integer 8 价格类型
goods_type Integer 8 商品类型
finance_type Integer 8 财务类型
reference_id String 64 参照单据编号
release_id String 64 冲单编号
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 结案表识
reference_over Integer 2 自动结案
success_sure Integer 2 登账
success_sync Integer 2 同步成功
count_reference Integer 8 被参照次数
count_release Integer 8 被结案次数
bills_tag String 128 备注
bills_outside_id String 64 - 外部单号
branch_id String 32 - 机构编号
bills_web_modular String 32 前端模块名称
last_date Date - 最后操作日期
sure_systemdate Date - 系统登账日期
es_id String 32 ESID
bills_handle_type BillsHandleType 32 处理类型
bills_handle_message String 512 处理类型提示信息
platform_type BillsPlatformType 32 平台类型
platform_bills_id String 64 平台单据编号
bills_event_scheme_id String 64 单据执行事件方案编号
bills_run_event_type String 512 单据执行事件类型
bills_packed Integer 2 单据已装箱
policy_bills_id String 64 特殊政策单号
policy_bills_id_receive String 64 收货方特殊政策单号
version Long - - 数据版本号
template_id String 8 模板编号
template_name String 32 模板名称
template_type String 32 模板类型
print_id String 32 打印格式编号
template_order Integer 4 模板次序
modify_type String 16 - 修改类型
template_tag String 128 模板描述
archive_state Integer 2 - 档案状态 0:禁用 1:启用
合同模板档案单据子单 · am_bill_contract_tmpl_item

源码文件: ScmArchiveContractTemplateTableSub.java  字段数: 17

字段名 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 - - 版本号
template_item_id String 16 模板编号
template_id String 8 模板编号
item_order Integer 4 - 模板次序
item_content String 50000 模板内容
item_content_html String 50000 模板内容HTML
item_tag String 128 - 模板简介