Commit 588e88d5 authored by ssarkar's avatar ssarkar

update by sumit on 27/02/13 for issue tracker point 99 (STOCK DEALLOCATION) .

AND BUG SOLVED for active repl and wave_task_det


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92760 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6e4ecc4b
/*
authored by Pawan 10/7/2010 to confirm the transaction
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.utility.*;
import ibase.system.config.*;
import ibase.webitm.ejb.*;
import ibase.webitm.ejb.dis.*;
import ibase.webitm.ejb.fin.*;
import java.rmi.RemoteException;
import java.util.Date;
import java.util.*;
import java.text.*;
import java.sql.*;
import javax.ejb.*;
import ibase.webitm.ejb.MasterStatefulLocal;
import javax.naming.InitialContext;
@Stateless
public class DeallocArtConf extends ActionHandlerEJB implements DeallocArtConfLocal, DeallocArtConfRemote
{
String loginEmpCode = "";
String confDateStr = "";
GenericUtility genericUtility = GenericUtility.getInstance();
@Override
public String confirm( String tranId, String xtraParams, String forcedFlag ) throws RemoteException,ITMException
{
System.out.println("DeallocArtConf Called........");
boolean isError = false;
int updCnt = 0;
String confirmed = "";
String sql = "", sql1 = "";
//String siteCode = "";
ResultSet rs = null, rs2 = null ;
PreparedStatement pstmt = null, pstmt1 = null, pstmt2 = null;
Connection conn = null;
String errString = "";
String saleOrder = "", saleOrderLine = "", itemCode = "", custCode = "", expLev = "";
String lotSl = "", lotNo = "", locCode = "", waveId = "", pickOrder = "", locCodeTo ="";
String replOrder = "", siteCode = "";
String pickType = "";
//String comfirmed = "";
double DeallocQty = 0.0;
int pickLineNo = 0;
boolean isIssueDone = false;
HashMap replIss = new HashMap();
ITMDBAccessEJB itmdbAccess = new ITMDBAccessEJB();
try
{
System.out.println(" force flag ["+forcedFlag+"]");
System.out.println(" xtraParams --> ["+xtraParams+"]");
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"site_code");
System.out.println(" site code ["+siteCode+"]");
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator");
conn.setAutoCommit(false);
SimpleDateFormat sdf = new SimpleDateFormat( genericUtility.getDBDateTimeFormat());
Date confDate = new Date();
confDateStr = sdf.format(confDate);
System.out.println("confDate is :"+confDate+" confDate str is : "+confDateStr);
sql = "SELECT CONFIRMED FROM DEALLOC_ART WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if( rs.next() )
{
confirmed = checkNull( rs.getString("CONFIRMED") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if( confirmed != null && confirmed.equalsIgnoreCase("Y") )
{
errString = itmdbAccess.getErrorString("","VTALCONF",loginEmpCode);
return errString;
}
sql = " SELECT D.CONFIRMED FROM DESPATCH D, WAVE_TASK_DET W , dealloc_art da " +
" WHERE W.PTCN = DA.PTCN AND D.WAVE_ID = W.WAVE_ID AND W.REF_ID = D.DESP_ID " +
" and da.tran_id = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
if(rs.next())
{
System.out.println(" confirmed ["+rs.getString("CONFIRMED")+"]");
if("Y".equalsIgnoreCase(rs.getString("CONFIRMED")))
{
errString = itmdbAccess.getErrorString("","INVPTCNDSP",loginEmpCode);
return errString;
}
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
sql = " ";
sql = " SELECT DISTINCT D.CARTON_NO, PD.SALE_ORDER , PD.LINE_NO__SORD, PD.ITEM_CODE, PD.EXP_LEV, PD.LOC_CODE__TO, PD.LOT_SL, PD.LOC_CODE, " +
" PD.LOT_NO, D.QUANTITY, S.CUST_CODE, PH.WAVE_ID, D.PICK_ORDER, PD.LINE_NO FROM PICK_ORD_DET PD, PICK_ORD_HDR PH , DEALLOC_ART_DET D, SORDER S " +
" WHERE D.TRAN_ID = ? AND D.PICK_ORDER = PH.PICK_ORDER AND PH.PICK_ORDER = PD.PICK_ORDER "+
" AND D.LINE_NO__PICK = PD.LINE_NO AND PH.SALE_ORDER = S.SALE_ORDER ";
sql1 = "UPDATE CARTON_MASTER SET STATUS ='R' WHERE CARTON_NO = ? ";
pstmt1 = conn.prepareStatement(sql1);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
while (rs.next())
{
//sorderDeAllocate(saleOrder, lineNo, itemCode, DeallocQty, expLev, custCode, lotSl, lotNo, locCode, tranId, allocLineno)
saleOrder = rs.getString("SALE_ORDER");
saleOrderLine = rs.getString("LINE_NO__SORD");
itemCode = rs.getString("ITEM_CODE");
custCode = rs.getString("CUST_CODE");
expLev = rs.getString("EXP_LEV");
lotSl = rs.getString("LOT_SL");
lotNo = rs.getString("LOT_NO");
locCode = rs.getString("LOC_CODE");
locCodeTo = rs.getString("LOC_CODE__TO");
DeallocQty = rs.getDouble("QUANTITY");
waveId = rs.getString("WAVE_ID");
pickOrder = rs.getString("PICK_ORDER");
pickLineNo = rs.getInt("LINE_NO");
saleOrderLine = " " + saleOrderLine;
saleOrderLine = saleOrderLine.substring(saleOrderLine.length()-3);
System.out.println(" sord line no ["+saleOrderLine+"] locCode ["+locCode+"] locCodeTo["+locCodeTo+"] pickLineNo ["+pickLineNo+"]");
sql = "";
sql = " SELECT PIH.PICK_ORDER, PIH.PICK_TYPE, PIH.CONFIRMED, PID.LOC_CODE__TO FROM PICK_ISS_HDR PIH, PICK_ISS_DET PID WHERE PIH.PICK_ORDER = ? " +
" AND PIH.PICK_ORDER = PID.PICK_ORDER";
pstmt2 = conn.prepareStatement(sql);
pstmt2.setString(1, pickOrder);
rs2 = pstmt2.executeQuery();
confirmed = "";
if( rs2.next())
{
isIssueDone = true;
pickType = rs2.getString("PICK_TYPE");
confirmed = rs2.getString("CONFIRMED");
System.out.println(" pickType ["+pickType+"]");
if( "M".equalsIgnoreCase(pickType))
{
locCode = rs2.getString("LOC_CODE__TO");
}
else
{
locCode = locCodeTo;
}
}
rs2.close(); rs2 = null;
pstmt2.close(); pstmt2 = null;
System.out.println(" locCode ["+locCode+"] locCodeTo ["+locCodeTo+"]");
//Deallocating from pick order in case of issue not done
if( !isIssueDone )
{
replIss = new HashMap();
replIss = isReplIssueDone(pickOrder, pickLineNo, conn);
if("YES".equalsIgnoreCase(replIss.get("isRepl").toString()))
{
replOrder = replIss.get("repl_order").toString();
System.out.println(" 88 replOrder ["+replOrder+"]");
HashMap replParent = new HashMap();
replParent = isParentExist(replOrder, conn);
confirmed = replParent.get("confirmed").toString();//confirmed
System.out.println(" confirmed ["+confirmed+"] paren_exist ["+replParent.get("paren_exist").toString()+"] ");
if("Y".equalsIgnoreCase(replParent.get("confirmed").toString()))
{
locCode = replParent.get("loc_code__to").toString();
lotNo = replParent.get("lot_no").toString();
lotSl = replParent.get("lot_sl").toString();
System.out.println(" locCode ["+locCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
//Updating pick_order
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
}
else if ("N".equalsIgnoreCase(confirmed) && "NO".equalsIgnoreCase(replParent.get("paren_exist").toString())) //parentExist.put("paren_exist", "NO");
{
locCode = replParent.get("loc_code__to").toString();
lotNo = replParent.get("lot_no").toString();
lotSl = replParent.get("lot_sl").toString();
System.out.println(" locCode ["+locCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
updateReplOrder(replOrder, siteCode, itemCode, locCodeTo, lotNo, lotSl, DeallocQty, conn);
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
}
else if ( "N".equalsIgnoreCase(confirmed) && "YES".equalsIgnoreCase(replParent.get("paren_exist").toString()))
{
System.out.println(" repl order going to search it's ["+replOrder+"] parent ");
replOrder = "";
replOrder = replParent.get("pick_order").toString();
System.out.println(" new repl order going to serch it's parent ["+replOrder+"]");
replParent.clear();
replParent = isParentExist(replOrder, conn);
confirmed = "";
confirmed = replParent.get("confirmed").toString();
System.out.println(" *-* confirmed ["+confirmed+"]");
if("Y".equalsIgnoreCase(confirmed))
{
locCode = replParent.get("loc_code__to").toString();
lotNo = replParent.get("lot_no").toString();
lotSl = replParent.get("lot_sl").toString();
System.out.println(" locCode ["+locCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
}
else if ("N".equalsIgnoreCase(confirmed) && "NO".equalsIgnoreCase(replParent.get("paren_exist").toString())) //parentExist.put("paren_exist", "NO");
{
locCode = replParent.get("loc_code__to").toString();
lotNo = replParent.get("lot_no").toString();
lotSl = replParent.get("lot_sl").toString();
System.out.println(" locCode ["+locCode+"] lotNo ["+lotNo+"] lotSl ["+lotSl+"]");
updateReplOrder(replOrder, siteCode, itemCode, locCodeTo, lotNo, lotSl, DeallocQty, conn);
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
}
}
}
else
{
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
}
}
updatePickOrder(pickOrder, pickLineNo, DeallocQty, conn);
errString = sorderDeAllocate(saleOrder, saleOrderLine, itemCode, DeallocQty, expLev, custCode, lotSl, lotNo, locCode, xtraParams, waveId, pickOrder);
if (errString != null && errString.trim().length() > 0)
{
System.out.println("errString :"+errString);
return errString;
}
//Updating carton_no of carton master
pstmt1.setString(1, rs.getString("CARTON_NO"));
if( pstmt1.executeUpdate() > 0)
{
System.out.println(rs.getString("CARTON_NO")+" carton_no updated successfully ");
}
pstmt1.clearParameters();
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
if( pstmt1 != null )
{
pstmt1.close();
pstmt1 = null;
}
/*sql = " ";
sql = " SELECT DISTINCT D.CARTON_NO FROM PICK_ORD_DET PD, PICK_ORD_HDR PH , DEALLOC_ART_DET D, SORDER S " +
" WHERE D.TRAN_ID = ? AND D.PICK_ORDER = PH.PICK_ORDER AND PH.PICK_ORDER = PD.PICK_ORDER "+
" AND D.LINE_NO__PICK = PD.LINE_NO AND PH.SALE_ORDER = S.SALE_ORDER ";
sql1 = "UPDATE CARTON_MASTER SET STATUS ='R' WHERE CARTON_NO = ? ";
pstmt1 = conn.prepareStatement(sql1);
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
while (rs.next())
{
pstmt1.setString(1, rs.getString("CARTON_NO"));
if( pstmt1.executeUpdate() > 0)
{
System.out.println(rs.getString("CARTON_NO")+" carton_no updated successfully ");
}
pstmt1.clearParameters();
}
rs.close(); rs = null;
pstmt.close(); pstmt = null; */
sql = "UPDATE DEALLOC_ART SET CONFIRMED = 'Y', CONF_DATE = ? WHERE TRAN_ID = ?";
pstmt = conn.prepareStatement( sql );
pstmt.setTimestamp(1, Timestamp.valueOf( confDateStr ) );
pstmt.setString(2, tranId);
updCnt = pstmt.executeUpdate();
if ( updCnt > 0 )
{
System.out.println("DEALLOC_ART Updated Successfully ::"+updCnt);
}
pstmt.close();
pstmt = null;
//End changes by Gulzar on 5/10/2012
}
catch(Exception e)
{
isError = true;
try
{
conn.rollback();
}
catch(Exception e1)
{
e1.printStackTrace();
}
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
System.out.println("isError =["+isError+"]");
System.out.println("Commiting and Closing Connection..........");
if ( !(isError) )
{
conn.commit();
errString = itmdbAccess.getErrorString("","VTSUCC1",loginEmpCode);
}
else
{
conn.rollback();
}
if (rs != null )
{
rs.close(); rs = null;
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if( conn != null && !conn.isClosed() )
{
conn.close();
conn = null;
}
}
catch( Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return errString;
}
private String checkNull(String input)
{
if(input == null)
{
input = "";
}
return input;
}
private String sorderDeAllocate(String saleOrder, String lineNo, String itemCode, double DeallocQty, String expLev,String custCode,String lotSl,String lotNo,String locCode, String xtraParams, String waveId, String pickOrder ) throws ITMException
{
System.out.println("updateSOrder calling ..............");
String updateSorditem = null,updateSordAllocDet=null;
String updateSql= null,DelQtyAlloc= null,SqlQtyAlloc= null ;
String errString = "";
String error = "";
String errCode = "";
String siteCode = "", chgUser = "", chgTerm = "", sql = "", despId = "";
double quantity = 0.0;
Connection conn = null;
PreparedStatement pstmt=null, pstmt1 = null;
Statement st = null;
ResultSet rsQtyAlloc=null, rs = null, rs1 = null;
HashMap invallocTraceMap = new HashMap();
ConnDriver connDriver = new ConnDriver();
InvAllocTraceBean invallocTraceBean = new InvAllocTraceBean();
try
{
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "site_code");
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId");
System.out.println(" site code :["+siteCode+"] chgUser:["+chgUser+"] chgTerm:["+chgTerm+"]");
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
st = conn.createStatement();
invallocTraceMap.put("ref_ser","DEART");
invallocTraceMap.put("site_code",siteCode);
invallocTraceMap.put("item_code",itemCode);
invallocTraceMap.put("loc_code",locCode);
invallocTraceMap.put("lot_no",lotNo);
invallocTraceMap.put("lot_sl",lotSl);
invallocTraceMap.put("alloc_qty",new Double(-1 * DeallocQty));
System.out.print("DeallocQty = " + (-1*DeallocQty));
invallocTraceMap.put("chg_user",chgUser);
invallocTraceMap.put("chg_term",chgTerm);
//invallocTraceMap.put("chg_win","W_SORD_DEALLOC"); dealloc_art
invallocTraceMap.put("chg_win","W_DEALLOC_ART");
if (DeallocQty > 0 && saleOrder.trim().length()>0)
{
invallocTraceMap.put("ref_id",saleOrder);
invallocTraceMap.put("ref_line",lineNo);
errString = invallocTraceBean.updateInvallocTrace(invallocTraceMap,conn);
if (errString != null && errString.trim().length() > 0)
{
System.out.println("errString :::"+ errString );
return errString;
}
updateSorditem ="UPDATE SORDITEM SET QTY_ALLOC = QTY_ALLOC - " + new Double(DeallocQty).toString()
+" WHERE SALE_ORDER = '" + saleOrder + "' "
+" AND LINE_NO = '" + lineNo + "' "
+" AND EXP_LEV = '" + expLev + "' ";
System.out.println("updateSql------->"+updateSorditem);
st.executeUpdate(updateSorditem);
System.out.println("UPDATE SUCCESS FOR SORDITEM....>>>>>>>>");
updateSql = " UPDATE SORDALLOC SET QTY_ALLOC = QTY_ALLOC - " + new Double(DeallocQty).toString()
+ " WHERE SALE_ORDER = '" + saleOrder + " ' "
+ " AND LINE_NO = '" + lineNo + "' "
+ " AND EXP_LEV = '" + expLev + "' "
+ " AND ITEM_CODE = '" + itemCode + "' "
+ " AND LOT_NO = '" + lotNo + "' "
+ " AND LOT_SL = '" + lotSl + "' "
+ " AND LOC_CODE = '" + locCode + "' " ;
System.out.println("updateSql:::>>>>"+ updateSql);
st.executeUpdate(updateSql);
System.out.println("UPDATE SUCCESS FOR SORDALLOC....");
SqlQtyAlloc = "SELECT QTY_ALLOC FROM SORDALLOC "
+ " WHERE SALE_ORDER = '" + saleOrder + " ' "
+ " AND LINE_NO = '" + lineNo + "' "
+ " AND EXP_LEV = '" + expLev + "' "
+ " AND ITEM_CODE = '" + itemCode + "' "
+ " AND LOT_NO = '" + lotNo + "' "
+ " AND LOT_SL = '" + lotSl + "' "
+ " AND LOC_CODE = '" + locCode + "' " ;
rsQtyAlloc = st.executeQuery(SqlQtyAlloc);
if (rsQtyAlloc.next())
{
System.out.println("Updated Allocated Qty :::"+rsQtyAlloc.getDouble(1));
if(rsQtyAlloc.getDouble(1)<=0)
{
DelQtyAlloc = "DELETE FROM SORDALLOC"
+ " WHERE SALE_ORDER = '" + saleOrder + " ' "
+ " AND LINE_NO = '" + lineNo + "' "
+ " AND EXP_LEV = '" + expLev + "' "
+ " AND ITEM_CODE = '" + itemCode + "' "
+ " AND LOT_NO = '" + lotNo + "' "
+ " AND LOT_SL = '" + lotSl + "' "
+ " AND LOC_CODE = '" + locCode + "' " ;
System.out.println("DelQtyAlloc:::"+DelQtyAlloc);
st.executeUpdate(DelQtyAlloc);
System.out.println("Delete completed ");
}
}
rsQtyAlloc.close();
/*sql = "SELECT DESP_ID FROM DESPATCHDET WHERE SORD_NO = ? AND LINE_NO__SORD = ? AND EXP_LEV = ? " +
" D.DESP_ID = (SELECT REF_ID FROM WAVE_TASK_DET WHERE WAVE_ID = ? AND REF_SER ='S-DSP' AND SALE_ORDER = ? ) " +
" AND ITEM_CODE = ? AND LOT_NO = ? AND LOT_SL = ? AND LOC_CODE = ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, saleOrder);
pstmt1.setString(2, lineNo);
pstmt1.setString(3, expLev);
pstmt1.setString(4, waveId);
pstmt1.setString(5, saleOrder);
pstmt1.setString(6, itemCode);
pstmt1.setString(7, lotNo);
pstmt1.setString(8, lotSl);
pstmt1.setString(9, locCode);
rs1 = pstmt1.executeQuery();
if( rs1.next())
{
}*/
sql = "";
sql = " SELECT ( QUANTITY - ?) AS QUANTITY, DESP_ID FROM DESPATCHDET WHERE SORD_NO = ? AND LINE_NO__SORD = ? AND EXP_LEV = ? " +
" AND DESP_ID = (SELECT REF_ID FROM WAVE_TASK_DET WHERE WAVE_ID = ? AND REF_SER = 'S-DSP' AND SALE_ORDER = ? )" +
" AND ITEM_CODE = ? AND LOT_NO = ? AND LOT_SL = ? AND LOC_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, DeallocQty);
pstmt.setString(2, saleOrder);
pstmt.setString(3, lineNo);
pstmt.setString(4, expLev);
pstmt.setString(5, waveId);
pstmt.setString(6, saleOrder);
pstmt.setString(7, itemCode);
pstmt.setString(8, lotNo);
pstmt.setString(9, lotSl);
pstmt.setString(10, locCode);
rs = pstmt.executeQuery();
if( rs.next())
{
quantity = rs.getDouble("QUANTITY");
despId = rs.getString("DESP_ID");
if( quantity <= 0 )
{
sql = "";
sql = " DELETE FROM DESPATCHDET WHERE SORD_NO = ? AND LINE_NO__SORD = ? AND EXP_LEV = ? " +
" AND DESP_ID = (SELECT REF_ID FROM WAVE_TASK_DET WHERE WAVE_ID = ? AND REF_SER = 'S-DSP' AND SALE_ORDER = ? )" +
" AND ITEM_CODE = ? AND LOT_NO = ? AND LOT_SL = ? AND LOC_CODE = ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, saleOrder);
pstmt1.setString(2, lineNo);
pstmt1.setString(3, expLev);
pstmt1.setString(4, waveId);
pstmt1.setString(5, saleOrder);
pstmt1.setString(6, itemCode);
pstmt1.setString(7, lotNo);
pstmt1.setString(8, lotSl);
pstmt1.setString(9, locCode);
if ( pstmt1.executeUpdate() > 0 )
{
System.out.println(despId+" deleted successfully ");
}
pstmt1.close(); pstmt1 = null;
}
else
{
sql = ""; //QUANTITY__STDUOM, QUANTITY_REAL
sql = " UPDATE DESPATCHDET SET QUANTITY = (QUANTITY - ?), QUANTITY__STDUOM = ( QUANTITY__STDUOM - ?), " +
" QUANTITY_REAL = (QUANTITY_REAL - ? ) WHERE SORD_NO = ? AND LINE_NO__SORD = ? AND EXP_LEV = ? " +
" AND DESP_ID = (SELECT REF_ID FROM WAVE_TASK_DET WHERE WAVE_ID = ? AND REF_SER = 'S-DSP' AND SALE_ORDER = ? )" +
" AND ITEM_CODE = ? AND LOT_NO = ? AND LOT_SL = ? AND LOC_CODE = ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setDouble(1, DeallocQty);
pstmt1.setDouble(2, DeallocQty);
pstmt1.setDouble(3, DeallocQty);
pstmt1.setString(4, saleOrder);
pstmt1.setString(5, lineNo);
pstmt1.setString(6, expLev);
pstmt1.setString(7, waveId);
pstmt1.setString(8, saleOrder);
pstmt1.setString(9, itemCode);
pstmt1.setString(10, lotNo);
pstmt1.setString(11, lotSl);
pstmt1.setString(12, locCode);
if ( pstmt1.executeUpdate() > 0 )
{
System.out.println(despId+" updated successfully ");
}
pstmt1.close(); pstmt1 = null;
}
}
rs.close();rs = null;
pstmt.close(); pstmt = null;
}
st.close();
invallocTraceMap.clear();
conn.commit();
}
catch(Exception e)
{
System.out.println("Exception :" + e);
errString = e.getMessage();
e.printStackTrace();
try
{
conn.rollback();
}
catch(Exception e1)
{
e = e1;
}
return errString ;
}
finally
{
try
{
if(conn != null)
{
if( rs != null)
{
rs.close(); rs = null;
}
if( pstmt != null )
{
pstmt.close(); pstmt = null;
}
if(st != null)
{
st.close();
st = null;
}
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
}
}
return errString;
}
//Checking where parent repl exist
private HashMap isReplIssueDone(String pickOrder, int pickOrderLine, Connection conn) throws ITMException
{
String sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
boolean isRepl = false;
HashMap replOrder = new HashMap();
String tempReplOrder = "";
try
{
sql = "SELECT REPL_ORDER FROM PICK_ORD_DET WHERE PICK_ORDER = ? AND LINE_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, pickOrder);
pstmt.setInt(2, pickOrderLine);
rs = pstmt.executeQuery();
if( rs.next() )
{
tempReplOrder = checkNull(rs.getString("REPL_ORDER"));
}
if( tempReplOrder.trim().length() > 0 )
{
replOrder.put("isRepl", "YES");
replOrder.put("repl_order", rs.getString("REPL_ORDER"));
}
else
{
replOrder.put("isRepl", "NO");
replOrder.put("repl_order", "");
}
rs.close();rs = null;
pstmt.close(); pstmt = null;
System.out.println(" is replOrder exist ["+replOrder+"]");
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return replOrder;
}
private HashMap isParentExist(String replOrder, Connection conn) throws ITMException
{
String sql = "";
String pickOrder = "";
String confirmed = "";
PreparedStatement pstmt = null, pstmt1 = null, pstmt2 = null;
ResultSet rs = null, rs1 = null, rs2 = null;
HashMap parentExist = new HashMap();
try
{
sql = "SELECT PICK_ORDER FROM REPL_ORD_DET WHERE REPL_ORDER = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, replOrder);
rs = pstmt.executeQuery();
if( rs.next() )
{
pickOrder = checkNull(rs.getString("PICK_ORDER"));
}
if( pickOrder.trim().length() > 0)
{
parentExist.put("paren_exist", "YES");
parentExist.put("pick_order", pickOrder);
}
else
{
parentExist.put("paren_exist", "NO");
parentExist.put("pick_order", " ");
}
rs.close();rs = null;
pstmt.close(); pstmt = null;
/*if( pickOrder.trim().length() > 0 )
{*/
/*parentExist.put("paren_exist", "YES");
parentExist.put("pick_order", pickOrder);*/
sql = "";
sql = " SELECT RID.REPL_ORDER, RIH.CONFIRMED, RID.ITEM_CODE, RID.LOT_NO, RID.LOT_SL, RID.LOC_CODE__TO, RID.LOC_CODE " +
" FROM REPL_ISS_DET RID, REPL_ISS_HDR RIH WHERE RIH.REPL_ORDER = ? " +
" AND RIH.TRAN_ID = RID.TRAN_ID ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, replOrder);
rs1 = pstmt1.executeQuery();
if( rs1.next() )
{
confirmed = checkNull(rs1.getString("CONFIRMED"));
System.out.println( replOrder+" is confirmed ["+confirmed+"]");
if("Y".equalsIgnoreCase(confirmed))
{
parentExist.put("confirmed", confirmed);
parentExist.put("item_code", rs1.getString("ITEM_CODE"));
parentExist.put("lot_no", rs1.getString("LOT_NO"));
parentExist.put("lot_sl", rs1.getString("LOT_SL"));
parentExist.put("loc_code__to", rs1.getString("LOC_CODE__TO"));
}
else
{
parentExist.put("confirmed", "N");
parentExist.put("item_code", rs1.getString("ITEM_CODE"));
parentExist.put("lot_no", rs1.getString("LOT_NO"));
parentExist.put("lot_sl", rs1.getString("LOT_SL"));
parentExist.put("loc_code__to", rs1.getString("LOC_CODE"));
}
}
else
{
//Getting record from repl_order
sql = "";
sql = " SELECT ITEM_CODE, LOC_CODE, LOT_NO, LOT_SL FROM REPL_ORD_DET WHERE REPL_ORDER = ? ";
pstmt2 = conn.prepareStatement(sql);
pstmt2.setString(1, replOrder);
rs2 = pstmt2.executeQuery();
if( rs2.next() )
{
parentExist.put("item_code", rs2.getString("ITEM_CODE"));
parentExist.put("lot_no", rs2.getString("LOT_NO"));
parentExist.put("lot_sl", rs2.getString("LOT_SL"));
parentExist.put("loc_code__to", rs2.getString("LOC_CODE"));
}
parentExist.put("confirmed", "N");
rs2.close();rs2 = null;
pstmt2.close();pstmt2 = null;
}
rs1.close();rs1 = null;
pstmt1.close(); pstmt1 = null;
//}
/*else
{*/
//}
System.out.println(" parentExist --> "+parentExist);
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs != null)
{
rs.close();rs = null;
}
if( rs1 != null)
{
rs1.close(); rs1 = null;
}
if( rs2 != null)
{
rs2.close(); rs2 = null;
}
if( pstmt != null)
{
pstmt.close(); pstmt = null;
}
if( pstmt1 != null )
{
pstmt1.close(); pstmt1 = null;
}
if( pstmt2 != null )
{
pstmt2.close(); pstmt2 = null;
}
}
catch(Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
}
return parentExist;
}
// Updating repl order
private int updateReplOrder(String replOrder, String siteCode, String itemCode, String locCode, String lotNo, String lotSl, double DeallocQty, Connection conn) throws ITMException
{
String sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
int update = 0;
try
{
//sql = "";
sql = "UPDATE REPL_ORD_DET SET ACTUAL_QTY = ( ACTUAL_QTY + ?) WHERE REPL_ORDER = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, DeallocQty );
pstmt.setString(2, replOrder);
//pstmt2.setInt(3, pickLineNo);
update = pstmt.executeUpdate();
if( update > 0 )
{
System.out.println(replOrder+" repl_order updated successfully ");
}
pstmt.close();pstmt = null;
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if( pstmt != null)
{
pstmt.close(); pstmt = null;
}
}
catch(Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
}
return update;
}
private int updatePickOrder(String pickOrder, int pickLineNo, double DeallocQty, Connection conn) throws ITMException
{
String sql = "";
PreparedStatement pstmt = null;
ResultSet rs = null;
int update = 0;
try
{
sql = "UPDATE PICK_ORD_DET SET NO_ART = ( NO_ART - 1), QUANTITY = (QUANTITY - ?) WHERE PICK_ORDER = ? AND LINE_NO = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, DeallocQty );
pstmt.setString(2, pickOrder);
pstmt.setInt(3, pickLineNo);
update = pstmt.executeUpdate();
if( update > 0 )
{
System.out.println(pickOrder+" pick_order updated successfully ");
}
pstmt.close();pstmt = null;
sql = "UPDATE PICK_ISS_DET SET NO_ART = ( NO_ART - 1), QUANTITY = (QUANTITY - ?) WHERE PICK_ORDER = ? AND LINE_NO__ORD = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, DeallocQty );
pstmt.setString(2, pickOrder);
pstmt.setInt(3, pickLineNo);
update = pstmt.executeUpdate();
if( update > 0 )
{
System.out.println(pickOrder+" pick_order updated successfully ");
}
pstmt.close();pstmt = null;
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if( pstmt != null)
{
pstmt.close(); pstmt = null;
}
}
catch(Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
}
return update;
}
}
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.ejb.ActionHandlerLocal;
import ibase.webitm.utility.ITMException;
@javax.ejb.Local
public interface DeallocArtConfLocal extends ActionHandlerLocal
{
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.ActionHandlerRemote;
@javax.ejb.Remote
public interface DeallocArtConfRemote extends ActionHandlerRemote
{
public String confirm(String tranId, String xtraParams, String forcedFlag) throws RemoteException,ITMException;
}
\ No newline at end of file
/**
* PURPOSE : Validation and Item Change implementation for carton deallocation component.
* AUTHOR : Sumit
* Date: 02/1/13
*/
package ibase.webitm.ejb.wms;
import java.io.*;
import java.rmi.RemoteException;
import java.sql.*;
import java.text.*;
import java.util.*;
import java.util.Date;
import javax.ejb.*;
import javax.naming.InitialContext;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import ibase.ejb.*;
import ibase.system.config.*;
//import ibase.utility.BaseLogger;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
@javax.ejb.Stateless
public class DeallocArtIC extends ValidatorEJB implements DeallocArtICRemote, DeallocArtICLocal
{
/**
* The method is defined without any parameter and returns blank string
*/
public String wfValData() throws RemoteException,ITMException
{
return "";
}
/**
* The public method is used for converting the current form data into a document(DOM)
* The currDom is then given as argument to the overloaded function wfValData to perform validation
* Returns validation string if exists else returns null in XML format
* @param currFrmXmlStr contains the current form data in XML format
* @param hdrFrmXmlStr contains all the header information in the XML format
* @param allFrmXmlStr contains the data of all the forms in XML format
* @param objContext represents the form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(String currFrmXmlStr, String hdrFrmXmlStr,String allFrmXmlStr, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
Document currDom = null;
Document hdrDom = null;
Document allDom = null;
String errString = "";
try
{
System.out.println("currFrmXmlStr :: "+ currFrmXmlStr);
System.out.println("hdrFrmXmlStr :: "+ hdrFrmXmlStr);
System.out.println("allFrmXmlStr :: "+ allFrmXmlStr);
if(currFrmXmlStr != null && currFrmXmlStr.trim().length()!=0)
{
currDom = parseString(currFrmXmlStr);
}
if(hdrFrmXmlStr != null && hdrFrmXmlStr.trim().length()!=0)
{
hdrDom = parseString(hdrFrmXmlStr);
}
if(allFrmXmlStr != null && allFrmXmlStr.trim().length()!=0)
{
allDom = parseString(allFrmXmlStr);
}
errString = wfValData(currDom,hdrDom,allDom,objContext,editFlag,xtraParams);
}
catch(Exception e)
{
System.out.println("Exception : [DeallocArtIC][wfValData(String xmlCurrFrmString)] : ==>\n"+e.getMessage());
throw new ITMException(e);
}
return (errString);
}
/**
* The public overloaded method takes a document as input and is used for the validation of specified fields
* Returns validation string if exist otherwise returns null in XML format
* @param currDom contains the current form data as a document object model
* @param hdrDom contains all the header information
* @param allDom contains the field data of all the forms
* @param objContext represents form number
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException, ITMException
{
String errString = "";
String siteCode = "";
ResultSet rs = null, rs1 = null;
//ResultSet rsInner = null;
Connection conn = null;
PreparedStatement pstmt = null, pstmt1 = null;
//PreparedStatement pstmtInner = null;
System.out.println("obj context::"+objContext);
System.out.println("edit flg::"+editFlag);
System.out.println("xtraparm::"+xtraParams);
GenericUtility genericUtility = GenericUtility.getInstance();
StringBuffer errStringXml = new StringBuffer("<?xml version=\"1.0\"?>\r\n<Root><Errors>");
String errorType = "", errCode = "";
ArrayList errList = new ArrayList();
ArrayList errFields = new ArrayList();
String holdStatus = "N";
String cancelStatus = "N";
try
{
String columnValue = "";
String sql = "";
//String tranID = "";
String ptcn = "";
String cartonNo = "";
int currentFormNo = 0, cnt = 0, count = 0;
ConnDriver connDriver = null;
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
NodeList parentList = null;
NodeList childList = null;
int noOfChilds = 0;
String childNodeName = "";
Node childNode =null;
String userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
if ( objContext != null && objContext.trim().length() > 0 )
{
currentFormNo = Integer.parseInt( objContext );
}
switch(currentFormNo)
{
case 1 :
{
parentList = currDom.getElementsByTagName( "Detail" + currentFormNo );
System.out.println("parent list="+parentList);
childList = parentList.item( 0 ).getChildNodes();
System.out.println("child list"+childList);
noOfChilds = childList.getLength();
for (int ctr = 0; ctr < noOfChilds; ctr++)
{
childNode = childList.item( ctr );
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
if ( childNode != null && childNode.getFirstChild() != null )
{
columnValue = childNode.getFirstChild().getNodeValue();
}
System.out.println(" columnName [" + childNodeName + "] columnValue [" + columnValue + "]");
if ( "ptcn".equalsIgnoreCase( childNodeName ) )
{
ptcn = genericUtility.getColumnValue("ptcn", currDom );
if( ptcn == null || ptcn.trim().length() == 0 )
{
errList.add( "NULLPTCNID" );
errFields.add( childNodeName.toLowerCase() );
}
sql = "SELECT DISTINCT CASE WHEN H.HOLD_STATUS IS NULL THEN 'N' ELSE H.HOLD_STATUS END AS HOLD_STATUS , "
+ " CASE WHEN H.CANCEL IS NULL THEN 'N' ELSE H.CANCEL END AS CANCEL FROM WAVE_TASK H, WAVE_TASK_DET D "
+ " WHERE H.WAVE_ID = D.WAVE_ID "
+ " AND D.PTCN = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ptcn);
rs = pstmt.executeQuery();
if (rs.next())
{
holdStatus = rs.getString("HOLD_STATUS");
cancelStatus = rs.getString("CANCEL");
if( "N".equalsIgnoreCase(holdStatus) && "N".equalsIgnoreCase(cancelStatus))
{
sql = "";
sql = "SELECT WAVE_ID, PTCN, REF_TYPE FROM WAVE_TASK_DET WHERE PTCN = ? AND REF_TYPE IN (?,?) ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, ptcn);
pstmt1.setString(2, "C");
pstmt1.setString(3, "M");
rs1 = pstmt1.executeQuery();
if( !rs1.next())
{
errList.add( "INVPTCNCAP" ); //do not have case pick task in this ptcn
errFields.add( childNodeName.toLowerCase() );
break;
}
rs1.close(); rs1 = null;
pstmt1.close(); pstmt1 = null;
if("A".equalsIgnoreCase(editFlag))
{
sql= "";
sql = " SELECT CM.CARTON_NO, POD.SALE_ORDER, POD.LINE_NO__SORD, CM.PICK_ORDER, CM.LINE_NO__PICK, " +
" POD.ITEM_CODE, POD.LOC_CODE, POD.LOT_NO, POD.LOT_SL, WTD.WAVE_ID, POH.PICK_TYPE " +
" FROM CARTON_MASTER CM, PICK_ORD_DET POD , PICK_ORD_HDR POH, WAVE_TASK_DET WTD WHERE CM.PTCN = ? " +
" AND CM.PICK_ORDER = POD.PICK_ORDER AND POH.PICK_ORDER = POD.PICK_ORDER " +
" AND CM.LINE_NO__PICK = POD.LINE_NO AND WTD.PTCN = CM.PTCN " +
" AND WTD.REF_ID = CM.PICK_ORDER AND POH.PICK_TYPE IN (?,?) " +
" AND ( FN_CHECK_DEALLOC_ARTDET(CM.PTCN, CM.CARTON_NO ) = 0 ) "+
" AND CM.STATUS <> ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, ptcn);
pstmt1.setString(2, "C");
pstmt1.setString(3, "M");
pstmt1.setString(4, "R");
rs1 = pstmt1.executeQuery();
if( !rs1.next() )
{
errList.add( "INVPTCASAD" ); //do not have case pick task in this ptcn
errFields.add( childNodeName.toLowerCase() );
break;
}
rs1.close(); rs1 = null;
pstmt1.close(); pstmt1 = null;
}
}
}
else
{
errList.add( "INVPTCNID" ); //invalid ptcn
errFields.add( childNodeName.toLowerCase() );
}
System.out.println(" holdStatus ["+holdStatus+"] cancelStatus ["+cancelStatus+"]");
if( "Y".equalsIgnoreCase(holdStatus) || "Y".equalsIgnoreCase(cancelStatus))
{
errList.add( "INVPTCNCAN" ); // ptcn is on hold or cancel
errFields.add( childNodeName.toLowerCase() );
}
else
{
sql = " SELECT D.CONFIRMED FROM DESPATCH D, WAVE_TASK_DET W " +
" WHERE W.PTCN = ? AND D.WAVE_ID = W.WAVE_ID AND W.REF_ID = D.DESP_ID";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, ptcn);
rs1 = pstmt1.executeQuery();
if(rs1.next())
{
System.out.println(" confirmed ["+rs1.getString("CONFIRMED")+"]");
if("Y".equalsIgnoreCase(rs1.getString("CONFIRMED")))
{
errList.add( "INVPTCNDSP" ); // Despatch already confirmed for this ptcn
errFields.add( childNodeName.toLowerCase() );
}
}
rs1.close(); rs1 = null;
pstmt1.close(); pstmt1 = null;
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if( rs1 != null )
{
rs1.close();
rs1 = null;
}
if( pstmt1 != null )
{
pstmt1.close(); pstmt1 = null;
}
}
}// for loop end
}//case 1 end
break;
case 2 : //for hdr win val....
{
parentList = currDom.getElementsByTagName( "Detail" + currentFormNo );
childList = parentList.item( 0 ).getChildNodes();
noOfChilds = childList.getLength();
for (int ctr = 0; ctr < noOfChilds; ctr++)
{
childNode = childList.item( ctr );
if( childNode.getNodeType() != Node.ELEMENT_NODE )
{
continue;
}
childNodeName = childNode.getNodeName();
if ( childNode != null && childNode.getFirstChild() != null )
{
columnValue = childNode.getFirstChild().getNodeValue();
}
System.out.println(" * columnName [" + childNodeName + "] columnValue [" + columnValue + "]");
if ( "carton_no".equalsIgnoreCase( childNodeName ) )
{
cartonNo = genericUtility.getColumnValue("carton_no", currDom );
ptcn = checkNull(genericUtility.getColumnValue("ptcn", hdrDom ));
System.out.println(" cartonNo ["+cartonNo+"] ptcn["+ptcn+"]");
if( cartonNo == null || cartonNo.trim().length() == 0 )
{
errList.add( "NULLTRANDT" );
errFields.add( childNodeName.toLowerCase() );
}
else
{
sql = "";
sql = " SELECT C.CARTON_NO, C.STATUS, C.PTCN, W.CANCEL FROM CARTON_MASTER C, WAVE_TASK W , WAVE_TASK_DET WT " +
" WHERE C.CARTON_NO = ? AND C.CARTON_TYPE = 'C' AND W.WAVE_ID = WT.WAVE_ID AND WT.REF_ID = C.PICK_ORDER ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, cartonNo);
rs = pstmt.executeQuery();
if (rs.next())
{
System.out.println(" ptcn ["+rs.getString("PTCN")+"] STATUS["+rs.getString("STATUS")+"] CANCEL ["+rs.getString("CANCEL")+"]");
if("R".equalsIgnoreCase(rs.getString("STATUS")))
{
errList.add( "INVCARTON2" );
errFields.add( childNodeName.toLowerCase() );
break;
}
else if( !ptcn.equalsIgnoreCase(rs.getString("PTCN")))
{
errList.add( "INVPTCNCAR" );
errFields.add( childNodeName.toLowerCase() );
break;
}
else if( "Y".equalsIgnoreCase(rs.getString("CANCEL")))
{
errList.add( "INVCARTON3" );
errFields.add( childNodeName.toLowerCase() );
break;
}
else
{
sql ="";
sql = " SELECT C.CARTON_NO, C.PICK_ORDER,C.LINE_NO__PICK, PH.PICK_TYPE, PD.ITEM_CODE, PD.QUANTITY, C.PTCN " +
" FROM CARTON_MASTER C , PICK_ORD_HDR PH, PICK_ORD_DET PD " +
" WHERE C.CARTON_NO = ? AND PD.PICK_ORDER = C.PICK_ORDER AND PD.LINE_NO = C.LINE_NO__PICK " +
" AND PD.PICK_ORDER = PH.PICK_ORDER AND PH.PICK_TYPE IN (?,?) " +
" AND ( FN_CHECK_DEALLOC_ARTDET(C.PTCN, C.CARTON_NO ) = 1 )";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, cartonNo);
pstmt1.setString(2, "C");
pstmt1.setString(3, "M");
rs1 = pstmt1.executeQuery();
if (rs1.next())
{
errList.add( "INVCARALEX" );
errFields.add( childNodeName.toLowerCase() );
break;
}
rs1.close(); rs1= null;
pstmt1.close(); pstmt1 = null;
}
}
else
{
errList.add( "INVCARTON1" );
errFields.add( childNodeName.toLowerCase() );
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(rs1 != null)
{
rs1.close(); rs1 = null;
}
if(pstmt1 != null)
{
pstmt1.close(); pstmt1 =null;
}
/*
sql = "";
sql = " SELECT CM.CARTON_NO, CM.STATUS, CM.PTCN FROM CARTON_MASTER CM , PICK_ISS_DET PID , PICK_ISS_HDR PIH "+
" WHERE CM.CARTON_NO = ? AND PIH.TRAN_ID = PID.TRAN_ID AND PIH.PICK_ORDER = PID.PICK_ORDER "+
" AND CM.PICK_ORDER = PID.PICK_ORDER AND CM.LINE_NO__PICK = PID.LINE_NO__ORD AND PIH.CONFIRMED = 'Y' ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, cartonNo);
rs = pstmt.executeQuery();
if( !rs.next())
{
errList.add( "INVPICKISS" );
errFields.add( childNodeName.toLowerCase() );
break;
}
rs.close();rs = null;
pstmt.close(); pstmt = null;
*/
ArrayList arrayList = new ArrayList();
arrayList = checkDuplicateCarton(allDom);
Set s = new HashSet(arrayList);
System.out.println("Size of arrayList ["+arrayList.size()+"]");
System.out.println("Size of Set ["+s.size()+"]");
if(s.size() < arrayList.size())
{
errList.add( "DUPCARTONN" );
errFields.add( childNodeName.toLowerCase() );
break;
}
}
}
/*else if ( "pick_order".equalsIgnoreCase( childNodeName ) )
{
siteCode = genericUtility.getColumnValue("pick_order", currDom );
if( siteCode == null || siteCode.trim().length() == 0 )
{
errList.add( "NULLSITECD" );
errFields.add( childNodeName.toLowerCase() );
}
sql = "SELECT COUNT(*) AS COUNT FROM SITE WHERE SITE_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if (rs.next())
{
cnt = rs.getInt("COUNT");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if(cnt == 0)
{
errList.add( "INVSITECD" );
errFields.add( childNodeName.toLowerCase() );
}
}*/
}// for loop end
}//case 2 end
break;
} //switch end
int errListSize = errList.size();
cnt =0;
String errFldName = null;
if ( errList != null && errListSize > 0 )
{
for (cnt = 0; cnt < errListSize; cnt++ )
{
errCode = (String)errList.get(cnt);
errFldName = (String)errFields.get(cnt);
System.out.println("errCode .........."+errCode);
//String errMsg = hashMap.get(errCode)!=null ? hashMap.get(errCode).toString():"";
//System.out.println("errMsg .........."+errMsg);
errString = getErrorString( errFldName, errCode, userId );
errorType = errorType( conn , errCode );
if ( errString.length() > 0)
{
String bifurErrString = errString.substring( errString.indexOf("<Errors>") + 8,errString.indexOf("<trace>"));
bifurErrString =bifurErrString;//+"<trace>"+errMsg+"</trace>";
bifurErrString =bifurErrString+errString.substring( errString.indexOf("</trace>") + 8,errString.indexOf("</Errors>"));
errStringXml.append(bifurErrString);
System.out.println("errStringXml .........."+errStringXml);
errString = "";
}
if ( errorType.equalsIgnoreCase("E"))
{
break;
}
}
errList.clear();
errList = null;
errFields.clear();
errFields = null;
errStringXml.append("</Errors></Root>\r\n");
}
else
{
errStringXml = new StringBuffer( "" );
}
errString = errStringXml.toString();
}//try block end
catch(Exception e)
{
System.out.println("Exception in DeallocArtIC == >");
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if (rs1 != null)
{
rs1.close();
rs1 = null;
}
if (pstmt1 != null)
{
pstmt1.close();
pstmt1 = null;
}
if( conn != null && ! conn.isClosed() )
{
conn.close();
conn = null;
}
}
catch(Exception e)
{
System.out.println( "Exception :DeallocArtIC:wfValData :==>\n"+e.getMessage());
throw new ITMException(e);
}
}
return errString;
}
private String errorType( Connection conn , String errorCode ) throws ITMException
{
String msgType = "";
PreparedStatement pstmt = null ;
ResultSet rs = null;
try
{
String sql = " SELECT MSG_TYPE FROM MESSAGES WHERE MSG_NO = ? ";
pstmt = conn.prepareStatement( sql );
pstmt.setString(1, errorCode);
rs = pstmt.executeQuery();
while( rs.next() )
{
msgType = rs.getString("MSG_TYPE");
}
}
catch (Exception ex)
{
ex.printStackTrace();
throw new ITMException(ex);
}
finally
{
try
{
if ( rs != null )
{
rs.close();
rs = null;
}
if ( pstmt != null )
{
pstmt.close();
pstmt = null;
}
}
catch ( Exception e )
{
e.printStackTrace();
throw new ITMException(e);
}
}
return msgType;
}
// Item Change Functionality. Start.
/**
* The public method is defined without any parameters and returns blank string
*/
public String itemChanged() throws RemoteException, ITMException
{
return "";
}
/**
* The public method is used for converting the current form data into a document(dom)
* The currDom is then given as argument to the overloaded function wfValData to perform validation
* Returns validation string if exists else returns null in XML format
* @param currFrmXmlStr contains the current form data in XML format
* @param hdrFrmXmlStr contains all the header information in the XML format
* @param allFrmXmlStr contains the data of all the forms in XML format
* @param objContext represents the form number
* @param currentColumn represents the value of current field.
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information such as loginEmpCode,loginCode,chgTerm etc
*/
public String itemChanged(String currFrmXmlStr, String hdrFrmXmlStr, String allFrmXmlStr, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException, ITMException
{
Document currDom = null;
Document hdrDom = null;
Document allDom = null;
String errString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
System.out.println("currFrmXmlStr :: "+ currFrmXmlStr);
System.out.println("hdrFrmXmlStr :: "+ hdrFrmXmlStr);
System.out.println("allFrmXmlStr :: "+ allFrmXmlStr);
if (currFrmXmlStr != null && currFrmXmlStr.trim().length()!=0)
{
currDom = genericUtility.parseString(currFrmXmlStr);
}
if (hdrFrmXmlStr != null && hdrFrmXmlStr.trim().length()!=0)
{
hdrDom = genericUtility.parseString(hdrFrmXmlStr);
}
if (allFrmXmlStr != null && allFrmXmlStr.trim().length()!=0)
{
allDom = genericUtility.parseString(allFrmXmlStr);
}
errString = itemChanged( currDom, hdrDom, allDom, objContext, currentColumn, editFlag, xtraParams );
System.out.println ( "ErrString :" + errString);
}
catch (Exception e)
{
System.out.println ( "Exception : DeallocArtIC :defaul_ItemChanged(String,String):" + e.getMessage() + ":" );
errString = genericUtility.createErrorString(e);
throw new ITMException(e);
}
System.out.println ( "returning from DeallocArtIC default_Itemchanged" );
return errString;
}
/**
* The public overloaded method takes a document as input and is used for the validation of required fields
* Returns validation string if exist otherwise returns null in XML format
* @param currDom contains the current form data as a document object model
* @param hdrDom contains all the header information
* @param allDom contains the field data of all the forms
* @param objContext represents form number
* @param currentColumn represents the current field
* @param editFlag represents the mode of transaction(A-Add or E-Edit)
* @param xtraParams contains additional information
*
*/
public String itemChanged( Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams ) throws RemoteException,ITMException
{
String sql = "";
String sql1 = "";
String ptcn = "";
String siteCode = "";
String siteDescr = "";
String tranID = "";
String saleOrder ="";
String empCodeAprv = "";
String tranDate = "";
String confDate = "";
String pickOrder = "";
String CartonNo = "";
int lineNo = 0;
int count= 0;
int currentFormNo = 0;
int domID = 0;
double quantity = 0d;
ResultSet rs = null;
Connection conn = null;
PreparedStatement pstmt = null;
ResultSet rs1 = null;
PreparedStatement pstmt1 = null;
StringBuffer valueXmlString = new StringBuffer();
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
String userId = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "loginCode" );
String chgTerm = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" );
DateFormat dateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
String dbDateFormat = genericUtility.getDBDateFormat();
String applDateFormat = genericUtility.getApplDateFormat();
ConnDriver connDriver = null;
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
if( objContext != null && objContext.trim().length() > 0 )
{
currentFormNo = Integer.parseInt( objContext );
}
System.out.println(" currentColumn ["+currentColumn+"]");
valueXmlString = new StringBuffer( "<?xml version=\"1.0\"?>\r\n<Root>\r\n<Header>\r\n<editFlag>" );
valueXmlString.append( editFlag ).append( "</editFlag>\r\n</Header>\r\n" );
switch ( currentFormNo )
{
case 1:
{
valueXmlString.append( "<Detail1>\r\n" );
if( currentColumn.trim().equalsIgnoreCase( "itm_default" ) )
{
}
else if("ptcn".equalsIgnoreCase(currentColumn.trim()))
{
ptcn = genericUtility.getColumnValue( "ptcn", currDom );
System.out.println(" ptcn ["+ptcn+"]");
sql = " SELECT WAVE_ID FROM WAVE_TASK_DET WHERE PTCN = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ptcn);
rs = pstmt.executeQuery();
if( rs.next())
{
valueXmlString.append( "<wave_id><![CDATA[" ).append( rs.getString("WAVE_ID") ).append( "]]></wave_id>\r\n" );
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
}
valueXmlString.append( "</Detail1>\r\n" );
}
break;
case 2:
{
if( currentColumn.trim().equalsIgnoreCase( "itm_default" ) )
{
/*ptcn = genericUtility.getColumnValue( "ptcn", hdrDom ); in
System.out.println(" ** ptcn ["+ptcn+"]");
sql = " SELECT C.CARTON_NO, C.PICK_ORDER,C.LINE_NO__PICK, PH.PICK_TYPE, PD.ITEM_CODE, PD.QUANTITY, C.PTCN " +
" FROM CARTON_MASTER C , PICK_ORD_HDR PH, PICK_ORD_DET PD " +
" WHERE C.PTCN = ? " +
" AND PD.PICK_ORDER = C.PICK_ORDER " +
" AND PD.LINE_NO = C.LINE_NO__PICK " +
" AND PD.PICK_ORDER = PH.PICK_ORDER " +
" AND ( FN_CHECK_DEALLOC_ARTDET(C.PTCN, C.CARTON_NO ) = 0 ) " +
" AND PH.PICK_TYPE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, ptcn );
pstmt.setString(2, "C");
rs = pstmt.executeQuery();
if( rs.next())
{
HashMap itmVolumeMap = getItemVoumeMap(rs.getString("ITEM_CODE"),"",conn);
double packSizeActive = (Double)itmVolumeMap.get("PACK_SIZE");
valueXmlString.append("<Detail2>\r\n");
valueXmlString.append( "<carton_no><![CDATA[" ).append( rs.getString("CARTON_NO") ).append( "]]></carton_no>\r\n" );
valueXmlString.append( "<item_code><![CDATA[" ).append( rs.getString("ITEM_CODE") ).append( "]]></item_code>\r\n" );
valueXmlString.append( "<pick_order><![CDATA[" ).append( rs.getString("PICK_ORDER") ).append( "]]></pick_order>\r\n" );
valueXmlString.append( "<line_no__pick><![CDATA[" ).append( rs.getString("LINE_NO__PICK") ).append( "]]></line_no__pick>\r\n" );
//valueXmlString.append( "<quantity><![CDATA[" ).append( rs.getString("QUANTITY") ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<quantity><![CDATA[" ).append( packSizeActive ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<pick_type><![CDATA[" ).append( rs.getString("PICK_TYPE") ).append( "]]></pick_type>\r\n" );
valueXmlString.append( "</Detail2>\r\n" );
}
rs.close(); rs = null;
pstmt.close();pstmt = null; */
}
else if( "carton_no".equalsIgnoreCase(currentColumn.trim()))
{
CartonNo = genericUtility.getColumnValue( "carton_no", currDom );
System.out.println(" CartonNo ["+CartonNo+"] ");
sql = "SELECT C.CARTON_NO, C.PICK_ORDER,C.LINE_NO__PICK, PH.PICK_TYPE, PD.ITEM_CODE, PD.QUANTITY, C.PTCN " +
" FROM CARTON_MASTER C , PICK_ORD_HDR PH, PICK_ORD_DET PD " +
" WHERE C.CARTON_NO = ? " +
" AND PD.PICK_ORDER = C.PICK_ORDER " +
" AND PD.LINE_NO = C.LINE_NO__PICK " +
" AND PD.PICK_ORDER = PH.PICK_ORDER " +
" AND ( FN_CHECK_DEALLOC_ARTDET(C.PTCN, C.CARTON_NO ) = 0 ) "+
" AND PH.PICK_TYPE IN (?,?) AND C.CARTON_TYPE = 'C'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, CartonNo );
pstmt.setString(2, "C");
pstmt.setString(3, "M");
rs = pstmt.executeQuery();
if( rs.next())
{
HashMap itmVolumeMap = getItemVoumeMap(rs.getString("ITEM_CODE"),"",conn);
double packSizeActive = (Double)itmVolumeMap.get("PACK_SIZE");
valueXmlString.append("<Detail2>\r\n");
valueXmlString.append( "<item_code><![CDATA[" ).append( rs.getString("ITEM_CODE") ).append( "]]></item_code>\r\n" );
valueXmlString.append( "<pick_order><![CDATA[" ).append( rs.getString("PICK_ORDER") ).append( "]]></pick_order>\r\n" );
valueXmlString.append( "<line_no__pick><![CDATA[" ).append( rs.getString("LINE_NO__PICK") ).append( "]]></line_no__pick>\r\n" );
//valueXmlString.append( "<quantity><![CDATA[" ).append( rs.getString("QUANTITY") ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<quantity><![CDATA[" ).append( packSizeActive ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<pick_type><![CDATA[" ).append( rs.getString("PICK_TYPE") ).append( "]]></pick_type>\r\n" );
valueXmlString.append( "</Detail2>\r\n" );
}
rs.close(); rs = null;
pstmt.close();pstmt = null;
}
}//case 2 end here
break;
}//switch statement ends here
}//try block ends here
catch(Exception e)
{
System.out.println( "Exception :DeallocArtIC :itemChanged(Document,String):" + e.getMessage() + ":" );
valueXmlString = valueXmlString.append( genericUtility.createErrorString( e ) );
throw new ITMException(e);
}
finally
{
try
{
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
if( conn != null && ! conn.isClosed() )
{
conn.close();
}
}
catch(Exception e)
{
System.out.println( "Exception :DeallocArtIC:itemChanged :==>\n"+e.getMessage());
throw new ITMException(e);
}
}
valueXmlString.append( "</Root>\r\n" );
System.out.println( "\n****ValueXmlString :" + valueXmlString.toString() + ":********" );
return valueXmlString.toString();
}
/**
* The function checks whether the input string is null.
* If null, the function returns blank string.
* @param input
*/
private String checkNull( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
return inputVal;
}
/**
* The function checks whether the input string is null.
* If null, the function returns blank string otherwise trim the input string and return.
* @param input
*/
private String checkNullAndTrim( String inputVal )
{
if ( inputVal == null )
{
inputVal = "";
}
else
{
inputVal = inputVal.trim();
}
return inputVal;
}
private ArrayList checkDuplicateCarton(Document dom) throws ITMException
{
ArrayList arryList = new ArrayList();
NodeList parentNodeList = null, childNodeList = null;
Node parentNode = null, childNode = null;
int parentNodeListLength = 0;
String childNodeName = "";
try {
parentNodeList = dom.getElementsByTagName("Detail2");
parentNodeListLength = parentNodeList.getLength();
for (int row = 0; row < parentNodeList.getLength(); row++)
{
parentNode = parentNodeList.item(row);
childNodeList = parentNode.getChildNodes();
System.out.println("************* first For loop *************["+ parentNode.getNodeName() + "]");
for (int col = 0; col < childNodeList.getLength(); col++) {
childNode = childNodeList.item(col);
if (childNode.getNodeType() == childNode.ELEMENT_NODE) {
childNodeName = childNode.getNodeName();
System.out.println("childNodeNamechildNodeName ** ["+childNodeName+"]");
if ("carton_no".equalsIgnoreCase(childNodeName)) {
arryList.add(childNode.getFirstChild().getNodeValue().trim());
System.out.println("=====carton_no-->[" + arryList+ "]");
}
}
}
}
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return arryList;
}
/*private String addSelectedRecToDom( Document allFormDataDom, String detailString ) throws Exception
{
ArrayList selectedList = new ArrayList();
NodeList detailList = null;
Node currDetail = null;
NodeList currDetailList = null;
String selectedVal = "", nodeName = "";
String domIDVal = "";
String updatedDetailDomStr = "";
String attributeVal = "";
String cartonNo = "";
String columnValue = "";
HashMap toUpdateMap = new HashMap();
Node elementName = null;
int currDetailListLength = 0;
int detailListLength = 0;
int selectedValCnt = 0;
GenericUtility genericUtility = GenericUtility.getInstance();
try
{
detailList = allFormDataDom.getElementsByTagName("Detail3");
detailListLength = detailList.getLength();
for ( int ctr = 0; ctr < detailListLength; ctr++ )
{
currDetail = detailList.item(ctr);
currDetailList = currDetail.getChildNodes();
currDetailListLength = currDetailList.getLength();
attributeVal = "";
columnValue = "";
ArrayList toUpdNodeList = new ArrayList();
HashMap dataMap = new HashMap();
for ( int i=0; i< currDetailListLength; i++ )
{
Node childNode = currDetailList.item(i);
nodeName = childNode.getNodeName();
if (nodeName.equalsIgnoreCase("Attribute"))
{
attributeVal = checkNull(currDetailList.item(i).getAttributes().getNamedItem("selected").getNodeValue());
System.out.println("attributeVal =["+attributeVal+"]");
}//if (nodeName = Attribute
else if (nodeName.equalsIgnoreCase("carton_no"))
{
if ( childNode != null && childNode.getFirstChild() != null )
{
cartonNo = childNode.getFirstChild().getNodeValue();
//toUpdNodeList.add( 1, childNode );
dataMap.put("carton_no", childNode);
}
}
}//End of inner for loop
if ( "Y".equalsIgnoreCase(attributeVal.trim()) )
{
if ( currDetail.getAttributes().getNamedItem( "domID" ) != null )
{
domIDVal = checkNull(currDetail.getAttributes().getNamedItem( "domID" ).getNodeValue());
System.out.println("domIDVal =["+domIDVal+"]");
}
toUpdateMap.put( domIDVal, dataMap );
}
}//End of for loop
System.out.println("toUpdateMap:>>>>>>>>>>>: "+toUpdateMap);
detailList = null;
detailString = detailString + "</Root>\r\n" ;
System.out.println("detailString:>>>>>>>>>>> "+detailString);
Document detailDom = genericUtility.parseString(detailString);
Element elementAttr = null;
detailList = detailDom.getElementsByTagName("Detail3");
detailListLength = detailList.getLength();
for ( int ctr = 0; ctr < detailListLength; ctr++ )
{
currDetail = detailList.item(ctr);
if ( currDetail.getAttributes().getNamedItem( "selected" ) != null )
{
selectedVal = checkNull(currDetail.getAttributes().getNamedItem( "selected" ).getNodeValue());
System.out.println("selectedVal =["+selectedVal+"]");
if ( "N".equalsIgnoreCase(selectedVal.trim()) )
{
if ( currDetail.getAttributes().getNamedItem( "domID" ) != null )
{
//ArrayList aList = null;
HashMap dataMap = new HashMap();
domIDVal = checkNull(currDetail.getAttributes().getNamedItem( "domID" ).getNodeValue());
System.out.println("domIDVal =["+domIDVal+"]");
System.out.println("toUpdateMap.containsKey(domIDVal) =["+toUpdateMap.containsKey(domIDVal)+"]");
if ( toUpdateMap.containsKey(domIDVal) )
{
elementAttr = (Element)currDetail;
elementAttr.setAttribute( "selected" , "Y" );
--not required
Node cartonNoNode = null;
dataMap = (HashMap)toUpdateMap.get(domIDVal);
if ( dataMap.get("carton_no") != null )
{
cartonNoNode = (Node)dataMap.get("carton_no");
}
Node updatedNode = null;
currDetailList = currDetail.getChildNodes();
currDetailListLength = currDetailList.getLength();
for ( int i = 0; i < currDetailListLength; i++ )
{
elementName = currDetailList.item(i);
nodeName = elementName.getNodeName();
if( elementName.getNodeType() != Node.ELEMENT_NODE || nodeName.equalsIgnoreCase("#text") )
{
continue;
}
System.out.println("nodeName =["+nodeName+"]");
if ( nodeName.equalsIgnoreCase("lot_sl") )
{
//System.out.println("LocCodeToNode =["+genericUtility.serializeDom( LocCodeToNode )+"]");
updatedNode = detailDom.importNode(cartonNoNode, true);
//System.out.println("updatedNode =["+genericUtility.serializeDom( updatedNode )+"]");
(detailDom.getElementsByTagName("Detail3").item(ctr)).replaceChild(updatedNode, elementName );
}
}//inner for loop
//End commented gulzar
}//if ( toUpdateMap.containsKey(domIDVal) )
}//if ( currDetail.getAttributes().getNamedItem( "domID" )
}//if ( "N".equalsIgnoreCase(selectedVal.trim()) )
}//if ( currDetail.getAttributes().getNamedItem( "selected" )
}//outer for loop
updatedDetailDomStr = genericUtility.serializeDom( detailDom );
System.out.println("updatedDetailDomStr:>>>>>>>>>>> "+updatedDetailDomStr);
}
catch (Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return updatedDetailDomStr;
}
*/
private HashMap getItemVoumeMap(String itemCode,String lotNo,Connection con)throws Exception
{
double packSize = 0,itemSize = 0,lotSize = 0;
PreparedStatement pstmt = null;
String sql="";
ResultSet rs = null;
double itmLen = 0,itmWidth = 0,itmHeight = 0,itemWeight = 0,lotLen = 0 ,lotHeight = 0,lotWidth = 0,lotWeight = 0;
HashMap dataVolumeMap = new HashMap();
try {
sql = "SELECT I.LENGTH ITEM_LEN,I.WIDTH ITEM_WID,I.HEIGHT ITEM_HEIGHT,I.GROSS_WEIGHT ITEM_WEIGHT,"
+" L.LENGTH LITEM_LEN,L.WIDTH LITEM_WID,L.HEIGHT LITEM_HEIGHT,L.SHIPPER_SIZE SHIPSIZE,L.GROSS_WEIGHT LOT_WEIGHT FROM"
+" ITEM I,ITEM_LOT_PACKSIZE L"
+" WHERE I.ITEM_CODE = L.ITEM_CODE"
+" AND L.LOT_NO__FROM <= ? AND L.LOT_NO__TO >= ?"
+" AND I.ITEM_CODE = ?";
pstmt = con.prepareStatement(sql);
if(lotNo != null && lotNo.length() > 0)
{
pstmt.setString(1, lotNo);
pstmt.setString(2, lotNo);
}
else
{
pstmt.setString(1, "00");
pstmt.setString(2, "ZZ");
}
pstmt.setString(3, itemCode);
rs = pstmt.executeQuery();
if(rs.next())
{
itmLen = rs.getDouble("ITEM_LEN");
itmWidth = rs.getDouble("ITEM_WID");
itmHeight = rs.getDouble("ITEM_HEIGHT");
itemWeight = rs.getDouble("ITEM_WEIGHT");
lotLen = rs.getDouble("LITEM_LEN");
lotWidth = rs.getDouble("LITEM_WID");
lotHeight = rs.getDouble("LITEM_HEIGHT");
packSize = rs.getDouble("SHIPSIZE");
lotWeight = rs.getDouble("LOT_WEIGHT");
}
//packSize = (lotHeight * lotWidth * lotLen)/(itmLen * itmWidth * itmHeight);
/*itemSize = Math.floor(itmLen * itmWidth * itmHeight);
lotSize = Math.floor((lotHeight * lotWidth * lotLen));*/
itemSize = itmLen * itmWidth * itmHeight;
lotSize = lotHeight * lotWidth * lotLen;
dataVolumeMap.put("PACK_SIZE", packSize);
dataVolumeMap.put("ITEM_SIZE", itemSize);
dataVolumeMap.put("LOT_SIZE", lotSize);
dataVolumeMap.put("ITEM_WEIGHT", itemWeight);
dataVolumeMap.put("PACK_WEIGHT", lotWeight);
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
} catch (Exception e) {
throw e;
}
finally
{
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
}
return dataVolumeMap;
}
}
/**
* PURPOSE : Local Interface for
* AUTHOR : Sumit
* Date: 02/1/13
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//The local interface declares the functions to be implemented for performing validation and itemchange
@javax.ejb.Local
public interface DeallocArtICLocal extends ValidatorLocal
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(Document currDom, Document hdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlCurrFrmString, String xmlHdrFrmString, String xmlAllFrmString, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlCurrFrmString, String xmlHdrFrmString,String xmlAllFrmString, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
/**
* PURPOSE : Remote Interface
* AUTHOR : Sumit Sarkar
* Date : 02/01/13
*/
package ibase.webitm.ejb.wms;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
import java.rmi.RemoteException;
import org.w3c.dom.*;
//The remote interface declares the functions to be implemented for performing validation and itemchange
@javax.ejb.Remote
public interface DeallocArtICRemote extends ValidatorRemote
{
public String wfValData() throws RemoteException,ITMException;
public String wfValData(Document currDom, Document HdrDom, Document allDom, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String wfValData(String xmlCurrFrmString, String xmlHdrFrmString, String xmlAllfrmString, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged() throws RemoteException,ITMException;
public String itemChanged(String xmlCurrFrmString, String xmlHdrFrmString,String xmlAllFrmString, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
public String itemChanged(Document currDom, Document hdrDom, Document allDom, String objContext, String currentColumn, String editFlag, String xtraParams) throws RemoteException,ITMException;
}
/*
Window Name : w_wavegen
*/
package ibase.webitm.ejb.wms;
import ibase.bi.ejb.session.TotalManager;
import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.webitm.ejb.ITMDBAccessEJB;
import ibase.webitm.ejb.ITMDBAccessLocal;
import ibase.webitm.ejb.MasterStatefulLocal;
import ibase.webitm.ejb.ProcessEJB;
import ibase.webitm.ejb.dis.DistCommon;
import ibase.webitm.ejb.dis.InvAllocTraceBean;
import ibase.webitm.reports.utility.JasperReportGenerator;
import ibase.webitm.reports.utility.XSDParser;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
import java.awt.print.PrinterJob;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.Random;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.TreeMap;
import java.util.TreeSet;
import javax.mail.Flags.Flag;
import javax.naming.InitialContext;
import javax.print.PrintService;
//import net.sf.jasperreports.governors.GovernorException;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@javax.ejb.Stateless
public class DeallocArtPrc extends ProcessEJB implements WaveGenerationPrcLocal,WaveGenerationPrcRemote //SessionBean
{
InvAllocTraceBean invAllocTrace = new InvAllocTraceBean();
GenericUtility genericUtility = GenericUtility.getInstance();
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
CommonConstants commonConstants = new CommonConstants();
DistCommon discommon = new DistCommon();
public String process() throws RemoteException,ITMException
{
return "";
}
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException
{
String rtrStr = "";
Document headerDom = null;
Document detailDom = null;
System.out.println("getData(xmlString,xmlString2,windowName,xtraParams CALLED..."+ xmlString);
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
System.out.println("XML String :"+xmlString);
headerDom = genericUtility.parseString(xmlString);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
System.out.println("XML String :"+xmlString2);
detailDom = genericUtility.parseString(xmlString2);
}
rtrStr = getData(headerDom, detailDom, windowName, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :DeallocArtPrc :getData(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
rtrStr = e.getMessage();
}
return rtrStr;
}
public String getData(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException
{
String errCode = "";
String errString = "";
String getDataSql= "" ;
String sql= "" ;
String resultString = "";
String ptcn ="";
String lineNoSord = "";
String siteCode = "";
double quantity = 0.0;
Connection conn = null;
ResultSet rs = null;
ResultSet rs1 = null;
PreparedStatement pstmt = null;
Statement st = null;
StringBuffer retTabSepStrBuff = new StringBuffer();
try
{
ConnDriver connDriver = new ConnDriver();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getDBDateFormat());
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "site_code");
ptcn = genericUtility.getColumnValue("ptcn",headerDom);
if ( ptcn == null || ptcn.trim().length() == 0 )
{
ptcn = "";
System.out.println("PTCN From is Null...");
errString = itmDBAccessEJB.getErrorString("","VTMRPPARM","","",conn);
return errString;
}
getDataSql = " SELECT CM.CARTON_NO, POD.SALE_ORDER, POD.LINE_NO__SORD, CM.PICK_ORDER, CM.LINE_NO__PICK, " +
" POD.ITEM_CODE, POD.LOC_CODE, POD.LOT_NO, POD.LOT_SL, WTD.WAVE_ID, POH.PICK_TYPE " +
" FROM CARTON_MASTER CM, PICK_ORD_DET POD , PICK_ORD_HDR POH, WAVE_TASK_DET WTD WHERE CM.PTCN = ? " +
" AND CM.PICK_ORDER = POD.PICK_ORDER AND POH.PICK_ORDER = POD.PICK_ORDER " +
" AND CM.LINE_NO__PICK = POD.LINE_NO AND WTD.PTCN = CM.PTCN " +
" AND WTD.REF_ID = CM.PICK_ORDER AND POH.PICK_TYPE IN (?,?) " +
" AND ( FN_CHECK_DEALLOC_ARTDET(CM.PTCN, CM.CARTON_NO ) = 0 ) "+
" AND CM.STATUS <> ? AND CM.CARTON_TYPE = 'C' ORDER BY CM.CARTON_NO ";
pstmt = conn.prepareStatement(getDataSql);
pstmt.setString(1, ptcn);
pstmt.setString(2, "C");//FOR CASE PICK
pstmt.setString(3, "M");// FOR MASTER PICK
pstmt.setString(4, "R");
rs = pstmt.executeQuery();
if( rs.next() )
{
do
{
lineNoSord = rs.getString("LINE_NO__SORD");
//PTCN
retTabSepStrBuff.append(ptcn).append("\t");
//WAVE_ID
retTabSepStrBuff.append(rs.getString("WAVE_ID")).append("\t");
//SITE_CODE
retTabSepStrBuff.append(siteCode).append("\t");
//SALE_ORDER
retTabSepStrBuff.append(rs.getString("SALE_ORDER")).append("\t");
//LINE_NO__SORD
lineNoSord = " " + lineNoSord;
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);
System.out.println(" sord line no ["+lineNoSord+"]");
retTabSepStrBuff.append(lineNoSord).append("\t");
//CARTON_NO
retTabSepStrBuff.append(rs.getString("CARTON_NO")).append("\t");
//PICK_ORDER
retTabSepStrBuff.append(rs.getString("PICK_ORDER")).append("\t");
//LINE_NO__PICK
retTabSepStrBuff.append(rs.getString("LINE_NO__PICK")).append("\t");
//ITEM_CODE
retTabSepStrBuff.append(rs.getString("ITEM_CODE")).append("\t");
//QUANTITY
HashMap itmVolumeMap = getItemVoumeMap(rs.getString("ITEM_CODE"),"",conn);
double packSizeActive = (Double)itmVolumeMap.get("PACK_SIZE");
retTabSepStrBuff.append(packSizeActive).append("\t");
//PICK_TYPE
retTabSepStrBuff.append(rs.getString("PICK_TYPE") ).append("\n");
}while(rs.next());
}
else
{
errCode ="VTNOREC2";
}
rs.close(); rs = null;
pstmt.close(); pstmt = null;
resultString = retTabSepStrBuff.toString();
System.out.println(" -- ResultString....." + resultString);
if (!errCode.equals(""))
{
resultString = itmDBAccessEJB.getErrorString("", errCode, "", "", conn);
System.out.println("resultString: "+resultString);
}
}
catch (SQLException e)
{
System.out.println("SQLException : :getData(Document headerDom, Document detailDom, String windowName, String xtraParams):" + e.getMessage() + ":");
throw new ITMException(e);
}
catch (Exception e)
{
System.out.println("Exception : :getData(Document headerDom, Document detailDom, String windowName, String xtraParams):" + e.getMessage() + ":");
throw new ITMException(e);
}
finally
{
try
{
if(conn != null)
{
if(rs != null)
{
rs.close();
rs = null;
}
if(rs1 != null)
{
rs1.close();
rs1 = null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
throw new ITMException(e);
}
}
return resultString;
}
//Process Method
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException
{
String retStr = "";
Document detailDom = null;
Document headerDom = null;
GenericUtility genericUtility = GenericUtility.getInstance();
System.out.println("below genericUtility--------------->>>>>>>>>");
try
{
if(xmlString != null && xmlString.trim().length()!=0)
{
headerDom = genericUtility.parseString(xmlString);
System.out.println("headerDom" + headerDom);
}
if(xmlString2 != null && xmlString2.trim().length()!=0)
{
detailDom = genericUtility.parseString(xmlString2);
System.out.println("detailDom" + detailDom);
}
retStr = process(headerDom, detailDom, windowName, xtraParams);
}
catch (Exception e)
{
System.out.println("Exception :StockAllocationPrcEJB :process(String xmlString, String xmlString2, String windowName, String xtraParams):" + e.getMessage() + ":");
e.printStackTrace();
retStr = e.getMessage();
throw new ITMException(e);
}
return retStr;
}
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException
{
System.out.println("detailDom------------------->"+detailDom);
String childNodeName = "";
String errCode = "";
//String siteCode = this.siteCode;
String waveId = "";
//String saleOrder = null;
String ptcn = "";
String itemCode = null;
String lineNo = null;
String pickOrder = "";
String cartonNo= "";
String lineNoPick = "";
String pickType = "";
String sql = "";
double quantity = 0;
String errString = "";
String chgUser = "";
String chgTerm = "";
String siteCode = "";
String tranId = "";
int tranLineNo = 0;
java.sql.Date currDate = new java.sql.Date( System.currentTimeMillis() );
Connection conn = null;
ResultSet rs = null;
PreparedStatement pstmt = null;
int parentNodeListLength = 0;
int childNodeListLength = 0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
Node childNode = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
DeallocArtConfLocal deallocArtConfLocal = null;
try
{
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId");
siteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "siteCode");
ptcn = genericUtility.getColumnValue("ptcn",headerDom);
System.out.println(" chgUser ["+chgUser+"] chgTerm["+chgTerm+"] siteCode["+siteCode+"] ptcn["+ptcn+"]");
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
sql = " SELECT DISTINCT WTD.WAVE_ID FROM CARTON_MASTER CM, PICK_ORD_DET POD , PICK_ORD_HDR POH, WAVE_TASK_DET WTD " +
" WHERE CM.PTCN = ? AND CM.PICK_ORDER = POD.PICK_ORDER AND POH.PICK_ORDER = POD.PICK_ORDER " +
" AND CM.LINE_NO__PICK = POD.LINE_NO AND WTD.PTCN = CM.PTCN AND WTD.REF_ID = CM.PICK_ORDER " +
" AND POH.PICK_TYPE IN (?,?) AND CM.CARTON_TYPE = 'C'";
pstmt =conn.prepareStatement(sql);
pstmt.setString(1, ptcn);
pstmt.setString(2, "C");
pstmt.setString(3, "M");
rs =pstmt.executeQuery();
if( rs.next() )
{
waveId = rs.getString("WAVE_ID");
}
tranId = getTranId("w_dealloc_art", siteCode, conn);
sql = "";
sql = " INSERT INTO DEALLOC_ART (TRAN_ID, SITE_CODE, PTCN ,WAVE_ID, CONFIRMED, CHG_DATE, CHG_USER, CHG_TERM) " +
" VALUES (?,?,?,?,?,?,?,?)";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
pstmt.setString(2, siteCode);
pstmt.setString(3, ptcn);
pstmt.setString(4, waveId);
pstmt.setString(5, "N");
pstmt.setDate(6, currDate);
pstmt.setString(7, chgUser );
pstmt.setString(8, chgTerm );
if( pstmt.executeUpdate() > 0)
{
System.out.println(" insertion in DEALLOC_ART successfully ");
}
pstmt.close();pstmt = null;
sql = "";
sql = "INSERT INTO DEALLOC_ART_DET (TRAN_ID, LINE_NO, CARTON_NO, PICK_ORDER, LINE_NO__PICK, ITEM_CODE, QUANTITY, PICK_TYPE ) " +
" VALUES (?,?,?,?,?,?,?,?)";
pstmt = conn.prepareStatement(sql);
parentNodeList = detailDom.getElementsByTagName("Detail2");
parentNodeListLength = parentNodeList.getLength();
System.out.println("parentNodeListLength------------------->"+parentNodeListLength);
for (int selectedRow = 0; selectedRow < parentNodeListLength; selectedRow++)
{
parentNode = parentNodeList.item(selectedRow);
childNodeList = parentNode.getChildNodes();
childNodeListLength = childNodeList.getLength();
System.out.println("childNodeListLength---->>> "+ childNodeListLength);
for (int childRow = 0; childRow < childNodeListLength; childRow++)
{
childNode = childNodeList.item(childRow);
childNodeName = childNode.getNodeName();
System.out.println("childNodeName---->>> "+ childNodeName);
if (childNodeName.equals("carton_no"))
{
cartonNo = childNode.getFirstChild().getNodeValue();
}
if (childNodeName.equals("pick_order"))
{
pickOrder = childNode.getFirstChild().getNodeValue();
}
if (childNodeName.equals("line_no__pick"))
{
lineNoPick = childNode.getFirstChild().getNodeValue();
}
if (childNodeName.equals("item_code"))
{
itemCode = childNode.getFirstChild().getNodeValue();
}
if (childNodeName.equals("pick_type"))
{
pickType = childNode.getFirstChild().getNodeValue();
}
if (childNodeName.equals("quantity"))
{
quantity = Double.parseDouble(childNode.getFirstChild().getNodeValue());
System.out.println("quantity *======>"+quantity);
}
}
pstmt.setString(1, tranId);
pstmt.setInt(2, ++tranLineNo);
pstmt.setString(3, cartonNo);
pstmt.setString(4, pickOrder);
pstmt.setString(5, lineNoPick);
pstmt.setString(6, itemCode);
pstmt.setDouble(7, quantity);
pstmt.setString(8, pickType);
if( pstmt.executeUpdate() > 0 )
{
System.out.println(" insert in DEALLOC_ART_DET succesfully done ");
}
else
{
throw new Exception("Insertion fail in DEALLOC_ART_DET table");
}
pstmt.clearParameters();
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
conn.commit();
AppConnectParm appConnect = new AppConnectParm();
Properties p = appConnect.getProperty();
InitialContext ctx = new InitialContext(p);
deallocArtConfLocal = (DeallocArtConfLocal)ctx.lookup("ibase/DeallocArtConf/local");
errString = deallocArtConfLocal.confirm(tranId, xtraParams, "");
System.out.println(" ************ errString ******** ["+errString+"]");
}//try end
catch(Exception e)
{
e.printStackTrace();
try
{
if ( conn != null && !conn.isClosed() )
{
conn.rollback();
}
}
catch(Exception se )
{
se.printStackTrace();
e = se;
}
errString = e.getMessage();
throw new ITMException(e);
}
finally
{
System.out.println("Closing Connection....");
try
{
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if( conn != null )
{
conn.close();
conn = null;
}
}
catch(Exception e)
{
errString = e.getMessage();
e.printStackTrace();
return errString ;
}
if (errString == null || errString.trim().length() == 0 || errString.contains("VTSUCC1"))
{
//errString="VTCOMPL";
errString="VTSUCC1";
errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
//return errString;
}
else
{
System.out.println("errString.indexOf(<Errors>)---------------"+errString.indexOf("<Errors>"));
if(errString.indexOf("<Errors>") == -1 )
{
if( errString.trim().length() > 0)
{
System.out.println("Inside Block for ErrOr Not Found---------------");
errString="VTPRCERR";
errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
}
}
return errString;
}
}
return errString;
}
private String checkNull( String input )
{
if( input == null )
{
input = "";
}
return input;
}
private HashMap getItemVoumeMap(String itemCode,String lotNo,Connection con)throws Exception
{
double packSize = 0,itemSize = 0,lotSize = 0;
PreparedStatement pstmt = null;
String sql="";
ResultSet rs = null;
double itmLen = 0,itmWidth = 0,itmHeight = 0,itemWeight = 0,lotLen = 0 ,lotHeight = 0,lotWidth = 0,lotWeight = 0;
HashMap dataVolumeMap = new HashMap();
try {
sql = "SELECT I.LENGTH ITEM_LEN,I.WIDTH ITEM_WID,I.HEIGHT ITEM_HEIGHT,I.GROSS_WEIGHT ITEM_WEIGHT,"
+" L.LENGTH LITEM_LEN,L.WIDTH LITEM_WID,L.HEIGHT LITEM_HEIGHT,L.SHIPPER_SIZE SHIPSIZE,L.GROSS_WEIGHT LOT_WEIGHT FROM"
+" ITEM I,ITEM_LOT_PACKSIZE L"
+" WHERE I.ITEM_CODE = L.ITEM_CODE"
+" AND L.LOT_NO__FROM <= ? AND L.LOT_NO__TO >= ?"
+" AND I.ITEM_CODE = ?";
pstmt = con.prepareStatement(sql);
if(lotNo != null && lotNo.length() > 0)
{
pstmt.setString(1, lotNo);
pstmt.setString(2, lotNo);
}
else
{
pstmt.setString(1, "00");
pstmt.setString(2, "ZZ");
}
pstmt.setString(3, itemCode);
rs = pstmt.executeQuery();
if(rs.next())
{
itmLen = rs.getDouble("ITEM_LEN");
itmWidth = rs.getDouble("ITEM_WID");
itmHeight = rs.getDouble("ITEM_HEIGHT");
itemWeight = rs.getDouble("ITEM_WEIGHT");
lotLen = rs.getDouble("LITEM_LEN");
lotWidth = rs.getDouble("LITEM_WID");
lotHeight = rs.getDouble("LITEM_HEIGHT");
packSize = rs.getDouble("SHIPSIZE");
lotWeight = rs.getDouble("LOT_WEIGHT");
}
//packSize = (lotHeight * lotWidth * lotLen)/(itmLen * itmWidth * itmHeight);
/*itemSize = Math.floor(itmLen * itmWidth * itmHeight);
lotSize = Math.floor((lotHeight * lotWidth * lotLen));*/
itemSize = itmLen * itmWidth * itmHeight;
lotSize = lotHeight * lotWidth * lotLen;
dataVolumeMap.put("PACK_SIZE", packSize);
dataVolumeMap.put("ITEM_SIZE", itemSize);
dataVolumeMap.put("LOT_SIZE", lotSize);
dataVolumeMap.put("ITEM_WEIGHT", itemWeight);
dataVolumeMap.put("PACK_WEIGHT", lotWeight);
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
} catch (Exception e) {
throw e;
}
finally
{
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
}
return dataVolumeMap;
}
private String getTranId(String windowName, String siteCode, Connection conn) throws ITMException
{
String keyStringQuery = "";
String xmlValues = "";
String tranId = "";
ResultSet rSet = null ;
PreparedStatement pstmt = null;
CommonConstants commonConstants = new CommonConstants();
java.sql.Timestamp currDate = null;
try
{
keyStringQuery = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ?";
System.out.println("keyStringQuery--------->>"+keyStringQuery);
pstmt = conn.prepareStatement(keyStringQuery);
pstmt.setString(1,windowName);
rSet = pstmt.executeQuery();
String tranSer1 = "";
String keyString = "";
String keyCol = "";
if (rSet.next())
{
keyString = rSet.getString("KEY_STRING");
keyCol = rSet.getString("TRAN_ID_COL");
tranSer1 = rSet.getString("REF_SER");
}
SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat());
currDate = new java.sql.Timestamp(System.currentTimeMillis());
String currDateStr = sdfAppl.format(currDate);
//End Changes by Gulzar on 5/12/2012
System.out.println("keyString :"+keyString);
System.out.println("keyCol :"+keyCol);
System.out.println("tranSer1 :"+tranSer1);
xmlValues ="<?xml version=\"1.0\" encoding=\"utf-8\"?><Root>";
xmlValues = xmlValues + "<Header></Header>";
xmlValues = xmlValues + "<Detail1>";
xmlValues = xmlValues + "<tran_id></tran_id>";
xmlValues = xmlValues + "<site_code>" + siteCode + "</site_code>";
xmlValues = xmlValues + "<desp_date>" + currDateStr + "</desp_date>";
xmlValues = xmlValues + "<tran_date>" + currDateStr + "</tran_date>";
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :["+xmlValues+"]");
TransIDGenerator tg = new TransIDGenerator(xmlValues, "BASE", CommonConstants.DB_NAME);
// Creating wave_id
tranId = tg.generateTranSeqID(tranSer1, keyCol, keyString, conn);
if(rSet != null)
{
rSet.close();
rSet=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rSet != null)
{
rSet.close();
rSet=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
}
return checkNull( tranId);
}
}
\ No newline at end of file
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
@javax.ejb.Local
public interface DeallocArtPrcLocal extends ProcessLocal
{
public String process() throws RemoteException,ITMException;
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException;
}
package ibase.webitm.ejb.wms;
import java.rmi.RemoteException;
import org.w3c.dom.*;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.ITMException;
@javax.ejb.Remote
public interface DeallocArtPrcRemote extends ProcessRemote
{
public String process() throws RemoteException,ITMException;
public String process(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException;
public String process(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(String xmlString, String xmlString2, String windowName, String xtraParams) throws RemoteException,ITMException;
public String getData(Document headerDom, Document detailDom, String windowName, String xtraParams) throws RemoteException,ITMException;
}
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<name>order_type</name> <name>order_type</name>
<dbname>order_type</dbname> <dbname>order_type</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;repl_iss_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;repl_iss_det.tran_id&quot;) COLUMN(NAME=&quot;repl_iss_det.line_no&quot;) COLUMN(NAME=&quot;repl_iss_det.repl_order&quot;) COLUMN(NAME=&quot;repl_iss_det.line_no__ord&quot;) COLUMN(NAME=&quot;repl_iss_det.item_code&quot;) COLUMN(NAME=&quot;repl_iss_det.site_code&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_no&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_sl&quot;) COLUMN(NAME=&quot;repl_iss_det.quantity&quot;) COLUMN(NAME=&quot;repl_iss_det.no_art&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code__to&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;item.unit&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code__sys&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_sl__new&quot;) COMPUTE(NAME=&quot;&apos; &apos; order_type&quot;) JOIN (LEFT=&quot;repl_iss_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;repl_iss_det.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;repl_iss_det&quot; ) TABLE(NAME=&quot;item&quot; ) TABLE(NAME=&quot;site&quot; ) COLUMN(NAME=&quot;repl_iss_det.tran_id&quot;) COLUMN(NAME=&quot;repl_iss_det.line_no&quot;) COLUMN(NAME=&quot;repl_iss_det.repl_order&quot;) COLUMN(NAME=&quot;repl_iss_det.line_no__ord&quot;) COLUMN(NAME=&quot;repl_iss_det.item_code&quot;) COLUMN(NAME=&quot;repl_iss_det.site_code&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_no&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_sl&quot;) COLUMN(NAME=&quot;repl_iss_det.quantity&quot;) COLUMN(NAME=&quot;repl_iss_det.no_art&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code__to&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;site.descr&quot;) COLUMN(NAME=&quot;item.unit&quot;) COLUMN(NAME=&quot;repl_iss_det.loc_code__sys&quot;) COLUMN(NAME=&quot;repl_iss_det.lot_sl__new&quot;) COMPUTE(NAME=&quot;&apos; &apos;order_type&quot;) JOIN (LEFT=&quot;repl_iss_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; ) JOIN (LEFT=&quot;repl_iss_det.site_code&quot; OP =&quot;=&quot;RIGHT=&quot;site.site_code&quot; )) </retrieve>
</TableDefinition> </TableDefinition>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
...@@ -393,119 +393,6 @@ ...@@ -393,119 +393,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>129</x>
<y>84</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>129</x>
<y>58</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>repl_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>no</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>351</x>
<y>58</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ord</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>5</id> <id>5</id>
...@@ -581,34 +468,6 @@ ...@@ -581,34 +468,6 @@
<color>67108864</color> <color>67108864</color>
</background> </background>
</ColumnObject> </ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity:</text>
<border>6</border>
<color>33554432</color>
<x>37</x>
<y>85</y>
<height>16</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -856,17 +715,17 @@ ...@@ -856,17 +715,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No Order:</text> <text>Line No:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>262</x> <x>262</x>
<y>58</y> <y>33</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no__ord_t</name> <name>line_no_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -884,18 +743,18 @@ ...@@ -884,18 +743,18 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Line No:</text> <text>Sugg. Location Code:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>262</x> <x>9</x>
<y>33</y> <y>8</y>
<height>16</height> <height>16</height>
<width>85</width> <width>115</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>line_no_t</name> <name>loc_code__sys_t</name>
<visible>0</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -909,6 +768,44 @@ ...@@ -909,6 +768,44 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>16</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>129</x>
<y>8</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code__sys</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
...@@ -977,17 +874,17 @@ ...@@ -977,17 +874,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Transaction Id:</text> <text>Location Code:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>39</x> <x>39</x>
<y>33</y> <y>208</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>tran_id_t</name> <name>loc_code_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1002,21 +899,95 @@ ...@@ -1002,21 +899,95 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>128</x>
<y>208</y>
<height>16</height>
<width>73</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>loc_code</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>8</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>18</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>255</color>
<x>384</x>
<y>208</y>
<height>16</height>
<width>40</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>order_type</name>
<visible>0</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Replenishment Order:</text> <text>Transaction Id:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>9</x> <x>39</x>
<y>58</y> <y>33</y>
<height>16</height> <height>16</height>
<width>115</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>repl_order_t</name> <name>tran_id_t</name>
<visible>1</visible> <visible>0</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
...@@ -1033,17 +1004,17 @@ ...@@ -1033,17 +1004,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Sugg. Location Code:</text> <text>Replenishment Order:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>9</x> <x>9</x>
<y>8</y> <y>58</y>
<height>16</height> <height>16</height>
<width>115</width> <width>115</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>loc_code__sys_t</name> <name>repl_order_t</name>
<visible>1</visible> <visible>1</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1060,27 +1031,26 @@ ...@@ -1060,27 +1031,26 @@
</TextObject> </TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>16</id> <id>3</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>129</x> <x>129</x>
<y>8</y> <y>58</y>
<height>16</height> <height>16</height>
<width>73</width> <width>73</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>loc_code__sys</name> <name>repl_order</name>
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>0</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>no</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
<font> <font>
...@@ -1099,11 +1069,11 @@ ...@@ -1099,11 +1069,11 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>No Of Article:</text> <text>No. of Case:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>305</x> <x>49</x>
<y>182</y> <y>83</y>
<height>16</height> <height>16</height>
<width>75</width> <width>75</width>
<html> <html>
...@@ -1131,8 +1101,8 @@ ...@@ -1131,8 +1101,8 @@
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>384</x> <x>129</x>
<y>182</y> <y>83</y>
<height>16</height> <height>16</height>
<width>40</width> <width>40</width>
<format>[general]</format> <format>[general]</format>
...@@ -1165,17 +1135,17 @@ ...@@ -1165,17 +1135,17 @@
<TextObject> <TextObject>
<band>Detail</band> <band>Detail</band>
<alignment>1</alignment> <alignment>1</alignment>
<text>Location Code:</text> <text>Line No Order:</text>
<border>6</border> <border>6</border>
<color>33554432</color> <color>33554432</color>
<x>39</x> <x>262</x>
<y>208</y> <y>58</y>
<height>16</height> <height>16</height>
<width>85</width> <width>85</width>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>loc_code_t</name> <name>line_no__ord_t</name>
<visible>0</visible> <visible>0</visible>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
...@@ -1190,25 +1160,53 @@ ...@@ -1190,25 +1160,53 @@
<color>536870912</color> <color>536870912</color>
</background> </background>
</TextObject> </TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity:</text>
<border>6</border>
<color>33554432</color>
<x>261</x>
<y>83</y>
<height>16</height>
<width>86</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>7</id> <id>4</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>32766</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>128</x> <x>351</x>
<y>208</y> <y>58</y>
<height>16</height> <height>16</height>
<width>73</width> <width>73</width>
<format>[general]</format> <format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>loc_code</name> <name>line_no__ord</name>
<visible>0</visible> <visible>0</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>8</limit> <limit>0</limit>
<case>any</case> <case>any</case>
<focusrectangle>no</focusrectangle> <focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
...@@ -1230,20 +1228,29 @@ ...@@ -1230,20 +1228,29 @@
</ColumnObject> </ColumnObject>
<ColumnObject> <ColumnObject>
<band>Detail</band> <band>Detail</band>
<id>18</id> <id>10</id>
<alignment>0</alignment> <alignment>0</alignment>
<tabsequence>30</tabsequence> <tabsequence>32766</tabsequence>
<border>5</border> <border>5</border>
<color>255</color> <color>255</color>
<x>384</x> <x>351</x>
<y>208</y> <y>83</y>
<height>16</height> <height>16</height>
<width>40</width> <width>73</width>
<format>[general]</format>
<html> <html>
<valueishtml>0</valueishtml> <valueishtml>0</valueishtml>
</html> </html>
<name>order_type</name> <name>quantity</name>
<visible>0</visible> <visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font> <font>
<face>Times New Roman</face> <face>Times New Roman</face>
<height>-10</height> <height>-10</height>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>22</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>22</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>dealloc_art.tran_id</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>dealloc_art.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>dealloc_art.ptcn</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>wave_id</name>
<dbname>dealloc_art.wave_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>dealloc_art.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>dealloc_art.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>dealloc_art.chg_term</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>dealloc_art.confirmed</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>dealloc_art.conf_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art&quot; ) COLUMN(NAME=&quot;dealloc_art.tran_id&quot;) COLUMN(NAME=&quot;dealloc_art.site_code&quot;) COLUMN(NAME=&quot;dealloc_art.ptcn&quot;) COLUMN(NAME=&quot;dealloc_art.wave_id&quot;) COLUMN(NAME=&quot;dealloc_art.chg_date&quot;) COLUMN(NAME=&quot;dealloc_art.chg_user&quot;) COLUMN(NAME=&quot;dealloc_art.chg_term&quot;) COLUMN(NAME=&quot;dealloc_art.confirmed&quot;) COLUMN(NAME=&quot;dealloc_art.conf_date&quot;)) </retrieve>
<update>DEALLOC_ART</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction Id</text>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>89</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>0</border>
<color>33554432</color>
<x>93</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>PTCN</text>
<border>0</border>
<color>33554432</color>
<x>161</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Wave Id</text>
<border>0</border>
<color>33554432</color>
<x>229</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>89</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>93</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>161</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>229</x>
<y>2</y>
<height>16</height>
<width>78</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>12</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed</text>
<border>0</border>
<color>33554432</color>
<x>309</x>
<y>2</y>
<height>16</height>
<width>69</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Confirmed Date</text>
<border>0</border>
<color>33554432</color>
<x>380</x>
<y>2</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Date</text>
<border>0</border>
<color>33554432</color>
<x>472</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg User</text>
<border>0</border>
<color>33554432</color>
<x>606</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Chg Term</text>
<border>0</border>
<color>33554432</color>
<x>674</x>
<y>2</y>
<height>16</height>
<width>96</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>309</x>
<y>2</y>
<height>16</height>
<width>69</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>381</x>
<y>2</y>
<height>16</height>
<width>89</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>473</x>
<y>2</y>
<height>16</height>
<width>131</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>606</x>
<y>2</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>674</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>20</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>20</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>dealloc_art_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>dealloc_art_det.line_no</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>carton_no</name>
<dbname>dealloc_art_det.carton_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pick_order</name>
<dbname>dealloc_art_det.pick_order</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__pick</name>
<dbname>dealloc_art_det.line_no__pick</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>dealloc_art_det.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>dealloc_art_det.quantity</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pick_type</name>
<dbname>dealloc_art_det.pick_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art_det&quot; ) COLUMN(NAME=&quot;dealloc_art_det.tran_id&quot;) COLUMN(NAME=&quot;dealloc_art_det.line_no&quot;) COLUMN(NAME=&quot;dealloc_art_det.carton_no&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_order&quot;) COLUMN(NAME=&quot;dealloc_art_det.line_no__pick&quot;) COLUMN(NAME=&quot;dealloc_art_det.item_code&quot;) COLUMN(NAME=&quot;dealloc_art_det.quantity&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_type&quot;)WHERE( EXP1 =&quot;~&quot;DEALLOC_ART_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>DEALLOC_ART_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Transaction Id</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>87</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No</text>
<border>6</border>
<color>33554432</color>
<x>91</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Carton No</text>
<border>6</border>
<color>33554432</color>
<x>165</x>
<y>2</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pick Order</text>
<border>6</border>
<color>33554432</color>
<x>251</x>
<y>2</y>
<height>16</height>
<width>84</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No Pick</text>
<border>6</border>
<color>33554432</color>
<x>337</x>
<y>2</y>
<height>16</height>
<width>93</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>6</border>
<color>33554432</color>
<x>508</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pick Type</text>
<border>6</border>
<color>33554432</color>
<x>582</x>
<y>2</y>
<height>16</height>
<width>68</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>91</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>165</x>
<y>2</y>
<height>16</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>251</x>
<y>2</y>
<height>16</height>
<width>84</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>337</x>
<y>2</y>
<height>16</height>
<width>93</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>432</x>
<y>2</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>508</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>582</x>
<y>2</y>
<height>16</height>
<width>68</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>122</height>
<color>67108864</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>dealloc_art.tran_id</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>dealloc_art.site_code</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>dealloc_art.ptcn</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>wave_id</name>
<dbname>dealloc_art.wave_id</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_date</name>
<dbname>dealloc_art.chg_date</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_user</name>
<dbname>dealloc_art.chg_user</dbname>
</table_column>
<table_column>
<type size="15">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>chg_term</name>
<dbname>dealloc_art.chg_term</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>confirmed</name>
<dbname>dealloc_art.confirmed</dbname>
</table_column>
<table_column>
<type>datetime</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>conf_date</name>
<dbname>dealloc_art.conf_date</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art&quot; ) COLUMN(NAME=&quot;dealloc_art.tran_id&quot;) COLUMN(NAME=&quot;dealloc_art.site_code&quot;) COLUMN(NAME=&quot;dealloc_art.ptcn&quot;) COLUMN(NAME=&quot;dealloc_art.wave_id&quot;) COLUMN(NAME=&quot;dealloc_art.chg_date&quot;) COLUMN(NAME=&quot;dealloc_art.chg_user&quot;) COLUMN(NAME=&quot;dealloc_art.chg_term&quot;) COLUMN(NAME=&quot;dealloc_art.confirmed&quot;) COLUMN(NAME=&quot;dealloc_art.conf_date&quot;)WHERE( EXP1 =&quot;~&quot;DEALLOC_ART~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>DEALLOC_ART</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
</TableDefinition>
<GroupBox>
<band>Detail</band>
<text>Basic</text>
<border>2</border>
<color>33554432</color>
<x>4</x>
<y>8</y>
<height>105</height>
<width>463</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</GroupBox>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>97</x>
<y>24</y>
<height>16</height>
<width>106</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>357</x>
<y>24</y>
<height>16</height>
<width>105</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>97</x>
<y>84</y>
<height>16</height>
<width>63</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change User:</text>
<border>0</border>
<color>33554432</color>
<x>163</x>
<y>84</y>
<height>16</height>
<width>79</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>245</x>
<y>84</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_user</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Term:</text>
<border>0</border>
<color>33554432</color>
<x>314</x>
<y>84</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>399</x>
<y>84</y>
<height>16</height>
<width>63</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_term</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>97</x>
<y>43</y>
<height>16</height>
<width>106</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Wave Id:</text>
<border>0</border>
<color>33554432</color>
<x>287</x>
<y>43</y>
<height>16</height>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>33554432</color>
<x>287</x>
<y>24</y>
<height>16</height>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>357</x>
<y>43</y>
<height>16</height>
<width>105</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>12</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>97</x>
<y>64</y>
<height>16</height>
<width>106</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Conf Date :</text>
<border>0</border>
<color>33554432</color>
<x>287</x>
<y>64</y>
<height>16</height>
<width>67</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>357</x>
<y>64</y>
<height>16</height>
<width>105</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>conf_date</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>24</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Confirmed :</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>64</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>confirmed_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Change Date:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>84</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>chg_date_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Ptcn:</text>
<border>0</border>
<color>33554432</color>
<x>9</x>
<y>44</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>90</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>tran_id</name>
<dbname>dealloc_art_det.tran_id</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<key>yes</key>
<name>line_no</name>
<dbname>dealloc_art_det.line_no</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>carton_no</name>
<dbname>dealloc_art_det.carton_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pick_order</name>
<dbname>dealloc_art_det.pick_order</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__pick</name>
<dbname>dealloc_art_det.line_no__pick</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>dealloc_art_det.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>dealloc_art_det.quantity</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>pick_type</name>
<dbname>dealloc_art_det.pick_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art_det&quot; ) COLUMN(NAME=&quot;dealloc_art_det.tran_id&quot;) COLUMN(NAME=&quot;dealloc_art_det.line_no&quot;) COLUMN(NAME=&quot;dealloc_art_det.carton_no&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_order&quot;) COLUMN(NAME=&quot;dealloc_art_det.line_no__pick&quot;) COLUMN(NAME=&quot;dealloc_art_det.item_code&quot;) COLUMN(NAME=&quot;dealloc_art_det.quantity&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_type&quot;)WHERE( EXP1 =&quot;~&quot;DEALLOC_ART_DET~&quot;.~&quot;TRAN_ID~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;And&quot; ) WHERE( EXP1 =&quot;~&quot;DEALLOC_ART_DET~&quot;.~&quot;LINE_NO~&quot;&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>DEALLOC_ART_DET</update>
<updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
<name>tran_id</name>
<type>string</type>
</argument>
<argument>
<name>line_no</name>
<type>number</type>
</argument>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pick Order:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>43</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>63</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>3</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Carton No:</text>
<border>0</border>
<color>33554432</color>
<x>5</x>
<y>23</y>
<height>16</height>
<width>85</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>94</x>
<y>3</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>94</x>
<y>23</y>
<height>16</height>
<width>117</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>94</x>
<y>43</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>94</x>
<y>63</y>
<height>16</height>
<width>87</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>340</x>
<y>3</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>340</x>
<y>22</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>340</x>
<y>41</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>340</x>
<y>60</y>
<height>16</height>
<width>65</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No:</text>
<border>0</border>
<color>33554432</color>
<x>251</x>
<y>3</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code:</text>
<border>0</border>
<color>33554432</color>
<x>251</x>
<y>22</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Line No Pick:</text>
<border>0</border>
<color>33554432</color>
<x>251</x>
<y>41</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Pick Type:</text>
<border>0</border>
<color>33554432</color>
<x>251</x>
<y>60</y>
<height>16</height>
<width>82</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>0</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>33</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>dealloc_art.ptcn</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art&quot; ) COLUMN(NAME=&quot;dealloc_art.ptcn&quot;)) </retrieve>
</TableDefinition>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>PTCN:</text>
<border>6</border>
<color>33554432</color>
<x>8</x>
<y>9</y>
<height>16</height>
<width>43</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>56</x>
<y>9</y>
<height>16</height>
<width>112</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Sybase_eDataWindow>
<Sybase_eDataWindow>
<Release>9</Release>
<BaseDefinition>
<units>1</units>
<timer_interval>0</timer_interval>
<color>67108864</color>
<processing>1</processing>
<HTMLDW>no</HTMLDW>
<print>
<documentname></documentname>
<printername></printername>
<orientation>0</orientation>
<margin>
<left>24</left>
<right>24</right>
<top>24</top>
<bottom>24</bottom>
</margin>
<paper>
<source>0</source>
<size>0</size>
</paper>
<prompt>no</prompt>
<canusedefaultprinter>yes</canusedefaultprinter>
<buttons>no</buttons>
<preview.buttons>no</preview.buttons>
<cliptext>no</cliptext>
<overrideprintjob>no</overrideprintjob>
</print>
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>23</height>
<color>536870912</color>
</Header>
<Summary>
<height>0</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<color>536870912</color>
</Footer>
<Detail>
<height>21</height>
<color>536870912</color>
</Detail>
<TableDefinition>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>ptcn</name>
<dbname>dealloc_art.ptcn</dbname>
</table_column>
<table_column>
<type size="12">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>wave_id</name>
<dbname>dealloc_art.wave_id</dbname>
</table_column>
<table_column>
<type size="5">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>site_code</name>
<dbname>dealloc_art.site_code</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__sord</name>
<dbname>line_no__sord</dbname>
</table_column>
<table_column>
<type size="0">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>sale_order</name>
<dbname>sale_order</dbname>
</table_column>
<table_column>
<type size="20">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>carton_no</name>
<dbname>dealloc_art_det.carton_no</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pick_order</name>
<dbname>dealloc_art_det.pick_order</dbname>
</table_column>
<table_column>
<type precision="0">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__pick</name>
<dbname>dealloc_art_det.line_no__pick</dbname>
</table_column>
<table_column>
<type size="10">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>item_code</name>
<dbname>dealloc_art_det.item_code</dbname>
</table_column>
<table_column>
<type precision="3">decimal</type>
<updatewhereclause>yes</updatewhereclause>
<name>quantity</name>
<dbname>dealloc_art_det.quantity</dbname>
</table_column>
<table_column>
<type size="1">char</type>
<updatewhereclause>yes</updatewhereclause>
<name>pick_type</name>
<dbname>dealloc_art_det.pick_type</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;dealloc_art&quot; ) TABLE(NAME=&quot;dealloc_art_det&quot; ) COLUMN(NAME=&quot;dealloc_art.ptcn&quot;) COLUMN(NAME=&quot;dealloc_art.wave_id&quot;) COLUMN(NAME=&quot;dealloc_art.site_code&quot;) COMPUTE(NAME=&quot;&apos;&apos;line_no__sord&quot;) COMPUTE(NAME=&quot;&apos;&apos;sale_order&quot;) COLUMN(NAME=&quot;dealloc_art_det.carton_no&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_order&quot;) COLUMN(NAME=&quot;dealloc_art_det.line_no__pick&quot;) COLUMN(NAME=&quot;dealloc_art_det.item_code&quot;) COLUMN(NAME=&quot;dealloc_art_det.quantity&quot;) COLUMN(NAME=&quot;dealloc_art_det.pick_type&quot;) JOIN (LEFT=&quot;dealloc_art.tran_id&quot; OP =&quot;=&quot;RIGHT=&quot;dealloc_art_det.tran_id&quot; )) </retrieve>
</TableDefinition>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>PTCN</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<y>2</y>
<height>16</height>
<width>66</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Wave Id</text>
<border>6</border>
<color>33554432</color>
<x>70</x>
<y>2</y>
<height>16</height>
<width>78</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Site Code</text>
<border>6</border>
<color>33554432</color>
<x>150</x>
<y>2</y>
<height>16</height>
<width>64</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Sale Order</text>
<border>6</border>
<color>33554432</color>
<x>216</x>
<y>2</y>
<height>16</height>
<width>74</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Line No Sord</text>
<border>6</border>
<color>33554432</color>
<x>292</x>
<y>2</y>
<height>16</height>
<width>81</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Carton No</text>
<border>6</border>
<color>33554432</color>
<x>375</x>
<y>2</y>
<height>16</height>
<width>126</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pick Order</text>
<border>6</border>
<color>33554432</color>
<x>503</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Line No Pick</text>
<border>6</border>
<color>33554432</color>
<x>593</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Item Code</text>
<border>6</border>
<color>33554432</color>
<x>683</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Quantity</text>
<border>6</border>
<color>33554432</color>
<x>773</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Pick Type</text>
<border>6</border>
<color>33554432</color>
<x>863</x>
<y>2</y>
<height>16</height>
<width>88</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>2</x>
<y>1</y>
<height>16</height>
<width>66</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>ptcn</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>70</x>
<y>1</y>
<height>16</height>
<width>78</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>wave_id</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>12</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>150</x>
<y>1</y>
<height>16</height>
<width>64</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>5</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>216</x>
<y>1</y>
<height>16</height>
<width>74</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>292</x>
<y>1</y>
<height>16</height>
<width>81</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__sord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>375</x>
<y>1</y>
<height>16</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>20</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>503</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_order</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>8</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>593</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__pick</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>683</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>773</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>863</x>
<y>1</y>
<height>16</height>
<width>88</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pick_type</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>1</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
<HtmlGen>
<clientevents>1</clientevents>
<clientvalidation>1</clientvalidation>
<clientcomputedfields>1</clientcomputedfields>
<clientformatting>0</clientformatting>
<clientscriptable>0</clientscriptable>
<generatejavascript>1</generatejavascript>
<encodeselflinkargs>1</encodeselflinkargs>
<netscapelayers>0</netscapelayers>
</HtmlGen>
<Export.XML>
<headgroups>1</headgroups>
<includewhitespace>0</includewhitespace>
<metadatatype>0</metadatatype>
<savemetadata>0</savemetadata>
</Export.XML>
<Import.XML>
</Import.XML>
<Export.PDF>
<method>0</method>
<distill.custompostscript>0</distill.custompostscript>
<xslfop.print>0</xslfop.print>
</Export.PDF>
</Sybase_eDataWindow>
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<name>status</name> <name>status</name>
<dbname>status</dbname> <dbname>status</dbname>
</table_column> </table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task&quot; ) COLUMN(NAME=&quot;wave_task.wave_id&quot;) COLUMN(NAME=&quot;wave_task.tran_date&quot;) COLUMN(NAME=&quot;wave_task.sale_order__from&quot;) COLUMN(NAME=&quot;wave_task.sale_order__to&quot;) COLUMN(NAME=&quot;wave_task.cust_code__from&quot;) COLUMN(NAME=&quot;wave_task.cust_code__to&quot;) COLUMN(NAME=&quot;wave_task.due_date__from&quot;) COLUMN(NAME=&quot;wave_task.due_date__to&quot;) COLUMN(NAME=&quot;wave_task.chg_user&quot;) COLUMN(NAME=&quot;wave_task.chg_term&quot;) COLUMN(NAME=&quot;wave_task.chg_date&quot;) COLUMN(NAME=&quot;wave_task.hold_status&quot;) COLUMN(NAME=&quot;wave_task.cancel&quot;) COMPUTE(NAME=&quot;CASE WHEN WAVE_TASK.CANCEL = &apos;Y&apos; then &apos;CANCEL&apos; WHEN ( SELECT FN_WAVE_STATUS(WAVE_ID) AS STATUS FROM DUAL) = &apos;Y&apos; THEN &apos;COMPLETED&apos; ELSE &apos;PENDING&apos; END STATUS&quot;)WHERE( EXP1 =&quot;~&quot;WAVE_TASK~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;WAVE_TASK~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve> <retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;wave_task&quot; ) COLUMN(NAME=&quot;wave_task.wave_id&quot;) COLUMN(NAME=&quot;wave_task.tran_date&quot;) COLUMN(NAME=&quot;wave_task.sale_order__from&quot;) COLUMN(NAME=&quot;wave_task.sale_order__to&quot;) COLUMN(NAME=&quot;wave_task.cust_code__from&quot;) COLUMN(NAME=&quot;wave_task.cust_code__to&quot;) COLUMN(NAME=&quot;wave_task.due_date__from&quot;) COLUMN(NAME=&quot;wave_task.due_date__to&quot;) COLUMN(NAME=&quot;wave_task.chg_user&quot;) COLUMN(NAME=&quot;wave_task.chg_term&quot;) COLUMN(NAME=&quot;wave_task.chg_date&quot;) COLUMN(NAME=&quot;wave_task.hold_status&quot;) COLUMN(NAME=&quot;wave_task.cancel&quot;) COMPUTE(NAME=&quot;CASE WHEN WAVE_TASK.CANCEL = &apos;Y&apos; then &apos;CANCELED&apos; WHEN ( SELECT FN_WAVE_STATUS(WAVE_ID) AS STATUS FROM DUAL) = &apos;Y&apos; THEN &apos;COMPLETED&apos; ELSE &apos;PENDING&apos; END STATUS&quot;)WHERE( EXP1 =&quot;~&quot;WAVE_TASK~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&gt;=&quot; EXP2 =&quot;:from_date&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;~&quot;WAVE_TASK~&quot;.~&quot;TRAN_DATE~&quot;&quot; OP =&quot;&lt;=&quot; EXP2 =&quot;:to_date&quot; ) ) ARG(NAME = &quot;from_date&quot; TYPE = datetime) ARG(NAME = &quot;to_date&quot; TYPE = datetime) </retrieve>
<update>WAVE_TASK</update> <update>WAVE_TASK</update>
<updatewhere>1</updatewhere> <updatewhere>1</updatewhere>
<updatekeyinplace>no</updatekeyinplace> <updatekeyinplace>no</updatekeyinplace>
......
...@@ -29841,6 +29841,1434 @@ VALUES ( ...@@ -29841,6 +29841,1434 @@ VALUES (
NULL); NULL);
alter table location add direct_pick char(1); alter table location add direct_pick char(1);
alter table distroutedet add ship_type char(1); alter table distroutedet add ship_type char(1);
-- changes by sumit on 27/02/13
UPDATE MESSAGES SET MSG_STR = 'Null number of case. ',MSG_DESCR = 'Number of case should not be null' WHERE MSG_NO = 'NULLNOART';
UPDATE MESSAGES SET MSG_STR = 'Null number of case.',MSG_DESCR = 'Number of case should be numeric value.' WHERE MSG_NO = 'ARTNOTANUM';
UPDATE MESSAGES SET MSG_STR = 'Null number of case.',MSG_DESCR = 'Number of case is not correct.' WHERE MSG_NO = 'INVNOOFART';
-- sumit 27/02/13 for stock deallocation
create or replace
FUNCTION FN_CHECK_DEALLOC_ARTDET(SI_PTCN IN CHAR, SI_CARTON_NO IN CHAR )
RETURN number is FLAG number ;
CNT NUMBER;
--CNT1 NUMBER;
BEGIN
BEGIN
SELECT count(*) INTO CNT FROM DEALLOC_ART DA, DEALLOC_ART_DET DAD WHERE PTCN = SI_PTCN
AND DAD.CARTON_NO = SI_CARTON_NO AND DA.TRAN_ID = DAD.TRAN_ID;
IF (CNT > 0 ) THEN
FLAG := 1;
ELSE
FLAG :=0;
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN
FLAG :=2;
END;
RETURN FLAG;
END;
/
create or replace
FUNCTION FN_IS_CASE_PRESENT(SI_WAVE_ID IN CHAR )
RETURN number is FLAG number ;
CNT NUMBER;
--CNT1 NUMBER;
BEGIN
BEGIN
SELECT count(*) INTO CNT FROM WAVE_TASK_DET WHERE WAVE_ID = SI_WAVE_ID AND REF_TYPE IN ('C','M');
IF (CNT > 0 ) THEN
FLAG := 1;
ELSE
FLAG :=0;
END IF;
EXCEPTION
WHEN NO_DATA_FOUND THEN
FLAG :=2;
END;
RETURN FLAG;
END;
INSERT INTO ITM2MENU (
application ,
level_1 ,
level_2 ,
level_3 ,
level_4 ,
level_5 ,
win_name ,
descr ,
comments ,
menu_path ,
icon_path ,
close_icon ,
open_icon ,
obj_type ,
chg_date ,
chg_term ,
chg_user ,
mob_deploy )
VALUES (
'WMS',
1,
45,
0,
0,
0,
'w_dealloc_art',
'Pick De-Allocation',
NULL,
'WMS.1.45.0.0.0',
'e12_logo.gif',
NULL,
NULL,
'T',
NULL,
'BASE ',
'BASE ',
NULL);
INSERT INTO ITM2MENU (
application ,
level_1 ,
level_2 ,
level_3 ,
level_4 ,
level_5 ,
win_name ,
descr ,
comments ,
menu_path ,
icon_path ,
close_icon ,
open_icon ,
obj_type ,
chg_date ,
chg_term ,
chg_user ,
mob_deploy )
VALUES (
'WMS',
1,
47,
0,
0,
0,
'w_dealloc_art_proc',
'Pick De-Allocation Process',
NULL,
'WMS.1.47.0.0.0',
'e12_logo.gif',
NULL,
NULL,
'P',
NULL,
NULL,
NULL,
NULL);
INSERT INTO TRANSETUP (
tran_window ,
save_flag ,
val_flag ,
key_flag ,
key_string ,
udf_1 ,
udf_2 ,
udf_3 ,
udf_4 ,
udf_5 ,
repeate_add ,
chg_date ,
chg_user ,
chg_term ,
edi_option ,
site_acc_col ,
confirm_col ,
confirm_val ,
repeat_add_det ,
repeatadddet ,
load_mode ,
auto_confirm ,
ledg_post_conf ,
chg_date_on_conf ,
tran_id_col ,
mail_option ,
confirm_mode ,
garbage_opt ,
val_flag_edi ,
verify_password ,
cust_acc_col ,
sales_pers_acc_col ,
supp_acc_col ,
item_ser_acc_code ,
emp_acc_col ,
item_ser_acc_col ,
workflow_opt ,
table_name ,
application ,
table_desc ,
tran_date_col ,
tran_id__from ,
tran_id__to ,
table_name_det1 ,
table_name_det2 ,
table_name_det3 ,
multitire_opt ,
ref_ser ,
view_mode ,
tax_forms ,
sign_status ,
user_tran_window ,
custom_preview_obj ,
ignoreerrlist_onload ,
childdata_argopt ,
edit_tmplt ,
wrkflw_init ,
edittax ,
formal_args ,
audit_trail_opt ,
edit_opt ,
cache_opt ,
optimize_mode ,
edit_expr ,
rate_col ,
qty_col ,
edit_expr_inp ,
rcp_cache_status ,
print_control ,
transfer_mode ,
profile_id__res ,
tran_compl_msg ,
period_option ,
wrkflw_priority ,
exec_type ,
disp_meta_data ,
allow_attach ,
start_form ,
isattachment ,
header_form_no ,
msg_onsave )
VALUES (
'w_dealloc_art',
'2',
'2',
'A',
'seq10',
NULL,
NULL,
NULL,
NULL,
NULL,
'Y',
TO_DATE('2-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'0',
'site_code',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'TRAN_ID',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'dealloc_art',
'WMS',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'DEART',
'F',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'M',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_ACTIONS (
obj_name ,
line_no ,
image ,
description ,
service_code ,
interactive ,
rights_char ,
title ,
form_no ,
service_handler ,
placement ,
action_type ,
tran_type ,
chg_date ,
chg_term ,
chg_user )
VALUES (
'dealloc_art',
1,
'add.gif',
'Adding New',
'a',
'a',
'A',
'Add',
'1',
NULL,
NULL,
'S',
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_ACTIONS (
obj_name ,
line_no ,
image ,
description ,
service_code ,
interactive ,
rights_char ,
title ,
form_no ,
service_handler ,
placement ,
action_type ,
tran_type ,
chg_date ,
chg_term ,
chg_user )
VALUES (
'dealloc_art',
9,
NULL,
'Confirmation',
'pre_confirm',
'a',
'R',
'Confirm',
'1',
'2',
NULL,
'U',
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_ACTIONS (
obj_name ,
line_no ,
image ,
description ,
service_code ,
interactive ,
rights_char ,
title ,
form_no ,
service_handler ,
placement ,
action_type ,
tran_type ,
chg_date ,
chg_term ,
chg_user )
VALUES (
'dealloc_art_proc',
7,
NULL,
'Action Button for getting data',
'get_data',
'a',
'R',
'GetData',
'1',
'3',
NULL,
'U',
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_ACTIONS (
obj_name ,
line_no ,
image ,
description ,
service_code ,
interactive ,
rights_char ,
title ,
form_no ,
service_handler ,
placement ,
action_type ,
tran_type ,
chg_date ,
chg_term ,
chg_user )
VALUES (
'dealloc_art_proc',
8,
NULL,
'Action Button for processing the data',
'process',
'a',
'R',
'Process',
'2',
'3',
NULL,
'U',
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_FORMS (
win_name ,
title ,
obj_brow_name ,
obj_edit_name ,
cross_update_expr ,
expr_fld_info ,
target_fld_info ,
expr_comment ,
form_no ,
scr_flag ,
auto_accept_scan ,
scan_flag ,
scan_metadata ,
property_info ,
scan_delimiter ,
column_on_save ,
after_save ,
ext_setup ,
ext_metadata ,
ext_com ,
auto_accept_weighdata ,
form_type ,
disp_metadata ,
parent_key_col ,
qty_col ,
rate_col ,
assisted_mode ,
storage_key_metadata ,
selection_mode ,
default_view )
VALUES (
'w_dealloc_art',
'Carton Deallocation',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'1',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_FORMS (
win_name ,
title ,
obj_brow_name ,
obj_edit_name ,
cross_update_expr ,
expr_fld_info ,
target_fld_info ,
expr_comment ,
form_no ,
scr_flag ,
auto_accept_scan ,
scan_flag ,
scan_metadata ,
property_info ,
scan_delimiter ,
column_on_save ,
after_save ,
ext_setup ,
ext_metadata ,
ext_com ,
auto_accept_weighdata ,
form_type ,
disp_metadata ,
parent_key_col ,
qty_col ,
rate_col ,
assisted_mode ,
storage_key_metadata ,
selection_mode ,
default_view )
VALUES(
'w_dealloc_art',
'Carton Deallocation',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'2',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_FORMS (
win_name ,
title ,
obj_brow_name ,
obj_edit_name ,
cross_update_expr ,
expr_fld_info ,
target_fld_info ,
expr_comment ,
form_no ,
scr_flag ,
auto_accept_scan ,
scan_flag ,
scan_metadata ,
property_info ,
scan_delimiter ,
column_on_save ,
after_save ,
ext_setup ,
ext_metadata ,
ext_com ,
auto_accept_weighdata ,
form_type ,
disp_metadata ,
parent_key_col ,
qty_col ,
rate_col ,
assisted_mode ,
storage_key_metadata ,
selection_mode ,
default_view )
VALUES (
'w_dealloc_art_proc',
'Stock De-Allocation',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'1',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_FORMS (
win_name ,
title ,
obj_brow_name ,
obj_edit_name ,
cross_update_expr ,
expr_fld_info ,
target_fld_info ,
expr_comment ,
form_no ,
scr_flag ,
auto_accept_scan ,
scan_flag ,
scan_metadata ,
property_info ,
scan_delimiter ,
column_on_save ,
after_save ,
ext_setup ,
ext_metadata ,
ext_com ,
auto_accept_weighdata ,
form_type ,
disp_metadata ,
parent_key_col ,
qty_col ,
rate_col ,
assisted_mode ,
storage_key_metadata ,
selection_mode ,
default_view )
VALUES(
'w_dealloc_art_proc',
'detail',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'2',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
INSERT INTO OBJ_ITEMCHANGE (
obj_name ,
form_no ,
field_name ,
mandatory )
VALUES (
'dealloc_art',
'1 ',
'itm_default',
'Y');
INSERT INTO OBJ_ITEMCHANGE (
obj_name ,
form_no ,
field_name ,
mandatory )
VALUES (
'dealloc_art',
'1 ',
'ptcn',
'Y');
INSERT INTO OBJ_ITEMCHANGE (
obj_name ,
form_no ,
field_name ,
mandatory )
VALUES (
'dealloc_art',
'2 ',
'carton_no',
'Y');
INSERT INTO OBJ_ITEMCHANGE (
obj_name ,
form_no ,
field_name ,
mandatory )
VALUES (
'dealloc_art',
'2 ',
'itm_default',
'Y');
INSERT INTO POPHELP (
field_name ,
mod_name ,
sql_str ,
dw_object ,
msg_title ,
width ,
height ,
chg_date ,
chg_user ,
chg_term ,
dist_opt ,
filter_string ,
sql_input ,
default_col ,
pop_align ,
query_mode ,
page_context ,
pophelp_cols ,
pophelp_source ,
multi_opt ,
help_option )
VALUES (
'PTCN',
'W_DEALLOC_ART',
'SELECT DISTINCT WTD.PTCN AS PTCN , WTD.WAVE_ID AS WAVE_ID FROM WAVE_TASK WT, WAVE_TASK_DET WTD, DESPATCH D WHERE WT.CANCEL <> ''Y'' AND FN_IS_CASE_PRESENT(WTD.WAVE_ID) = 1 AND WTD.REF_ID = D.DESP_ID AND D.CONFIRMED <> ''Y'' ORDER BY WAVE_ID',
NULL,
'PTCN',
0,
0,
TO_DATE('27-02-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'S',
NULL,
NULL);
INSERT INTO POPHELP (
field_name ,
mod_name ,
sql_str ,
dw_object ,
msg_title ,
width ,
height ,
chg_date ,
chg_user ,
chg_term ,
dist_opt ,
filter_string ,
sql_input ,
default_col ,
pop_align ,
query_mode ,
page_context ,
pophelp_cols ,
pophelp_source ,
multi_opt ,
help_option )
VALUES (
'CARTON_NO',
'W_DEALLOC_ART',
'SELECT CARTON_NO, PTCN FROM CARTON_MASTER WHERE PTCN = ''?'' AND CARTON_NO <> ''R'' AND CARTON_TYPE = ''C''',
NULL,
'PTCN',
0,
0,
TO_DATE('27-02-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'0',
NULL,
':0.ptcn',
NULL,
NULL,
NULL,
NULL,
NULL,
'S',
NULL,
NULL);
INSERT INTO POPHELP (
field_name ,
mod_name ,
sql_str ,
dw_object ,
msg_title ,
width ,
height ,
chg_date ,
chg_user ,
chg_term ,
dist_opt ,
filter_string ,
sql_input ,
default_col ,
pop_align ,
query_mode ,
page_context ,
pophelp_cols ,
pophelp_source ,
multi_opt ,
help_option )
VALUES (
'PTCN',
'W_DEALLOC_ART_PROC',
'SELECT DISTINCT WTD.PTCN AS PTCN , WTD.WAVE_ID AS WAVE_ID FROM WAVE_TASK WT, WAVE_TASK_DET WTD, DESPATCH D WHERE WT.CANCEL <> ''Y'' AND FN_IS_CASE_PRESENT(WTD.WAVE_ID) = 1 AND WTD.REF_ID = D.DESP_ID AND D.CONFIRMED <> ''Y'' ORDER BY WAVE_ID',
NULL,
'PTCN',
0,
0,
TO_DATE('27-02-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
'0',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
'S',
NULL,
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art',
'post_item_change',
'1',
'poic_default_ejb',
NULL,
'0',
TO_DATE('2-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtIC',
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art',
'pre_confirm',
'1',
'prcm_default_2',
NULL,
'0',
TO_DATE('2-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtConf',
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art',
'pre_validate',
'1',
'prv_default_ejb',
NULL,
'0',
TO_DATE('2-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtIC',
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art_proc',
'get_data',
'1',
'gd_default_2',
NULL,
'0',
TO_DATE('10-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtPrc',
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art_proc',
'pre_validate',
'1',
'prv_default_ejb',
NULL,
'0',
TO_DATE('12-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtIC',
NULL);
INSERT INTO SYSTEM_EVENTS (
obj_name ,
event_code ,
event_context ,
service_code ,
method_rule ,
overwrite_core ,
chg_date ,
chg_user ,
chg_term ,
result_handle ,
comp_type ,
comp_name ,
comm_format )
VALUES (
'dealloc_art_proc',
'process',
'1',
'prcs_default_2',
NULL,
'0',
TO_DATE('11-01-2013 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE',
'2',
'EJB',
'DeallocArtPrc',
NULL);
----
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCNCAP',
'Invalid PTCN !!',
'Entered PTCN No. does not have case pick activity !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCNCAN',
'Invalid PTCN !!',
'Entered PTCN No. is in hold or canceled !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVCARALEX',
'Invalid PTCN !!',
'Entered PTCN No. allresdy added !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVCARTON1',
'Invalid Carton Number !!',
'Entered carton number does not exist in carton master !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVCARTON2',
'Invalid Carton Number !!',
'Entered carton number is already rejected !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVCARTON1',
'Invalid Carton Number !!',
'Entered carton number does not exist in carton master !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCNCAR',
'Invalid Carton Number !!',
'Entered carton number does not match with PTCN entered in header !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'NULLTRANDT',
'Null Carton Number !!',
'Please enter carton number !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCNDSP',
'Invalid PTCN number !!',
'Dispatch is confirmed of this PTCN number !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCASAD',
'Invalid PTCN number !!',
'All carton number of entered PTCN are already added or rejected !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVPTCNID',
'Invalid PTCN number !!',
'Please insert valid PTCN ID',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'DUPCARTONN',
'Invalid PTCN number !!',
'Duplicate PTCN',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input,
mail_option )
VALUES (
'INVCARTON3',
'Invalid PTCN number !!',
'Entered PTCN No. is in hold or canceled !!',
'E',
'Y',
NULL,
NULL,
NULL,
TO_DATE('14-12-2012 00:00:00','DD-MM-YYYY HH24:MI:SS'),
'BASE ',
'BASE ',
NULL,
NULL);
commit; commit;
......
...@@ -29,12 +29,8 @@ column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x ...@@ -29,12 +29,8 @@ column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x
column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="206" y="135" height="16" width="218" format="[general]" html.valueishtml="0" name=site_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=14 alignment="0" tabsequence=32766 border="5" color="255" x="206" y="135" height="16" width="218" format="[general]" html.valueishtml="0" name=site_descr visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=12 alignment="0" tabsequence=10 border="5" color="33554432" x="129" y="232" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code__to visible="1" edit.limit=8 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" ) column(band=detail id=12 alignment="0" tabsequence=10 border="5" color="33554432" x="129" y="232" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code__to visible="1" edit.limit=8 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="134217742" )
column(band=detail id=17 alignment="0" tabsequence=20 border="0" color="255" x="126" y="255" height="16" width="75" format="[general]" html.valueishtml="0" name=lot_sl__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=17 alignment="0" tabsequence=20 border="0" color="255" x="126" y="255" height="16" width="75" format="[general]" html.valueishtml="0" name=lot_sl__new visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="84" height="16" width="73" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="58" height="16" width="73" format="[general]" html.valueishtml="0" name=repl_order visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="351" y="58" height="16" width="73" format="[general]" html.valueishtml="0" name=line_no__ord visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="110" height="16" width="73" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="110" height="16" width="73" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="206" y="110" height="16" width="218" format="[general]" html.valueishtml="0" name=item_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=13 alignment="0" tabsequence=32766 border="5" color="255" x="206" y="110" height="16" width="218" format="[general]" html.valueishtml="0" name=item_descr visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Quantity:" border="6" color="33554432" x="37" y="85" height="16" width="86" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Item Code:" border="6" color="33554432" x="39" y="110" height="16" width="85" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Item Code:" border="6" color="33554432" x="39" y="110" height="16" width="85" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="6" color="33554432" x="39" y="135" height="16" width="85" html.valueishtml="0" name=site_code_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Site Code:" border="6" color="33554432" x="39" y="135" height="16" width="85" html.valueishtml="0" name=site_code_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Location Code To:" border="6" color="33554432" x="25" y="232" height="16" width="99" html.valueishtml="0" name=loc_code__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Location Code To:" border="6" color="33554432" x="25" y="232" height="16" width="99" html.valueishtml="0" name=loc_code__to_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
...@@ -43,19 +39,23 @@ text(band=detail alignment="1" text="Lot No:" border="6" color="33554432" x="39" ...@@ -43,19 +39,23 @@ text(band=detail alignment="1" text="Lot No:" border="6" color="33554432" x="39"
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="159" height="16" width="73" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="159" height="16" width="73" format="[general]" html.valueishtml="0" name=lot_no visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="351" y="159" height="16" width="73" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="255" x="351" y="159" height="16" width="73" format="[general]" html.valueishtml="0" name=lot_sl visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="LPN No:" border="6" color="33554432" x="262" y="159" height="16" width="85" html.valueishtml="0" name=lot_sl_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="LPN No:" border="6" color="33554432" x="262" y="159" height="16" width="85" html.valueishtml="0" name=lot_sl_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No Order:" border="6" color="33554432" x="262" y="58" height="16" width="85" html.valueishtml="0" name=line_no__ord_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No:" border="6" color="33554432" x="262" y="33" height="16" width="85" html.valueishtml="0" name=line_no_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Line No:" border="6" color="33554432" x="262" y="33" height="16" width="85" html.valueishtml="0" name=line_no_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id:" border="6" color="33554432" x="39" y="33" height="16" width="85" html.valueishtml="0" name=tran_id_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Replenishment Order:" border="6" color="33554432" x="9" y="58" height="16" width="115" html.valueishtml="0" name=repl_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Sugg. Location Code:" border="6" color="33554432" x="9" y="8" height="16" width="115" html.valueishtml="0" name=loc_code__sys_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Sugg. Location Code:" border="6" color="33554432" x="9" y="8" height="16" width="115" html.valueishtml="0" name=loc_code__sys_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="8" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code__sys visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=16 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="8" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code__sys visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Unit:" border="6" color="33554432" x="39" y="182" height="16" width="85" html.valueishtml="0" name=unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Unit:" border="6" color="33554432" x="39" y="182" height="16" width="85" html.valueishtml="0" name=unit_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="182" height="16" width="50" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=15 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="182" height="16" width="50" format="[general]" html.valueishtml="0" name=unit visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="No Of Article:" border="6" color="33554432" x="305" y="182" height="16" width="75" html.valueishtml="0" name=no_art_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Location Code:" border="6" color="33554432" x="39" y="208" height="16" width="85" html.valueishtml="0" name=loc_code_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) text(band=detail alignment="1" text="Location Code:" border="6" color="33554432" x="39" y="208" height="16" width="85" html.valueishtml="0" name=loc_code_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="128" y="208" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code visible="0" edit.limit=8 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="255" x="128" y="208" height="16" width="73" format="[general]" html.valueishtml="0" name=loc_code visible="0" edit.limit=8 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="384" y="182" height="16" width="40" format="[general]" html.valueishtml="0" name=no_art visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) column(band=detail id=18 alignment="0" tabsequence=30 border="5" color="255" x="384" y="208" height="16" width="40" format="[general]" html.valueishtml="0" name=order_type visible="0" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=18 alignment="0" tabsequence=30 border="5" color="255" x="384" y="208" height="16" width="40" html.valueishtml="0" name=order_type visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=detail alignment="1" text="Transaction Id:" border="6" color="33554432" x="39" y="33" height="16" width="85" html.valueishtml="0" name=tran_id_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Replenishment Order:" border="6" color="33554432" x="9" y="58" height="16" width="115" html.valueishtml="0" name=repl_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="58" height="16" width="73" format="[general]" html.valueishtml="0" name=repl_order visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="No. of Case:" border="6" color="33554432" x="49" y="83" height="16" width="75" html.valueishtml="0" name=no_art_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="255" x="129" y="83" height="16" width="40" format="[general]" html.valueishtml="0" name=no_art visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Line No Order:" border="6" color="33554432" x="262" y="58" height="16" width="85" html.valueishtml="0" name=line_no__ord_t visible="0" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity:" border="6" color="33554432" x="261" y="83" height="16" width="86" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="351" y="58" height="16" width="73" format="[general]" html.valueishtml="0" name=line_no__ord visible="0" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="255" x="351" y="83" height="16" width="73" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
$PBExportHeader$d_dealloc_art11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=22 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=22 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="dealloc_art.tran_id" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="dealloc_art.site_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="dealloc_art.ptcn" )
column=(type=char(12) update=yes updatewhereclause=yes name=wave_id dbname="dealloc_art.wave_id" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="dealloc_art.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="dealloc_art.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="dealloc_art.chg_term" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="dealloc_art.confirmed" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="dealloc_art.conf_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art~" ) COLUMN(NAME=~"dealloc_art.tran_id~") COLUMN(NAME=~"dealloc_art.site_code~") COLUMN(NAME=~"dealloc_art.ptcn~") COLUMN(NAME=~"dealloc_art.wave_id~") COLUMN(NAME=~"dealloc_art.chg_date~") COLUMN(NAME=~"dealloc_art.chg_user~") COLUMN(NAME=~"dealloc_art.chg_term~") COLUMN(NAME=~"dealloc_art.confirmed~") COLUMN(NAME=~"dealloc_art.conf_date~")) " update="DEALLOC_ART" updatewhere=1 updatekeyinplace=no )
text(band=header alignment="2" text="Transaction Id" border="0" color="33554432" x="2" y="2" height="16" width="89" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Code" border="0" color="33554432" x="93" y="2" height="16" width="66" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="PTCN" border="0" color="33554432" x="161" y="2" height="16" width="66" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Wave Id" border="0" color="33554432" x="229" y="2" height="16" width="78" html.valueishtml="0" name=wave_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="2" y="2" height="16" width="89" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="93" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="0" color="33554432" x="161" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="229" y="2" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=header alignment="0" text="Confirmed" border="0" color="33554432" x="309" y="2" height="16" width="69" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Confirmed Date" border="0" color="33554432" x="380" y="2" height="16" width="90" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Date" border="0" color="33554432" x="472" y="2" height="16" width="132" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg User" border="0" color="33554432" x="606" y="2" height="16" width="66" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Chg Term" border="0" color="33554432" x="674" y="2" height="16" width="96" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="309" y="2" height="16" width="69" format="[general]" html.valueishtml="0" name=confirmed visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="381" y="2" height="16" width="89" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="473" y="2" height="16" width="131" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="606" y="2" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="674" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_dealloc_art12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=20 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=20 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="dealloc_art_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="dealloc_art_det.line_no" )
column=(type=char(20) update=yes updatewhereclause=yes name=carton_no dbname="dealloc_art_det.carton_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=pick_order dbname="dealloc_art_det.pick_order" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__pick dbname="dealloc_art_det.line_no__pick" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="dealloc_art_det.item_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="dealloc_art_det.quantity" )
column=(type=char(1) update=yes updatewhereclause=yes name=pick_type dbname="dealloc_art_det.pick_type" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art_det~" ) COLUMN(NAME=~"dealloc_art_det.tran_id~") COLUMN(NAME=~"dealloc_art_det.line_no~") COLUMN(NAME=~"dealloc_art_det.carton_no~") COLUMN(NAME=~"dealloc_art_det.pick_order~") COLUMN(NAME=~"dealloc_art_det.line_no__pick~") COLUMN(NAME=~"dealloc_art_det.item_code~") COLUMN(NAME=~"dealloc_art_det.quantity~") COLUMN(NAME=~"dealloc_art_det.pick_type~")WHERE( EXP1 =~"~~~"DEALLOC_ART_DET~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="DEALLOC_ART_DET" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", string)) )
text(band=header alignment="2" text="Transaction Id" border="6" color="33554432" x="2" y="2" height="16" width="87" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="6" color="33554432" x="91" y="2" height="16" width="72" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Carton No" border="6" color="33554432" x="165" y="2" height="16" width="84" html.valueishtml="0" name=carton_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pick Order" border="6" color="33554432" x="251" y="2" height="16" width="84" html.valueishtml="0" name=pick_order_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No Pick" border="6" color="33554432" x="337" y="2" height="16" width="93" html.valueishtml="0" name=line_no__pick_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Code" border="6" color="33554432" x="432" y="2" height="16" width="74" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Quantity" border="6" color="33554432" x="508" y="2" height="16" width="72" html.valueishtml="0" name=quantity_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pick Type" border="6" color="33554432" x="582" y="2" height="16" width="68" html.valueishtml="0" name=pick_type_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="16" width="87" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="33554432" x="91" y="2" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="165" y="2" height="16" width="84" format="[general]" html.valueishtml="0" name=carton_no visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="251" y="2" height="16" width="84" format="[general]" html.valueishtml="0" name=pick_order visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="1" tabsequence=32766 border="5" color="33554432" x="337" y="2" height="16" width="93" format="[general]" html.valueishtml="0" name=line_no__pick visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="432" y="2" height="16" width="74" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="33554432" x="508" y="2" height="16" width="72" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="582" y="2" height="16" width="68" format="[general]" html.valueishtml="0" name=pick_type visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_dealloc_art21.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=122 color="67108864" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="dealloc_art.tran_id" )
column=(type=char(5) update=yes updatewhereclause=yes name=site_code dbname="dealloc_art.site_code" )
column=(type=char(10) update=yes updatewhereclause=yes name=ptcn dbname="dealloc_art.ptcn" )
column=(type=char(12) update=yes updatewhereclause=yes name=wave_id dbname="dealloc_art.wave_id" )
column=(type=datetime update=yes updatewhereclause=yes name=chg_date dbname="dealloc_art.chg_date" )
column=(type=char(10) update=yes updatewhereclause=yes name=chg_user dbname="dealloc_art.chg_user" )
column=(type=char(15) update=yes updatewhereclause=yes name=chg_term dbname="dealloc_art.chg_term" )
column=(type=char(1) update=yes updatewhereclause=yes name=confirmed dbname="dealloc_art.confirmed" )
column=(type=datetime update=yes updatewhereclause=yes name=conf_date dbname="dealloc_art.conf_date" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art~" ) COLUMN(NAME=~"dealloc_art.tran_id~") COLUMN(NAME=~"dealloc_art.site_code~") COLUMN(NAME=~"dealloc_art.ptcn~") COLUMN(NAME=~"dealloc_art.wave_id~") COLUMN(NAME=~"dealloc_art.chg_date~") COLUMN(NAME=~"dealloc_art.chg_user~") COLUMN(NAME=~"dealloc_art.chg_term~") COLUMN(NAME=~"dealloc_art.confirmed~") COLUMN(NAME=~"dealloc_art.conf_date~")WHERE( EXP1 =~"~~~"DEALLOC_ART~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="DEALLOC_ART" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="4" y="8" height="105" width="463" name=gb_1 visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="0" color="33554432" x="97" y="24" height="16" width="106" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="33554432" x="357" y="24" height="16" width="105" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="0" color="33554432" x="97" y="84" height="16" width="63" format="[shortdate] [time]" html.valueishtml="0" name=chg_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change User:" border="0" color="33554432" x="163" y="84" height="16" width="79" html.valueishtml="0" name=chg_user_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="0" color="33554432" x="245" y="84" height="16" width="66" format="[general]" html.valueishtml="0" name=chg_user visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Change Term:" border="0" color="33554432" x="314" y="84" height="16" width="82" html.valueishtml="0" name=chg_term_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="0" color="33554432" x="399" y="84" height="16" width="63" format="[general]" html.valueishtml="0" name=chg_term visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="33554432" x="97" y="43" height="16" width="106" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Wave Id:" border="0" color="33554432" x="287" y="43" height="16" width="67" html.valueishtml="0" name=wave_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Site Code:" border="0" color="33554432" x="287" y="24" height="16" width="67" html.valueishtml="0" name=site_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="0" color="33554432" x="357" y="43" height="16" width="105" format="[general]" html.valueishtml="0" name=wave_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="0" color="33554432" x="97" y="64" height="16" width="106" html.valueishtml="0" name=confirmed visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Conf Date :" border="0" color="33554432" x="287" y="64" height="16" width="67" html.valueishtml="0" name=conf_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="33554432" x="357" y="64" height="16" width="105" format="[shortdate] [time]" html.valueishtml="0" name=conf_date visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="9" y="24" height="16" width="85" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Confirmed :" border="0" color="33554432" x="9" y="64" height="16" width="85" html.valueishtml="0" name=confirmed_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Change Date:" border="0" color="33554432" x="9" y="84" height="16" width="85" html.valueishtml="0" name=chg_date_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Ptcn:" border="0" color="33554432" x="9" y="44" height="16" width="85" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=90 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="dealloc_art_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="dealloc_art_det.line_no" )
column=(type=char(20) update=yes updatewhereclause=yes name=carton_no dbname="dealloc_art_det.carton_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=pick_order dbname="dealloc_art_det.pick_order" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=line_no__pick dbname="dealloc_art_det.line_no__pick" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="dealloc_art_det.item_code" )
column=(type=decimal(3) update=yes updatewhereclause=yes name=quantity dbname="dealloc_art_det.quantity" )
column=(type=char(1) update=yes updatewhereclause=yes name=pick_type dbname="dealloc_art_det.pick_type" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art_det~" ) COLUMN(NAME=~"dealloc_art_det.tran_id~") COLUMN(NAME=~"dealloc_art_det.line_no~") COLUMN(NAME=~"dealloc_art_det.carton_no~") COLUMN(NAME=~"dealloc_art_det.pick_order~") COLUMN(NAME=~"dealloc_art_det.line_no__pick~") COLUMN(NAME=~"dealloc_art_det.item_code~") COLUMN(NAME=~"dealloc_art_det.quantity~") COLUMN(NAME=~"dealloc_art_det.pick_type~")WHERE( EXP1 =~"~~~"DEALLOC_ART_DET~~~".~~~"TRAN_ID~~~"~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"And~" ) WHERE( EXP1 =~"~~~"DEALLOC_ART_DET~~~".~~~"LINE_NO~~~"~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="DEALLOC_ART_DET" updatewhere=1 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
text(band=detail alignment="1" text="Pick Order:" border="0" color="33554432" x="5" y="43" height="16" width="85" html.valueishtml="0" name=pick_order_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity:" border="0" color="33554432" x="5" y="63" height="16" width="85" html.valueishtml="0" name=quantity_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id:" border="0" color="33554432" x="5" y="3" height="16" width="85" html.valueishtml="0" name=tran_id_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Carton No:" border="0" color="33554432" x="5" y="23" height="16" width="85" html.valueishtml="0" name=carton_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="94" y="3" height="16" width="87" format="[general]" html.valueishtml="0" name=tran_id visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="33554432" x="94" y="23" height="16" width="117" format="[general]" html.valueishtml="0" name=carton_no visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="255" x="94" y="43" height="16" width="87" format="[general]" html.valueishtml="0" name=pick_order visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=7 alignment="1" tabsequence=32766 border="5" color="255" x="94" y="63" height="16" width="87" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="340" y="3" height="16" width="65" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="255" x="340" y="22" height="16" width="65" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=5 alignment="1" tabsequence=32766 border="5" color="255" x="340" y="41" height="16" width="65" format="[general]" html.valueishtml="0" name=line_no__pick visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="255" x="340" y="60" height="16" width="65" format="[general]" html.valueishtml="0" name=pick_type visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=detail alignment="1" text="Line No:" border="0" color="33554432" x="251" y="3" height="16" width="82" html.valueishtml="0" name=line_no_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Item Code:" border="0" color="33554432" x="251" y="22" height="16" width="82" html.valueishtml="0" name=item_code_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No Pick:" border="0" color="33554432" x="251" y="41" height="16" width="82" html.valueishtml="0" name=line_no__pick_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pick Type:" border="0" color="33554432" x="251" y="60" height="16" width="82" html.valueishtml="0" name=pick_type_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_dealloc_art_proc11.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=33 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=ptcn dbname="dealloc_art.ptcn" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art~" ) COLUMN(NAME=~"dealloc_art.ptcn~")) " )
text(band=detail alignment="1" text="PTCN:" border="6" color="33554432" x="8" y="9" height="16" width="43" html.valueishtml="0" name=ptcn_t visible="1" font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="56" y="9" height="16" width="112" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
$PBExportHeader$d_dealloc_art_proc12.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
header(height=23 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
table(column=(type=char(10) updatewhereclause=yes name=ptcn dbname="dealloc_art.ptcn" )
column=(type=char(12) updatewhereclause=yes name=wave_id dbname="dealloc_art.wave_id" )
column=(type=char(5) updatewhereclause=yes name=site_code dbname="dealloc_art.site_code" )
column=(type=char(0) updatewhereclause=yes name=line_no__sord dbname="line_no__sord" )
column=(type=char(0) updatewhereclause=yes name=sale_order dbname="sale_order" )
column=(type=char(20) updatewhereclause=yes name=carton_no dbname="dealloc_art_det.carton_no" )
column=(type=char(10) updatewhereclause=yes name=pick_order dbname="dealloc_art_det.pick_order" )
column=(type=decimal(0) updatewhereclause=yes name=line_no__pick dbname="dealloc_art_det.line_no__pick" )
column=(type=char(10) updatewhereclause=yes name=item_code dbname="dealloc_art_det.item_code" )
column=(type=decimal(3) updatewhereclause=yes name=quantity dbname="dealloc_art_det.quantity" )
column=(type=char(1) updatewhereclause=yes name=pick_type dbname="dealloc_art_det.pick_type" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"dealloc_art~" ) TABLE(NAME=~"dealloc_art_det~" ) COLUMN(NAME=~"dealloc_art.ptcn~") COLUMN(NAME=~"dealloc_art.wave_id~") COLUMN(NAME=~"dealloc_art.site_code~") COMPUTE(NAME=~"''line_no__sord~") COMPUTE(NAME=~"''sale_order~") COLUMN(NAME=~"dealloc_art_det.carton_no~") COLUMN(NAME=~"dealloc_art_det.pick_order~") COLUMN(NAME=~"dealloc_art_det.line_no__pick~") COLUMN(NAME=~"dealloc_art_det.item_code~") COLUMN(NAME=~"dealloc_art_det.quantity~") COLUMN(NAME=~"dealloc_art_det.pick_type~") JOIN (LEFT=~"dealloc_art.tran_id~" OP =~"=~"RIGHT=~"dealloc_art_det.tran_id~" )) " )
text(band=header alignment="2" text="PTCN" border="6" color="33554432" x="2" y="2" height="16" width="66" html.valueishtml="0" name=ptcn_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Wave Id" border="6" color="33554432" x="70" y="2" height="16" width="78" html.valueishtml="0" name=wave_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Site Code" border="6" color="33554432" x="150" y="2" height="16" width="64" html.valueishtml="0" name=site_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Sale Order" border="6" color="33554432" x="216" y="2" height="16" width="74" html.valueishtml="0" name=sale_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Line No Sord" border="6" color="33554432" x="292" y="2" height="16" width="81" html.valueishtml="0" name=line_no__sord_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Carton No" border="6" color="33554432" x="375" y="2" height="16" width="126" html.valueishtml="0" name=carton_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pick Order" border="6" color="33554432" x="503" y="2" height="16" width="88" html.valueishtml="0" name=pick_order_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No Pick" border="6" color="33554432" x="593" y="2" height="16" width="88" html.valueishtml="0" name=line_no__pick_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Code" border="6" color="33554432" x="683" y="2" height="16" width="88" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Quantity" border="6" color="33554432" x="773" y="2" height="16" width="88" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pick Type" border="6" color="33554432" x="863" y="2" height="16" width="88" html.valueishtml="0" name=pick_type_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="33554432" x="2" y="1" height="16" width="66" format="[general]" html.valueishtml="0" name=ptcn visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="33554432" x="70" y="1" height="16" width="78" format="[general]" html.valueishtml="0" name=wave_id visible="1" edit.limit=12 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="33554432" x="150" y="1" height="16" width="64" format="[general]" html.valueishtml="0" name=site_code visible="1" edit.limit=5 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="33554432" x="216" y="1" height="16" width="74" format="[general]" html.valueishtml="0" name=sale_order visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="0" tabsequence=32766 border="5" color="33554432" x="292" y="1" height="16" width="81" format="[general]" html.valueishtml="0" name=line_no__sord visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="0" tabsequence=32766 border="5" color="33554432" x="375" y="1" height="16" width="126" format="[general]" html.valueishtml="0" name=carton_no visible="1" edit.limit=20 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=32766 border="5" color="33554432" x="503" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=pick_order visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="1" tabsequence=32766 border="5" color="33554432" x="593" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=line_no__pick visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="683" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=item_code visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="1" tabsequence=32766 border="5" color="33554432" x="773" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=quantity visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="5" color="33554432" x="863" y="1" height="16" width="88" format="[general]" html.valueishtml="0" name=pick_type visible="1" edit.limit=1 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
...@@ -19,7 +19,7 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i ...@@ -19,7 +19,7 @@ table(column=(type=char(12) update=yes updatewhereclause=yes key=yes name=wave_i
column=(type=char(1) update=yes updatewhereclause=yes name=hold_status dbname="wave_task.hold_status" initial="N" ) column=(type=char(1) update=yes updatewhereclause=yes name=hold_status dbname="wave_task.hold_status" initial="N" )
column=(type=char(1) update=yes updatewhereclause=yes name=cancel dbname="wave_task.cancel" ) column=(type=char(1) update=yes updatewhereclause=yes name=cancel dbname="wave_task.cancel" )
column=(type=char(9) updatewhereclause=yes name=status dbname="status" ) column=(type=char(9) updatewhereclause=yes name=status dbname="status" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task~" ) COLUMN(NAME=~"wave_task.wave_id~") COLUMN(NAME=~"wave_task.tran_date~") COLUMN(NAME=~"wave_task.sale_order__from~") COLUMN(NAME=~"wave_task.sale_order__to~") COLUMN(NAME=~"wave_task.cust_code__from~") COLUMN(NAME=~"wave_task.cust_code__to~") COLUMN(NAME=~"wave_task.due_date__from~") COLUMN(NAME=~"wave_task.due_date__to~") COLUMN(NAME=~"wave_task.chg_user~") COLUMN(NAME=~"wave_task.chg_term~") COLUMN(NAME=~"wave_task.chg_date~") COLUMN(NAME=~"wave_task.hold_status~") COLUMN(NAME=~"wave_task.cancel~") COMPUTE(NAME=~"CASE WHEN WAVE_TASK.CANCEL = 'Y' then 'CANCEL' WHEN ( SELECT FN_WAVE_STATUS(WAVE_ID) AS STATUS FROM DUAL) = 'Y' THEN 'COMPLETED' ELSE 'PENDING' END STATUS~")WHERE( EXP1 =~"~~~"WAVE_TASK~~~".~~~"TRAN_DATE~~~"~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"and~" ) WHERE( EXP1 =~"~~~"WAVE_TASK~~~".~~~"TRAN_DATE~~~"~" OP =~"<=~" EXP2 =~":to_date~" ) ) ARG(NAME = ~"from_date~" TYPE = datetime) ARG(NAME = ~"to_date~" TYPE = datetime) " update="WAVE_TASK" updatewhere=1 updatekeyinplace=no arguments=(("from_date", datetime),("to_date", datetime)) ) retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"wave_task~" ) COLUMN(NAME=~"wave_task.wave_id~") COLUMN(NAME=~"wave_task.tran_date~") COLUMN(NAME=~"wave_task.sale_order__from~") COLUMN(NAME=~"wave_task.sale_order__to~") COLUMN(NAME=~"wave_task.cust_code__from~") COLUMN(NAME=~"wave_task.cust_code__to~") COLUMN(NAME=~"wave_task.due_date__from~") COLUMN(NAME=~"wave_task.due_date__to~") COLUMN(NAME=~"wave_task.chg_user~") COLUMN(NAME=~"wave_task.chg_term~") COLUMN(NAME=~"wave_task.chg_date~") COLUMN(NAME=~"wave_task.hold_status~") COLUMN(NAME=~"wave_task.cancel~") COMPUTE(NAME=~"CASE WHEN WAVE_TASK.CANCEL = 'Y' then 'CANCELED' WHEN ( SELECT FN_WAVE_STATUS(WAVE_ID) AS STATUS FROM DUAL) = 'Y' THEN 'COMPLETED' ELSE 'PENDING' END STATUS~")WHERE( EXP1 =~"~~~"WAVE_TASK~~~".~~~"TRAN_DATE~~~"~" OP =~">=~" EXP2 =~":from_date~" LOGIC =~"and~" ) WHERE( EXP1 =~"~~~"WAVE_TASK~~~".~~~"TRAN_DATE~~~"~" OP =~"<=~" EXP2 =~":to_date~" ) ) ARG(NAME = ~"from_date~" TYPE = datetime) ARG(NAME = ~"to_date~" TYPE = datetime) " update="WAVE_TASK" updatewhere=1 updatekeyinplace=no arguments=(("from_date", datetime),("to_date", datetime)) )
text(band=header alignment="2" text="Wave ID" border="6" color="0" x="2" y="2" height="16" width="75" html.valueishtml="0" name=wave_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Wave ID" border="6" color="0" x="2" y="2" height="16" width="75" html.valueishtml="0" name=wave_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Transaction Date" border="6" color="0" x="79" y="2" height="16" width="101" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Transaction Date" border="6" color="0" x="79" y="2" height="16" width="101" html.valueishtml="0" name=tran_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Sale Order from" border="6" color="0" x="182" y="2" height="16" width="89" html.valueishtml="0" name=sale_order__from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" ) text(band=header alignment="2" text="Sale Order from" border="6" color="0" x="182" y="2" height="16" width="89" html.valueishtml="0" name=sale_order__from_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
......
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