合同模板档案单据
汇总合同模板档案单据涉及的数据表及字段定义。
单据代码: 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 | - | 模板简介 |