Support optional services and executable billing conditions on sell/buy prices, percent-of-value and percent-of-freight formulas, place-order/inbound payable on chargeable weight, outbound receivable freeze, channel remote areas, billing simulate, and insurance-aware claims. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
565 B
SQL
12 lines
565 B
SQL
-- 附加服务 / 渠道偏远分区
|
||
-- 字典种子由前端 dict-batch-import 同步;AI Skill 由应用首次 list/get 幂等写入。
|
||
|
||
ALTER TABLE `t_sales_product`
|
||
ADD COLUMN `AdditionalServices` VARCHAR(512) NULL COMMENT '可选附加服务字典code JSON数组' AFTER `TradeTerms`;
|
||
|
||
ALTER TABLE `t_order`
|
||
ADD COLUMN `AdditionalServices` VARCHAR(512) NULL COMMENT '客户勾选附加服务字典code JSON数组' AFTER `IsRemote`;
|
||
|
||
ALTER TABLE `t_service_channel`
|
||
ADD COLUMN `RemoteAreaId` INT NULL COMMENT '偏远分区KPI AreaId' AFTER `Description`;
|