有问题文章留言 看内容决定收费与免费
另外接收数据库质疑 勒索病毒数据恢复等项目。

新增门店时参考门店价格选错

【问题描述】

客户在新增门店的时候,参考门店价格选错为总部,本应该选择某一分店的价格,现在发现了,软件能否修改参考门店价格的属性,因为如果不修改的话,那该门店所有的商品价格又要全部调价一遍,工作量太大

【问题答案】

请备份数据库,在查询分析器中执行以下语句:

use Storev8
go
— 删除机构价格表中信息
delete t_pc_branch_price where branch_no =’新增门店编码’ 
go
–重新初始化机构价格表
insert into t_pc_branch_price ( base_price , base_price1 , base_price2 , base_price3 , base_price4 , branch_no , branch_price , branch_sale , com_flag , item_no , item_stock , price , sale_price , sale_way , sup_ly_rate , supcust_no , vip_price , status ) select base_price , base_price1 , base_price2 , base_price3 , base_price4 , ‘新增门店编码’ , branch_price , branch_sale , ‘0’ , item_no , item_stock , price , sale_price , sale_way , sup_ly_rate , supcust_no , vip_price , status from t_pc_branch_price where branch_no =’参考门店编码(如锦华店)’ 
go

 



赞(0)
未经允许不得转载:思迅软件知识库 » 新增门店时参考门店价格选错
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址