从sap获取应付凭证的总账科目编号修改为HKONT

This commit is contained in:
yuxueliang0813 2025-07-02 17:32:49 +08:00
parent d9ef0ae37e
commit 6b815bb6c5
4 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ public class SappzFormPlugin extends AbstractFormPlugin {
this.getModel().setValue("shjh_orgnumber", it_list.getString("BUKRS"), i);//公司编号,"公司代码
this.getModel().setValue("shjh_vouchernumber", it_list.getString("BELNR"), i);//凭证号,会计凭证编号
this.getModel().setValue("shjh_accountingyear", it_list.getString("GJAHR"), i);//会计年度,会计年度
this.getModel().setValue("shjh_accountingsubject", it_list.getString("SAKNR"), i);//会计科目:1001,总帐科目编号
this.getModel().setValue("shjh_accountingsubject", it_list.getString("HKONT"), i);//会计科目:1001,总帐科目编号
this.getModel().setValue("shjh_accountingsubjecline", it_list.getString("BUZEI"), i);//会计科目行项目号,行编号
this.getModel().setValue("shjh_outstandingamount", new BigDecimal(it_list.getString("WRBTR")), i);//未清金额,凭证货币金额
BigDecimal KURSF = new BigDecimal(it_list.getString("KURSF"));

View File

@ -341,7 +341,7 @@ public class FundPlanPaymentTask extends AbstractTask implements Plugin {
if(!yymFlag){
continue;
}
kmbhFlag = getDOInFlag(pzbinfo,"shjh_kjkm",sapresult.getString("SAKNR"));//会计科目
kmbhFlag = getDOInFlag(pzbinfo,"shjh_kjkm",sapresult.getString("HKONT"));//会计科目
if(!kmbhFlag){
continue;
}

View File

@ -128,7 +128,7 @@ public class QuerySapCreatePayApplyTask extends AbstractTask {
String bukrs = it_list.getString("BUKRS");//公司编号
String fkBillNum = it_list.getString("BELNR");//凭证号
String gjahr = it_list.getString("GJAHR");//会计年度
String accountingsubject = it_list.getString("SAKNR");//会计科目
String accountingsubject = it_list.getString("HKONT");//会计科目
String ebelp = it_list.getString("BUZEI");//会计科目行项目号
BigDecimal wrbtr = new BigDecimal(it_list.getString("WRBTR"));//未清金额
//汇率

View File

@ -424,7 +424,7 @@ public class ApplyAdjustBillControler {
String orgNum = it_list.getString("BUKRS");//公司编号,"公司代码
String voucheryear = it_list.getString("GJAHR");//会计年度,会计年度
String voucherentrynum = it_list.getString("BUZEI");//会计科目行项目号,行编号
String accountingsubject = it_list.getString("SAKNR");//会计科目:1001,总帐科目编号
String accountingsubject = it_list.getString("HKONT");//会计科目:1001,总帐科目编号
BigDecimal outstandingamount = new BigDecimal(it_list.getString("WRBTR"));//未清金额,凭证货币金额
BigDecimal KURSF = new BigDecimal(it_list.getString("KURSF"));
// String zlsch = it_list.getString("ZLSCH");//付款方式(结算方式)