本文解答了关于《累计摊销科目期末是否结转》相关内容,同时关于1、累计摊销科目期末是否结转成本,2、累计摊销期末要结转吗,3、累计摊销期末有没有余额,4、累计摊销期末结转到本年利润吗,5、累计摊销期末余额在借方还是贷方,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
累计摊销科目期末是否结转
List voucherBodies = this.iVoucherBodyService.getVoucherBodiesByVoucherHeadId(head.getId());
for (VoucherBody body : voucherBodies) {
if (body.getAccTotalCode().equals(Constant.BALANCE_SETTING_ACC_ACCUMULATED)) {
// 累计摊销
Map periodCurrentMap = new HashMap<>();
periodCurrentMap.put("period", balancePeriodCurrent);
periodCurrentMap.put("account_code", body.getAccCode());
if (this.accGCheckInfoMapper.selectAccCurrentPeriodBalanceByPeriodDRCode(periodCurrentMap).intValue() > 0) {
returnBaseBean.setReturnMsg(ReturnBaseBean.FALSE);
returnBaseBean.setReturnInfo(MessageInfo.PERIOD_CHECK_C_MESSAGE);
return returnBaseBean;
}
}
}
BalancePeriod balancePeriod = new BalancePeriod();
// 登记填制日期为空,认为帐
balancePeriod.setBpAccountInit(CommonUtil.getDecimalFormat(new BigDecimal(0)));
balancePeriod.setBpPeriod(head.getVoucherPeriod());
balancePeriod.setBpBalanceDate(head.getVoucherDate());
balancePeriod.setBpCheckAccount(head.getVoucherCheckPerson());
this.balancePeriodMapper.updateBalancePeriodByPeriod(balancePeriod);
returnBaseBean.setReturnMsg(ReturnBaseBean.TRUE);
returnBaseBean.setReturnInfo(MessageInfo.ACC_VOUCHER_CHECK_MESSAGE);
return returnBaseBean;
} else {
returnBaseBean.setReturnMsg(ReturnBaseBean.FALSE);
returnBaseBean.setReturnInfo(MessageInfo.PERIOD_CHECK_MESSAGE);
return returnBaseBean;
}
}
}
总结:以上是编辑:【熊跃】整理及AI智能原创关于《累计摊销科目期末是否结转
》优质内容解答希望能帮助到您。