|
@@ -209,19 +209,19 @@ public class SyncSapFIUtils {
|
|
|
|
|
|
String BUDAT = sdf.format(voucher.getDate(GlVoucherConstantInfo.BOOKEDDATE));
|
|
|
|
|
|
- String BLART = "";
|
|
|
+ String BLART = StringUtils.isEmpty(voucher.getString("nckd_blart")) ? "" : voucher.getString("nckd_blart");
|
|
|
String BKTXT = "";
|
|
|
String sourcebill = "";
|
|
|
String billtype = voucher.getString("sourcebilltype");
|
|
|
if(StringUtils.isNotEmpty(billtype)) {
|
|
|
- switch (billtype) {
|
|
|
- case "er_publicreimbursebill":
|
|
|
- BLART = "BX";
|
|
|
- break;
|
|
|
- default:
|
|
|
- BLART = "BX";
|
|
|
- break;
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
sourcebill = voucher.getString("sourcebill");
|
|
|
|
|
|
DynamicObject sourcebillDyn = BusinessDataServiceHelper.loadSingle(sourcebill, billtype);
|
|
@@ -349,6 +349,7 @@ public class SyncSapFIUtils {
|
|
|
sb.append(GlVoucherConstantInfo.SUBMITTER).append(".number").append(",");
|
|
|
sb.append(GlVoucherConstantInfo.SOURCEBILLTYPE).append(",");
|
|
|
sb.append(GlVoucherConstantInfo.SOURCEBILL).append(",");
|
|
|
+ sb.append("nckd_blart").append(",");
|
|
|
sb.append("entries,");
|
|
|
sb.append("entries.id,");
|
|
|
sb.append("entries.seq,");
|