Commit c38ca63a authored by smanohar's avatar smanohar

Transit stock update to be done in case of dis_lik = A also

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197898 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8c2f27e9
......@@ -1046,7 +1046,8 @@ public class DespatchConfirm extends ActionHandlerEJB implements DespatchConfirm
//CALLING UPDATE OF STOCK FOR TRANSIT ENTRY
// 23-Nov-16 manoharan wrong syntax
//if(channelPartner == "Y" && disLink == "E")
if("Y".equalsIgnoreCase(channelPartner) && "E".equalsIgnoreCase(disLink))
// 01-Mar-2019 in case dis_link A also to be updated
if("Y".equalsIgnoreCase(channelPartner) && ("E".equalsIgnoreCase(disLink) || "A".equalsIgnoreCase(disLink)))
{
// 23-Nov-16 manoharan included in previous select and commented
/*sql = "select exp_date,mfg_date,site_code__mfg,pack_code,acct_code__inv,cctr_code__inv "
......
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