壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 915|回复: 0

金蝶Kis-K3中帐套会计期间的修改

[复制链接]
发表于 2013/7/1 13:02:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
KIS专业版修改帐套启用期间

查询开始期间(年度)和当前期间(年度)的数据表信息
select * from t_systemprofile where fkey like '%star%'
select * from t_systemprofile where fkey like '%curr%'

--修改启用期间
update t_systemprofile set fvalue='1' where fkey='StartPeriod' and
fcategory='IC'
--修改当前期间
update t_systemprofile set fvalue='1' where fkey='CurrentPeriod' and
fcategory='IC'

--修改启用年份
update t_systemprofile set fvalue='2007' where fkey='StartYear' and
fcategory='IC'
--修改当前年份
update t_systemprofile set fvalue='2007' where fkey='CurrentYear' and
fcategory='IC'

fcategory值说明
CN(出纳管理),CN_START_YEAR表示出纳启用期间,CN_START_YEAR表示出纳的启用年度
FA(固定资产),StartPeriod表示启用期间,StartYear表示启用年度
GL(财务处理),PA为工资管理,IC为业务系统

专业版修改系统参数

允许负库存
Update t_systemprofile Set FValue=0 where FCategory='IC' And FKey='UnderStock'
Fvalue = 1 不允许负库存
Fvalue = 0 允许负库存
改为分仓核算
Update t_systemprofile Set FValue=1 where FCategory=’IC’ And FKey=’CalculateType'
Fvalue = 1 为分仓
Fvalue = 0 为总仓
修改为保存更新还是审核更新
Update t_systemprofile set FValue=0 where FCategory='IC' and FKey='UPSTOCKWHENSAVE'
Fvalue = 0 审核更新
Fvalue = 1 保存更新
修改为单到冲回还是差额冲回
Update t_systemprofile set FValue=0 where FCategory='IC' and FKey='ZanGuDiffMethod'
Fvalue = 0 差额冲回
Fvalue = 1 单到冲回


实例:刚开的账套,开账时设了按自然月作会计期间,现要修改为每月的25号为期末,26号当下一期的期初。

第一 、先要确保没有凭证是跨期的,也就是说,要改的当期凭证不能有26号的,要将凭证改26号之前时间或删除。

第二、备份账套文件,改这个很容易出问题的,一定要备份好账套。

第三、改数据库,在SQL查询运行如下代码:

update t_systemprofile
set FValue='0'
where FKey='PeriodByMonth' and FValue='1'
update t_systemprofile
set FValue =   '010101260226032604260526062607260826092610261126'
where FValue ='010102010301040105010601070108010901100111011201'

update t_systemprofile
set FValue = 0
where FCategory = 'GL' and FKey='Closed'

第四、进入系统参数设置修改会计期间。

第五、改数据库,在SQL查询运行如下代码:

update t_systemprofile
set FValue = 1
where FCategory = 'GL' and FKey='Closed'

完成!


修改允许负库存结账(1 允许  0 不允许)
update t_SystemProfile set FValue=1 WHERE (FCategory = 'IC' and FKey='UnderStockCalculate')
修改允许负库存出库(1 允许  0 不允许)
Update t_systemprofile Set FValue=1 where FCategory='IC' And FKey='UnderStock'


您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 03:01 , Processed in 0.012502 second(s), 16 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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