Commit 6c48b02c authored by ngadkari's avatar ngadkari

changes for contact code in sundry bal

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213026 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bdeec0f7
......@@ -126,8 +126,10 @@ public class FinCommon {
crAmtBase = crAmount * exchRate;
drAmtBase = drAmount * exchRate;
if (contactCode == null) {
contactCode = "";
if (contactCode == null || contactCode.trim().length() == 0) {
contactCode =getContactCode(sundryType,sundryCode, conn); //added by nandkumar gadkari on 02/12/19
//contactCode = "";
}
while (true) {
// try
......@@ -1050,8 +1052,10 @@ public class FinCommon {
lc_cramt_b = lc_cramt * lc_exchrate;
lc_dramt_b = lc_dramt * lc_exchrate;
if (ls_contactcode == null) {
ls_contactcode = "";
if (ls_contactcode == null || ls_contactcode.trim().length() == 0) {
ls_contactcode =getContactCode(ls_sundrytype,ls_sundrycode, conn); //added by nandkumar gadkari on 02/12/19
//ls_contactcode = "";
}
while (true) {
// try
......
......@@ -3076,6 +3076,7 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis
sundryBalUpd.put("fin_entity", hdrMap.get("fin_entity"));
sundryBalUpd.put("site_code", hdrMap.get("site_code"));
sundryBalUpd.put("sundry_type", "C");
sundryBalUpd.put("sundry_code", eachAdv.get("sundry_code"));//added by nandkumar gadkari on 02/12/19
sundryBalUpd.put("curr_code", eachAdv.get("curr_code"));
sundryBalUpd.put("acct_code", eachAdv.get("acct_code"));
sundryBalUpd.put("cctr_code", eachAdv.get("cctr_code"));
......
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