Forráskód Böngészése

增加凭证流水字段

wangjun 3 hete
szülő
commit
b05614d11f

+ 3 - 1
code/jyyy/nckd-jimin-jyyy-fi/src/main/java/nckd/jimin/jyyy/fi/mservice/SyncSapFIUtils.java

@@ -126,7 +126,8 @@ public class SyncSapFIUtils {
 
         String XREF1 = getXREF1(HKONT);  //凭证辅助项1
         String XREF2 = "";
-        String XREF3 = "";
+        //交易流水号
+        String XREF3 = StringUtils.isEmpty(voucher.getString("entries.currency.number")) ? "" : voucher.getString("entries.currency.number");
         String ZZATTRI1 = "";
         String ZZATTRI2 = "";
         String ZZATTRI3 = "";
@@ -345,6 +346,7 @@ public class SyncSapFIUtils {
         sb.append("entries,"); //  凭证行
         sb.append("entries.id,"); //  凭证行ID
         sb.append("entries.seq,");
+        sb.append("entries.nckd_detailseqid,");
         sb.append("entries.").append(GlVoucherConstantInfo.CURRENCY).append(",");  //  凭证行币种
         sb.append("entries.").append(GlVoucherConstantInfo.CURRENCY).append(".number").append(",");  //  凭证行币种
         sb.append("entries.").append(GlVoucherConstantInfo.DEBITLOCAL).append(",");  //  凭证行借方金额