Files
wq-wms-java/sql/20261123_manual_picking_reverse_inbound.sql
2026-11-23 19:28:46 +08:00

10 lines
851 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- SAP手工领料冲销入库重构:状态编辑、平库/货架入库由页面直接完成
-- 已存在字段无需重复执行;以下字段用于保留入库方式和实际库位信息,便于审计和追溯。
ALTER TABLE `sap_manual_picking`
ADD COLUMN `reverse_inbound_mode` varchar(10) DEFAULT NULL COMMENT '冲销入库方式:FLAT平库/SHELF货架' AFTER `reverse_by`,
ADD COLUMN `reverse_storagevehicle_code` varchar(64) DEFAULT NULL COMMENT '冲销入库托盘码' AFTER `reverse_inbound_mode`,
ADD COLUMN `reverse_struct_code` varchar(64) DEFAULT NULL COMMENT '冲销入库库位码' AFTER `reverse_storagevehicle_code`;
-- 平库配置约定:st_ivt_sectattr.sect_code = st_ivt_bsrealstorattr.stor_code,
-- 且每个仓库配置唯一的固定库位;st_ivt_structattr.storagevehicle_code 为永久绑定托盘。