您的位置: 龙岩金蝶软件论坛 -> 金蝶软件 -> K3-WISE -> 成本系统总账导入公式开发
本帖共有401个阅读者
发表帖子 发表投票 回复主题
成本系统总账导入公式开发
尊贵身份标志
cyy275(管理员)
cyy275
头衔:社区公民
帮派:无帮无派
帖数:497
金钱:100000
积分:2248
注册时间:2017-5-8
楼主信息 | 留言 | Email | 主页 | 编辑 | 管理 | 离线
成本系统总账导入公式开发
--查询科目代码

select * from t_account where fnumber='5101.10'

--1123为要插入的科目代码,fexpid=61为导入的模板类型faccountid=1121为引用的科目值。

insert into cbBmItemAccount

select fdeptid,fexpid,1123,FItemClassID,fitemid,fdc,fcostitemid,fcostobjid,fcostobjgroupid

from cbBmItemAccount where fexpid=61 and faccountid=1121


今天的努力,明天的享受!
今天的无为,明天的无助!
今天的迷茫,明天的受累!
等级:管理员 参考IP地址:*.*.*.*
2017-5-8 18:52:34
Powered by 金蝶论坛 Copyright © 2011 www.xxhcom.cn. All rights reserved.