Commit 3722b2ef authored by Quxl's avatar Quxl

x

parent ed88075e
...@@ -83,7 +83,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService { ...@@ -83,7 +83,7 @@ public class ConfirmQuotationServiceImpl implements ConfirmQuotationService {
header.put("WAERK", h.getWAERK()); header.put("WAERK", h.getWAERK());
header.put("DPFLAG", h.getDPFLAG()); header.put("DPFLAG", h.getDPFLAG());
header.put("SEND_STATUS", "N"); header.put("SEND_STATUS", "N");
header.put("BATCH", dateString+common.getNextval("T_SO_CONFIRMACTION_HEADER_BATCH_" + dateString)); header.put("BATCH", dateString + "-" + common.getNextval("T_SO_CONFIRMACTION_HEADER_BATCH_" + dateString));
header.put("CREATED", now); header.put("CREATED", now);
header.put("CREATEDBY", "system"); header.put("CREATEDBY", "system");
String idIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_HEADER_ID_"+dateString), "00000"); String idIndex = StringUtil.format(common.getNextval("T_SO_CONFIRMATION_HEADER_ID_"+dateString), "00000");
......
...@@ -43,7 +43,7 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -43,7 +43,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
String dateString = DateUtil.formatDate(now, DateUtil.FMT_DATE); String dateString = DateUtil.formatDate(now, DateUtil.FMT_DATE);
try { try {
Map<String, Object> map = new HashMap<String, Object>(); Map<String, Object> map = new HashMap<String, Object>();
map.put("MSGID", DELETED_DOCUMENTS.getMSGID()); map.put("MESSAGE_ID", DELETED_DOCUMENTS.getMSGID());
map.put("TARGET_SYSTEM", DELETED_DOCUMENTS.getTARGET_SYSTEM()); map.put("TARGET_SYSTEM", DELETED_DOCUMENTS.getTARGET_SYSTEM());
map.put("DOCUMENT_TYPE", DELETED_DOCUMENTS.getDOCTYPE()); map.put("DOCUMENT_TYPE", DELETED_DOCUMENTS.getDOCTYPE());
map.put("DOCUMENT_NUMBER", DELETED_DOCUMENTS.getDOCNUMBER()); map.put("DOCUMENT_NUMBER", DELETED_DOCUMENTS.getDOCNUMBER());
......
...@@ -109,7 +109,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService { ...@@ -109,7 +109,7 @@ public class PrformaInvoiceServiceImpl implements PrformaInvoiceService {
headMap.put("SUMMARY_WAERQ" + (i + 1), SUMMARY_GENERAL.getWAERQ()); headMap.put("SUMMARY_WAERQ" + (i + 1), SUMMARY_GENERAL.getWAERQ());
} }
} }
headMap.put("BATCH", dateString + common.getNextval("T_PERFORM_INVOICE_HEADER_BATCH_" + dateString)); headMap.put("BATCH", dateString + "-" + common.getNextval("T_PERFORM_INVOICE_HEADER_BATCH_" + dateString));
headMap.put("SEND_STATUS", 'N'); headMap.put("SEND_STATUS", 'N');
headMap.put("SEND_TIME", now); headMap.put("SEND_TIME", now);
headMap.put("TRACE_NO", "sapproformainvoice" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); headMap.put("TRACE_NO", "sapproformainvoice" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
......
...@@ -100,7 +100,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ ...@@ -100,7 +100,7 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
header.put("QUALF", HEADER_DATE.getQUALF()); header.put("QUALF", HEADER_DATE.getQUALF());
header.put("NTEND", HEADER_DATE.getNTEND()); header.put("NTEND", HEADER_DATE.getNTEND());
} }
header.put("BATCH", dateString+"-"+common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_BATCH_"+dateString)); header.put("BATCH", dateString + "-" + common.getNextval("T_SHIPPING_NOTIFICATION_HEADER_BATCH_"+dateString));
header.put("SEND_STATUS", "N"); header.put("SEND_STATUS", "N");
header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); header.put("TRACE_NO", "sapshippingnotification"+DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
header.put("CREATED", now); header.put("CREATED", now);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment