Skip to content

inventorydepth_regulation_apply

规则应用中心

所属应用: inventorydepth

表结构

ColumnNameCommentTypeNot nullDefaultAutoincrement
idIDmediumint(8) unsignedYY
bn应用编码varchar(255)YN
heading应用名称varchar(200)YN
condition规则类型 frame:商品上下架;stock:库存更新;enum('frame','stock')YN
style触发条件 fix:定时;stock_change:库存变动;order_change:库存变动(不含订单出库);enum('fix','stock_change','order_change')YN
start_time开启时间int(10) unsignedNN
end_time截止时间int(10) unsignedNN
shop_id对应店铺表的shop_idlongtextYN
using启用状态enum('true','false')NfalseN
al_exec是否执行enum('true','false')YfalseN
exec_time最后执行时间int(10) unsignedNN
operator操作人mediumint(8) unsignedNN
update_time最后更新时间int(10) unsignedNN
operator_ip操作人IPvarchar(20)NN
apply_goods销售物料IDlongtextNN
apply_pkg禁用此字段longtextNN
apply_pko禁用此字段longtextNN
shop_sku_id平台的sku_idlongtextNN
regulation_id规则Idmediumint(8) unsignedYN
priority规则应用等级mediumint(8)Y1N
typetype 0:全局级;1:店铺级;2:商品级;3:门店级;enum('0','1','2','3')N2N
sync_mode回写模式 total:仓库总和回写;warehouse:分仓库回写;enum('total','warehouse')NtotalN
supply_branch_id专用供货仓ID,多个用逗号分隔,优先级高于店铺默认供货仓longtextNN
apply_object_type专用供货仓应用对象类型 1:全部商品;2:指定商品;3:客户分类商品;enum('1','2','3')N1N
apply_object_filter应用对象筛选条件(JSON格式,支持客户分类、品牌等多种条件)longtextNN
is_sync_subwarehouse是否回写分仓库存,0=否,1=是enum('0','1')N0N
is_sync_store是否回写门店库存,0=否,1=是enum('0','1')N0N

索引

Key nameColumn namesUniqueComment
primaryidY
idx_start_timestart_timeN
idx_end_timeend_timeN
idx_c_operatoroperatorN
idx_c_regulation_idregulation_idN