Commit 709ff177 authored by Quxl's avatar Quxl

x

parent f10e3217
...@@ -58,7 +58,7 @@ public class DNDeletionServiceImpl implements DNDeletionService { ...@@ -58,7 +58,7 @@ public class DNDeletionServiceImpl implements DNDeletionService {
if(SOLD_TO == null || SOLD_TO.trim().isEmpty()) { if(SOLD_TO == null || SOLD_TO.trim().isEmpty()) {
throw new XRException("Unable to generate batch number, Distributor number cannot be empty"); throw new XRException("Unable to generate batch number, Distributor number cannot be empty");
} }
map.put("BATCH", dateString + "-" + common.getNextval("T_SO_DN_DELETION_BATCH" + SOLD_TO)); map.put("BATCH", dateString + "-" + common.getNextval("T_SO_DN_DELETION_BATCH_" + SOLD_TO));
map.put("TRACE_NO", "sapsodndeletion" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME)); map.put("TRACE_NO", "sapsodndeletion" + DateUtil.formatDate(now, DateUtil.FMT_DATETIME));
map.put("SEND_STATUS", "N"); map.put("SEND_STATUS", "N");
map.put("CREATED", now); map.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