本文解答了关于《汇算清缴成本调减分录》相关内容,同时关于1、汇算清缴成本调减分录怎么做,2、汇算清缴成本调减分录,3、汇算清缴成本调减还要做分录吗,4、汇算清缴成本调整会计分录,5、汇算清缴调整成本减少应填在哪里,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
汇算清缴成本调减分录
FeeSettleAccountCostReduceEntry feeSettleAccountCostReduceEntry = feeSettleAccountMapper.findFeeSettleAccountCostReduceEntry(env);
//判断是不是最后一笔
FeeSettleAccountEndIsLastOne feeSettleAccountEndIsLastOne = feeSettleAccountMapper.findFeeSettleAccountEndIsLastOne(env);
if(feeSettleAccountEndIsLastOne.getResult()==1){
NodeProcessTaskRes3 nodeProcessTaskRes3 = new NodeProcessTaskRes3();
nodeProcessTaskRes3.setIfEnd("2");
nodeProcessTaskRes3.setBatchId(env.getBatchId());
nodeProcessTaskRes3.setNodeId(env.getNodeId());
//设置成本调减的金额
nodeProcessTaskRes3.setCostAmt(ArithHelper.formatScale2(feeSettleAccountCostReduceEntry.getAmt()).toString());
return nodeProcessTaskRes3;
}else{ //不是最后一笔
//查询应收账款的分录
FeeSettleAccountEntry feeSettleAccountEntry1 = feeSettleAccountMapper.findFeeSettleAccountEntry(env);
//查询核算利润的分录
FeeSettleAccountEntry feeSettleAccountEntry2 = feeSettleAccountMapper.findFeeSettleAccountEntry2(env);
NodeProcessTaskRes3 nodeProcessTaskRes3 = new NodeProcessTaskRes3();
nodeProcessTaskRes3.setIfEnd("1");
nodeProcessTaskRes3.setBatchId(env.getBatchId());
nodeProcessTaskRes3.setNodeId(env.getNodeId());
//设置应收账款的金额
nodeProcessTaskRes3.setReceivableAmt(ArithHelper.formatScale2(feeSettleAccountEntry1.getAmt()).toString());
//设置核算利润的金额
nodeProcessTaskRes3.setAccountProfitAmt(ArithHelper.formatScale2(feeSettleAccountEntry2.getAmt()).toString());
//设置成本调减的金额
nodeProcessTaskRes3.setCostAmt(ArithHelper.formatScale2(feeSettleAccountCostReduceEntry.getAmt()).toString());
return nodeProcessT
总结:以上是编辑:【落泪的紫腾花】整理及AI智能原创关于《汇算清缴成本调减分录
》优质内容解答希望能帮助到您。