Commit c7b491a4 authored by mkhan's avatar mkhan

changes for tranId generation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91119 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 008c4ac8
...@@ -501,9 +501,9 @@ public class DissOrderDmgPrc extends ProcessEJB implements DissOrderDmgPrcLocal, ...@@ -501,9 +501,9 @@ public class DissOrderDmgPrc extends ProcessEJB implements DissOrderDmgPrcLocal,
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>"; xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>"; xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>"; xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>"; xmlValues = xmlValues + "<dist_order></dist_order>";
xmlValues = xmlValues + "<site_code>"+loginSiteCode.trim()+"</site_code>" ; xmlValues = xmlValues + "<site_code>"+loginSiteCode.trim()+"</site_code>" ;
xmlValues = xmlValues + "<tran_date>"+tranDate.trim()+"</tran_date>" ; xmlValues = xmlValues + "<order_date>"+orderDate.trim()+"</order_date>" ;
xmlValues = xmlValues + "</Detail1></Root>"; xmlValues = xmlValues + "</Detail1></Root>";
tranIdG = generateTranId("w_dist_order",xmlValues,conn);//function to generate NEW transaction id tranIdG = generateTranId("w_dist_order",xmlValues,conn);//function to generate NEW transaction id
if(tranIdG == null || tranIdG.trim().length() ==0) if(tranIdG == null || tranIdG.trim().length() ==0)
......
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