hugo
f5611d6783
fix(shipping-notice): 打通短缺放行链路的证据读点、决策码迁移与整单放行导出
生产实证(OT-20261027-4BD4CEFF):料号兜底自动放行不触发的根因是 s18 改名
漏迁移放行证据读点,getattr(source,'parsing_profile') 恒 None,致自动/人工
放行全部静默失败。三段修复:
1. 放行证据解析改读 source.onhand_report_config.parsing_profile
(与 require_source_profile 同口径)。
2. 补批次 S 漏网迁移 s20a1b2c3d4e:复核行决策码 inventory→onhand 值替换,
重建 ck_shipping_review_line_decisions_code(dev 往返验证后已应用 prod)。
3. 导出链回链 OT:_notice_source_code/_notice_inventory_file_id 纳入已审计
放行行事实(整单放行不再报「库存源不存在」/丢证据快照);
prepare_export_match_inputs 放行/结案决定 join 按 confirmed_task_id(OT) 回链。
回归:test_export_released_shortage_only_notice_resolves_source_and_rows
(先红后绿)等 117 项全绿。
2026-10-27 16:07:41 +08:00
..
2026-10-26 20:28:03 +08:00
2026-10-19 10:46:06 +08:00
2026-10-19 10:46:06 +08:00
2026-10-26 17:58:09 +08:00
2026-06-17 11:24:54 +08:00
2026-10-27 16:07:41 +08:00
2026-10-19 18:45:16 +08:00
2026-06-25 14:01:52 +08:00
2026-06-04 15:26:34 +08:00