本文解答了关于《冲减以前年度管理费用分录》相关内容,同时关于1、冲减以前年度管理费用分录怎么写,2、调整去年的管理费用今年如何做账,3、小企业会计准则调整跨年费用,4、以前年度损益调整怎么用,5、跨年发现错账的调账方法,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。
冲减以前年度管理费用分录明细
Check(accVoucherH.CheckNo_1, accVoucherR.AccVoucherR2_Debit_3, String.valueOf(tmpManagementsFees));
Check(accVoucherH.CheckNo_1, accVoucherR.AccVoucherR2_Credit_3, "0");
// 测试本年度管理费用分录明细
Check(accVoucherH.CheckNo_1, accVoucherR.AccVoucherR3_Debit_3,String.valueOf(chargePerPeriod));
Check(accVoucherH.CheckNo_1, accVoucherR.AccVoucherR3_Credit_1,String.valueOf(chargePerPeriod));
Check(accVoucherH.CheckNo_1, accVoucherR.AccVoucherR3_Credit_4,String.valueOf(chargePerPeriod));
// 贷方合计
//String sumDebit = accVoucherH.SumDebit_All;
//String sumCredit = accVoucherH.SumCredit_All;
// 测试科目余额
// Bank 测试
Bank bank = new Bank();
String BankBegin_debit = bank.Begin_debit_1;
String BankBegin_credit = bank.Begin_credit_1;
String BankEnd_debit = bank.End_debit_1;
String BankEnd_credit = bank.End_credit_1;
if (Double.parseDouble(BankBegin_debit) - tmpManagementsFees + chargePerPeriod == Double.parseDouble(BankEnd_debit)
&& Double.parseDouble(BankBegin_credit) + tmpManagementsFees - chargePerPeriod == Double.parseDouble(BankEnd_credit))
{
System.out.println("Bank 测试通过");
}
else
{
System.out.println("Bank 测试不通过");
String info = "开始余额借方:" + BankBegin_debit + "; 期末余额借方:" + BankEnd_debit + "; 开始余额贷方:" + BankBegin_credit + "; 期末余额贷方:" + BankEnd_credit;
Log.error("错误原因:" + info);
}
// ManagementFees 测试
// 账龄管理费用.应交税费.管理费用
String ManagementFees_debit = "0";
String ManagementFees_credit = "0";
if (accObj.acc_name.equals("账龄管理费用.应交税费.管理费用"))
{
ManagementFees_debit = accObj.End_debit_2;
ManagementFees_credit = accObj.End_credit_2;
}
if (accObj.acc_name.equals("账龄管理费用.其它应付款.管理费用"))
{
ManagementFees_debit = accObj.End_debit_1;
ManagementFees_credit = accObj.End_credit_1;
}
if (Double.parseDouble(ManagementFees_debit) - tmpManagementsFees + chargePerPeriod == 0
&&Double.parseDouble(ManagementFees_credit) + tmpManagementsFees - chargePerPeriod == 0)
{
System.out.println("ManagementFees 测试通过");
}
else
{
System.out.println("ManagementFees 测试不通过");
}
// Cost 测试
String Cost_debit = cost.End_debit_1;
String Cost_credit = cost.End_credit_1;
if (Double.parseDouble(Cost_debit) + chargePerPeriod == Double.parseDouble(Cost_credit) + chargePerPeriod)
{
System.out.println("Cost 测试通过");
}
else
{
System.out.println("Cost 测试不通过");
String info = "开始余额借方:" + Cost_debit + "; 期末余额借方:" + Cost_debit + "; 开始余额贷方:" + Cost_credit + "; 期末余额贷方:" + Cost_credit;
Log.error("错误原因:" + info);
}
}
}
总结:以上是编辑:【孔将文】整理及AI智能原创关于《冲减以前年度管理费用分录
》优质内容解答希望能帮助到您。