feat(invoice-check): ww OA下载销货放行单
This commit is contained in:
1 parent
f25f59142a
commit
d13f1035cc
40 files changed
+2284
-103
No files matched your search
@@ -1,10 +1,10 @@
|
||||
"""
|
||||
backend/app/services/voucher_check/config.py
|
||||
|
||||
用途:解析立账凭证检核 / PO 生成环境变量与 ScheduleTask.job_params。
|
||||
用途:解析立账凭证检核 / PO 生成 / 销货放行单拉取的环境变量与 ScheduleTask.job_params。
|
||||
依赖:Flask current_app.config、core.errors.ValidationError。
|
||||
逻辑:runner / po_print_runner / erp_repository 启动前调用;非法配置抛 VOUCHER_CHECK.CONFIG_INVALID;
|
||||
ERP 账号优先 VOUCHER_CHECK_ERP_*,否则 ERP_*,再回退 CONTRACT_PAYMENT_ERP_*。
|
||||
逻辑:runner / po_print_runner / oa_sales_release_runner / erp_repository 启动前调用;非法配置抛 VOUCHER_CHECK.CONFIG_INVALID;
|
||||
ERP 账号优先 VOUCHER_CHECK_ERP_*,否则 ERP_*,再回退 CONTRACT_PAYMENT_ERP_*。销货放行单 Job 不读 ERP。
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -30,6 +30,12 @@ DEFAULT_PO_PRINT_JOB_PARAMS: dict[str, Any] = {
|
||||
"notify_failure_enabled": True,
|
||||
}
|
||||
|
||||
DEFAULT_OA_SALES_RELEASE_JOB_PARAMS: dict[str, Any] = {
|
||||
"profile_code": "sales",
|
||||
"scope_code": "HXJM",
|
||||
"notify_failure_enabled": True,
|
||||
}
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class VoucherCheckEngineConfig:
|
||||
|
||||
Reference in new issue
Block a user