报表往来科目重分类只取一级科目JY/DY设置公式原创
金蝶云社区-爱吃饭不刷碗
爱吃饭不刷碗
14人赞赏了该文章 2,851次浏览 未经作者许可,禁止转载编辑于2022年08月02日 19:35:25

设置报表模板重分类时,系统公式=Acct("","2202","DY","","","","")【系统取数逻辑】根据科目包含所有最明细科目,分别计算每个最明细科目的JY、DY,再简单汇总。设置明细科目、核算维度重分类设置如下帖子https://vip.kingdee.com/article/146306?productLineId=1&isKnowledge=2


报表往来科目重分类只取一级科目JY/DY设置公式:

应收年初:=IF(Acct("","1122","C","",0,1,1)>0,Acct("","1122","C","",0,1,1),0)+IF(Acct("","2203","C","",0,1,1)<0,-Acct("","2203","C","",0,1,1),0)-Acct("","1231","Y","",0,1,1)

应收年末:=IF(Acct("","1122","Y","",0,0,0)>0,Acct("","1122","Y","",0,0,0),0)+IF(Acct("","2203","Y","",0,0,0)<0,-Acct("","2203","Y","",0,0,0),0)-Acct("","1231","Y","",0,0,0)


应付年初:=IF(Acct("","2202","C","",0,1,1)>0,Acct("","2202","C","",0,1,1),0)+IF(Acct("","1123","C","",0,1,1)<0,-Acct("","1123","C","",0,1,1),0)

应付年末:=IF(Acct("","2202","Y","",0,0,0)>0,Acct("","2202","Y","",0,0,0),0)+IF(Acct("","1123","Y","",0,0,0)<0,-Acct("","1123","Y","",0,0,0),0)


预付年初:=IF(Acct("","2202","C","",0,1,1)<0,-Acct("","2202","C","",0,1,1),0)+IF(Acct("","1123","C","",0,1,1)>0,Acct("","1123","C","",0,1,1),0)

预付年末:=IF(Acct("","2202","Y","",0,0,0)<0,-Acct("","2202","Y","",0,0,0),0)+IF(Acct("","1123","Y","",0,0,0)>0,Acct("","1123","Y","",0,0,0),0)


预收年初:=IF(Acct("","1122","C","",0,1,1)<0,-Acct("","1122","C","",0,1,1),0)+IF(Acct("","2203","C","",0,1,1)>0,Acct("","2203","C","",0,1,1),0)

预收年末:=IF(Acct("","1122","Y","",0,0,0)<0,-Acct("","1122","Y","",0,0,0),0)+IF(Acct("","2203","Y","",0,0,0)>0,Acct("","2203","Y","",0,0,0),0)

图标赞 14
14人点赞
还没有人点赞,快来当第一个点赞的人吧!
图标打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!