Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ RLS 谓词不能跨对象(ADR-0055),所以「同部门可见」无法用 `
| F11 | `payment_overdue` | 定时(日) | `planned_date` 已过且未 `paid`:置 `overdue`,提醒财务负责人与业务承办 |
| F12 | `renewal_notice` | 定时(日) | `active` 且 `end_date - renewal_notice_days <= today`:置 `is_expiring`,提醒业务承办与法务;动作「发起续签」预填新 draft |
| F13 | `expiration_sweep` | 定时(日) | `active` 且 `end_date < today`:非自动续签置 `expired`;自动续签则建续签 draft 并提醒 |
| F14 | `contract_archive` | hook beforeUpdate | 终态合同由档案岗填 `archive_no` 后置 `archived_at`,此后除 `notes` 外只读 |
| F14 | `contract_archive` | hook beforeUpdate | 终态合同由档案岗填 `archive_no` 后置 `archived_at`,此后除 `summary` 外只读 |
| F16 | `executed_upload` | 动作(补录已签合同,§13 Q8) | 档案或法务岗「补录已签合同」:一步填核心字段、相对方、执行副本与签署日期,合同直接进入 `active` 并置 `is_backfilled`,跳过审查与审批但全部留审计;仅 `clm_records.access` 与 `clm_legal.access` 可用 |
| F15 | `crm_handoff` | record_change(`crm_contract` 进入 `in_approval`) | **仅 `CLM_COMPOSITION=with-hotcrm` 装配时注册**:建 `clm_contract`(direction `sales`,party 自 `crm_account` 查找或新建,金额期限预填,`crm_contract` 回链) |

Expand Down