阳光网驿-企业信息化交流平台【DTC零售连锁全渠道解决方案】

 找回密码
 注册

QQ登录

只需一步,快速开始

扫描二维码登录本站

手机号码,快捷登录

老司机
查看: 1767|回复: 8

[辉煌] 用辉煌366++做年结,部分基础信息删不了,谁能帮下,急。。。

[复制链接]
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

    发表于 2010-1-1 16:53:42 | 显示全部楼层 |阅读模式
    用辉煌366++做年结,部分基础信息删不了,谁能帮下,急。。。

    图片提示委托的位置里面数据都是0

    就是删不了
    未命名.jpg
    未命名1.jpg
    楼主热帖
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    开心
    2014-6-12 19:16
  • 签到天数: 637 天

    [LV.9]以坛为家II

    发表于 2010-1-1 17:41:02 | 显示全部楼层
    你启用帐套看下,有些数据要起初后才真实的
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

     楼主| 发表于 2010-1-1 18:56:50 | 显示全部楼层
    商品信息问题解决了,到委托&受托的对应商品名称,将库存数量再删一次,就能删除无用商品信息
    但单位信息按相应方法使用却不行。

    在2008++年结也一样

    透明 于 2010-1-1 19:00 补充以下内容
    原帖由 wayler 于 2010-1-1 17:41 发表
    你启用帐套看下,有些数据要起初后才真实的


    有试过一样的

    08年我用的是2005++,到08年年结才升级到2008++,到09年年结升级366++

    透明 于 2010-1-2 11:11 补充以下内容

    急。。。。。谁能帮下忙啊
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2017-10-16 23:44
  • 签到天数: 325 天

    [LV.8]以坛为家I

    发表于 2010-1-2 12:25:43 | 显示全部楼层
    期初库存数量为0,期初库存金额为0
    没有任何草稿,订单,价格跟踪,期初委托受托,借进进出,会员管理和生成模板中都没有该信息的时候再删除!
    本帖子由阳光论坛社会行家组成员答复

    解决软件应用问题、专家原来离我们这么近--阳光网驿助力企业信息化

    [ 本帖最后由 小雨影子 于 2010-1-2 12:27 编辑 ]
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

     楼主| 发表于 2010-1-3 11:53:03 | 显示全部楼层
    原帖由 小雨影子 于 2010-1-2 12:25 发表
    期初库存数量为0,期初库存金额为0
    没有任何草稿,订单,价格跟踪,期初委托受托,借进进出,会员管理和生成模板中都没有该信息的时候再删除!



    与所要删除的单位,所关联的数据全是0就是删不了
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    开心
    2024-5-30 12:56
  • 签到天数: 2102 天

    [LV.Master]伴坛终老

    发表于 2010-1-3 12:08:41 | 显示全部楼层
    ......盗版正版呀?正版直接咨询任我行公司
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

     楼主| 发表于 2010-1-3 13:19:27 | 显示全部楼层
    就因为用的是PJ版,呵
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

     楼主| 发表于 2010-1-3 13:24:50 | 显示全部楼层
    http://bbs.cniso.org/bbs/viewthr ... p;extra=&page=1
    用这里的脚本文件执行后,可以删掉没用的单位信息,

    但商品信息的单位关系也会被删掉,只留基本单位
    还有要保留的价格跟踪等等,对我来说不实用
    启用邀请码注册,提高发帖质量,建设交流社区
  • TA的每日心情
    擦汗
    2024-4-10 09:34
  • 签到天数: 1130 天

    [LV.10]以坛为家III

     楼主| 发表于 2010-1-3 13:30:00 | 显示全部楼层
    /*
    脚本名称:基本信息无法删除脚本(库存商品、往来单位、仓库信息、职员信息)
    编写人:邱群雄(数据组)
    版本说明:
            保留信息:期初库存、草稿单、委托受托、借进借出、商品序列,订单

    */

    declare b cursor for
    select name from sysobjects
    where id in ( select id from syscolumns where name='ptypeid') and xtype='u' and name<>'inigoodsstocks'  and
    name<>'bakdly'  and name<>'IniCommission' and name<>'SN' and name<>'t_Serial' and name<>'lendborrow00' and name<>'BakDlyOrder'
    open b
    declare @bm varchar(50)
    declare @Sql varchar(8000)
    fetch next from b into @bm
    while(@@fetch_status<>-1)
    begin
    set @Sql = 'delete  from '+ @bm
    exec(@Sql)
    fetch next from b into @bm
    end
    close b
    deallocate b

    go

    declare b cursor for
    select name from sysobjects
    where id in ( select id from syscolumns where name='btypeid') and xtype='u' and name<>'BakDly' and name<>'DlyNdxOrder'  
    and name<>'IniCommission' and name<>'SN'and name<>'lendborrow00' and name<>'dlyndx'
    open b
    declare @bm varchar(50)
    declare @Sql varchar(8000)
    fetch next from b into @bm
    while(@@fetch_status<>-1)
    begin
    set @Sql = 'delete  from '+ @bm
    exec(@Sql)
    fetch next from b into @bm
    end
    close b
    deallocate b
    go


    declare b cursor for
    select name from sysobjects
    where id in ( select id from syscolumns where name='ktypeid') and xtype='u' and name<>'BakDly' and name<>'BakDlyOrder' and name<>'DlyNdxOrder'
    and name<>'IniGoodsStocks' and name<>'SN' and name<>'lendborrow00' and name<>'Dlyndx'
    open b
    declare @bm varchar(50)
    declare @Sql varchar(8000)
    fetch next from b into @bm
    while(@@fetch_status<>-1)
    begin
    set @Sql = 'delete  from '+ @bm
    exec(@Sql)
    fetch next from b into @bm
    end
    close b
    deallocate b

    go
    declare b cursor for
    select name from sysobjects
    where id in ( select id from syscolumns where name='etypeid') and xtype='u' and name<>'BakDly' and name<>'BakDlyOrder' and name<>'DlyNdxOrder'
    and name<>'Dlyndx' and name<>'loginuser' and name<>'SN' and name<>'InputLevel'
    open b
    declare @bm varchar(50)
    declare @Sql varchar(8000)
    fetch next from b into @bm
    while(@@fetch_status<>-1)
    begin
    set @Sql = 'delete  from '+ @bm
    --exec(@Sql)
    print(@sql)
    fetch next from b into @bm
    end
    close b
    deallocate b

    go
    delete from bakdly where vchcode not in(select vchcode from dlyndx where draft=1)
    delete from dlyndx where draft = 3
    delete from lendborrow where qty=0 and total=0
    delete from lendborrow00 where qty=0 and total=0
    delete from IniCommission where qty=0 and total=0 and costtotal=0
    delete from Commission where qty=0 and total=0 and costtotal=0
    delete from Inigoodsstocks where qty=0 and total=0
    delete from goodsstocks where qty=0 and total=0
    启用邀请码注册,提高发帖质量,建设交流社区
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    快速回复 返回顶部 返回列表