Commit 5eeaf28c authored by ppatro's avatar ppatro

changed by sankara on 06/01/2014 for updated source ,metadata and srd and sql for wms points


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94090 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5013ef9e
......@@ -2012,7 +2012,10 @@ public class ExpStockTransferIC extends ValidatorEJB implements ExpStockTransfer
" AND ITEM_CODE = ? " +
" AND LOC_CODE = ? " +
" AND LOT_NO = ? " +
" AND LOT_SL = ? ";
" AND LOT_SL = ? "+//;
//Changed By Pragyan 26-DEC-13 To check lock code to avoid duplicate records.
" AND LOCK_CODE = ? ";
pstmt1 = conn.prepareStatement(sql);
while (rs.next())
......@@ -2037,7 +2040,10 @@ public class ExpStockTransferIC extends ValidatorEJB implements ExpStockTransfer
pstmt1.setString(3, locCode);
pstmt1.setString(4, lotNo);
pstmt1.setString(5, lotSl);
//Changed By Pragyan 26-DEC-13 To check lock code to avoid duplicate records.
pstmt1.setString(6, locType);
rs1 = pstmt1.executeQuery();
if( rs1.next() )
{
holdQty = rs1.getInt("HOLD_QTY");
......
......@@ -131,7 +131,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
long oldMsnNo = 0;
String oldCarrierSymbol = "",carrierSymbol ="";
String oldCarrierFriendlyName = "",carrierFriendlyName = "";
String response = "",refType = "";
String response = "",refType = "",frtTerm = "",sSQL = "";
Connection conn = null;
int parentNodeListLength = 0;
......@@ -141,7 +141,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
double packSize = 0.0;
double weight = 0.0,actWeight = 0.0,itemWeght = 0.0,shipQty = 0.0;
double totalFrtAmt = 0.0;
NodeList parentNodeList = null;
NodeList childNodeList = null;
Node parentNode = null;
......@@ -149,7 +149,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
PreparedStatement pstmt = null,pstmt1 = null,ptcnPSTMT = null,
pstmtUpdCarton = null,pstmtChg = null, pstmtPrintStatus = null,
pstmtMaster = null,pstmtCrtnChg = null,pstmtGetTrack = null;
pstmtMaster = null,pstmtCrtnChg = null,pstmtGetTrack = null,pstmtDesp = null;
ResultSet rs = null,rs1 = null,ptcnRS = null ,rsPrintStatus = null,
rsMaster = null,rsGetTrack = null;
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
......@@ -158,7 +158,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
List arryOuterCartonNo = new ArrayList();
LinkedHashMap linkedMap = new LinkedHashMap();
ArrayList ptcnList = new ArrayList();
int pUpd = 0;
try
{
......@@ -530,6 +530,15 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
Collections.sort(arryOuterCartonNo);
shipment2.setPackages2(packages2);
///Changed By Pragyan To change the date and set current date as of shipment date.start
java.util.Date date = new java.util.Date();
Calendar calendar = Calendar.getInstance();
calendar.setTime(date);
shipment2.setShipDate(calendar);
////Changed By Pragyan To change the date and set current date as of shipment date.end
///Changed By Pragyan To change the date.end
System.out.println("Generating Label for the date ["+calendar.getTime().getTime()+"]");
//Changed By Pragyan as 11-jul-13 suggested by brian change it to default rotation
//ShipmentResultReturn2 objReturn2=soap.shipWithLabel(shipment2, ShipWithLabelType.PNG, ImageRotation.Rotation_180);
ShipmentResultReturn2 objReturn2=soap.shipWithLabel(shipment2, ShipWithLabelType.PNG, ImageRotation.Rotation_Default);
......@@ -707,8 +716,47 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
throw new Exception("Carton Master updated");
}
HashMap sordMap = getSordInfo(saleOrder,conn);
frtTerm = (String)sordMap.get("FRT_TERM");
totalFrtAmt = objShipResult.getTotal();
System.out.println("Update in desp update freight Amt totalFrtAmt ["+totalFrtAmt+"] For frtTerm["+frtTerm+"]saleOrder["+saleOrder+"]");
if("O".equalsIgnoreCase(frtTerm))
{
sSQL = "UPDATE DESPATCH SET FREIGHT_AMT_ADD = ? WHERE PTCN = ?";
pstmtDesp = conn.prepareStatement(sSQL);
pstmtDesp.setDouble(1, totalFrtAmt);
pstmtDesp.setString(2, ptcn);
pUpd = pstmtDesp.executeUpdate();
System.out.println("Update in desp update freight Amt upd ["+pUpd+"] For");
if(pstmtDesp != null)
{
pstmtDesp.close();
pstmtDesp = null;
}
sSQL = "UPDATE SHIP_DOCS SET FREIGHT_AMT_ADD = ? WHERE PTCN = ?";
pstmtDesp = conn.prepareStatement(sSQL);
pstmtDesp.setDouble(1, totalFrtAmt);
pstmtDesp.setString(2, ptcn);
pUpd = pstmtDesp.executeUpdate();
System.out.println("Update in Ship Docs update freight Amt upd ["+pUpd+"] For");
if(pstmtDesp != null)
{
pstmtDesp.close();
pstmtDesp = null;
}
}
}//else
/*}
else
......@@ -1364,7 +1412,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
String custCode = "",stanCode = "",siteCodeShip = "",stateCodeDlv = "",shipConsGrp = ""
//Changed By Rekha to get additional fields for ADSI
,custName="",custShName = "",shipCity="",shipCountry = "",shipAdd1 = "",shipAdd2 = "",shipAdd3 = "",
shipPh="",shipFax ="",shipMailId = "",custPord = "";
shipPh="",shipFax ="",shipMailId = "",custPord = "",frtTerm="";
try
{
......@@ -1392,7 +1440,9 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
+" C.COUNT_CODE AS COUNT_CODE,"
+" C.TELE1 AS PHONE,"
+" C.FAX AS FAX,"
+" C.EMAIL_ADDR AS EMAIL_ID"
+" C.EMAIL_ADDR AS EMAIL_ID,"
//changed by Pragyan on 23/12/13 for getting FRT TERM.
+" S.FRT_TERM AS FRT_TERM"
+" FROM SORDER S,CUSTOMER C "
+ " WHERE S.CUST_CODE__DLV = C.CUST_CODE "
+ " AND S.SALE_ORDER = ? ";
......@@ -1419,6 +1469,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
shipMailId = rs.getString("EMAIL_ID");
shipFax = rs.getString("FAX");
custPord = rs.getString("CUST_PORD");
frtTerm = rs.getString("FRT_TERM");
}
sordInfoMap.put("CUST_CODE", custCode);
......@@ -1446,7 +1497,7 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
{
sordInfoMap.put("SHIP_CONS_GRP", custCode);
}
sordInfoMap.put("FRT_TERM", frtTerm);
if( rs != null )
{
......
......@@ -629,7 +629,53 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
errFields.add( childNodeName.toLowerCase() );
}
//changed by sankara on 18/11/13 validation for different assign user end.
//changed by sankara on 03/01/13 for doing replenishment order wise start.
sql = " SELECT SITE_CODE, ITEM_CODE, LOC_CODE, LOT_NO, LOT_SL FROM REPL_ORD_DET WHERE REPL_ORDER = ? ";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, replOrder );
rs = pstmt.executeQuery();
if( rs.next() )
{
siteCode = checkNull (rs.getString("SITE_CODE"));
itemCode = checkNull (rs.getString("ITEM_CODE"));
locCode = checkNull (rs.getString("LOC_CODE"));
lotNo = checkNull (rs.getString("LOT_NO"));
lpnNo = checkNull (rs.getString("LOT_SL"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
sql = " SELECT R.REPL_ORDER FROM REPL_ORD_HDR R, WAVE_TASK W, WAVE_TASK_DET WD, REPL_ORD_DET RT WHERE " +
" R.REPL_ORDER = WD.REF_ID AND R.REPL_ORDER = RT.REPL_ORDER AND R.WAVE_ID = W.WAVE_ID AND W.WAVE_ID = WD.WAVE_ID " +
" AND WD.STATUS ='N' AND W.CANCEL = 'N' AND ( RT.CANCEL_MODE='N' OR RT.CANCEL_MODE IS NULL ) " +
" AND RT.SITE_CODE = ? AND RT.ITEM_CODE = ? AND RT.LOC_CODE = ? AND RT.LOT_NO = ? AND RT.LOT_SL = ? " +
" ORDER BY REPL_ORDER ";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, siteCode );
pstmt.setString( 2, itemCode );
pstmt.setString( 3, locCode );
pstmt.setString( 4, lotNo );
pstmt.setString( 5, lpnNo );
rs = pstmt.executeQuery();
if( rs.next() )
{
replOrd = checkNull(rs.getString("REPL_ORDER"));
System.out.println("replOrd-->"+replOrd);
System.out.println("headerreplOrder-->"+replOrder);
if( !replOrder.trim().equalsIgnoreCase( replOrd ) )
{
errList.add( "VTREPLORDR" );
errFields.add( childNodeName.toLowerCase() );
}
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//changed by sankara on 03/01/13 for doing replenishment order wise end.
}
else if( "site_code".equalsIgnoreCase( childNodeName ) )
{
......@@ -819,40 +865,6 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
errFields.add( childNodeName.toLowerCase() );
// end 26/10/11 manoharan all the errors should be returned so that warnings can be processed
}
//changed by sankara on 05/12/13 for doing replenishment order wise start.
sql = " SELECT R.REPL_ORDER FROM REPL_ORD_HDR R, WAVE_TASK W, WAVE_TASK_DET WD, REPL_ORD_DET RT, STOCK S, LOCATION L " +
" WHERE R.REPL_ORDER = WD.REF_ID AND R.REPL_ORDER = RT.REPL_ORDER AND R.WAVE_ID = W.WAVE_ID AND S.LOC_CODE = L.LOC_CODE " +
" AND RT.LOC_CODE = L.LOC_CODE AND WD.STATUS = 'N' AND W.CANCEL = 'N' AND ( RT.CANCEL_MODE='N' OR RT.CANCEL_MODE IS NULL ) " +
" AND S.SITE_CODE = ? " +
" AND S.ITEM_CODE = ? " +
" AND S.LOC_CODE = ? " +
" AND S.LOT_NO = ? " +
" AND S.LOT_SL = ? "+
" ORDER BY REPL_ORDER ";
pstmt = conn.prepareStatement( sql );
pstmt.setString( 1, siteCode );
pstmt.setString( 2, itemCode );
pstmt.setString( 3, locCode );
pstmt.setString( 4, lotNo );
pstmt.setString( 5, lpnNo );
rs = pstmt.executeQuery();
if( rs.next() )
{
replOrd = checkNull(rs.getString("REPL_ORDER"));
System.out.println("replOrd-->"+replOrd);
System.out.println("headerreplOrder-->"+replOrder);
if( !replOrder.trim().equalsIgnoreCase( replOrd ) )
{
errList.add( "VTREPLORDR" );
errFields.add( childNodeName.toLowerCase() );
}
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//changed by sankara on 05/12/13 for doing replenishment order wise end.
}
//else if ( "lot_sl_new".equalsIgnoreCase( childNodeName ) ) //added by kunal mandhre on 05/JUN/12 - WM1ESUN007
else if ( "lot_sl__new".equalsIgnoreCase( childNodeName ) && "active_repl_iss".equalsIgnoreCase(getObjNameFromDom(currFormDataDom, "objName", objContext)) ) //added by kunal mandhre on 05/JUN/12 - WM1ESUN007
......
......@@ -160,6 +160,11 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
String taroShipName= "";
String shipTypeName= "";
//changed by sumitp on 10/03/13 for declare varibles end.
//Changed By Pragyan 18-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
String isADSIConnReq = "N";
//changed by sankara on 03/01/14 for update pro_no
String tranProNofrom = "";
String tranProNoto = "";
try
{
conn = connDriver.getConnectDB( "DriverITM" );
......@@ -192,6 +197,7 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
System.out.println("-- confirmed ["+confirmed+"] noOfPallet ["+noOfPallet+"] refSer ["+refSer.trim()+"]");
rs.close();rs = null;
pstmt.close();pstmt = null;
//isADSIConnReq = discommon.getDisparams("999999","CONN_TO_ADSI_APP",conn);
if( "Y".equalsIgnoreCase(confirmed))
{
......@@ -413,8 +419,10 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
if("D-ISS".equalsIgnoreCase(refSer.trim()) || "C-ISS".equalsIgnoreCase(refSer.trim()) || "P-RET".equalsIgnoreCase(refSer.trim()) || "".equalsIgnoreCase(refSer.trim()))
{
sql = "SELECT T.SERVICE_CODE,S.PACK_SIZE FROM SHIPMENT S,TRANSPORTER T WHERE T.TRAN_CODE = S.TRAN_CODE AND"
//Changed By Pragyan to take on Point not connecting to ADSI
/*sql = "SELECT T.SERVICE_CODE,S.PACK_SIZE FROM SHIPMENT S,TRANSPORTER T WHERE T.TRAN_CODE = S.TRAN_CODE AND"
+" S.SHIPMENT_ID = ? "; */
sql = "SELECT T.SERVICE_CODE,S.PACK_SIZE,T.ADSI_FLAG FROM SHIPMENT S,TRANSPORTER T WHERE T.TRAN_CODE = S.TRAN_CODE AND"
+" S.SHIPMENT_ID = ? ";
PreparedStatement pstmtTrans = conn.prepareStatement(sql);
pstmtTrans.setString(1, tranId);
......@@ -423,6 +431,7 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
{
serviceCode = checkNull(rsTrans.getString("SERVICE_CODE"));
dimensionDouble = rsTrans.getDouble("PACK_SIZE");
isADSIConnReq = checkNull(rsTrans.getString("ADSI_FLAG"));
}
if(pstmtTrans != null)
......@@ -436,8 +445,9 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
rsTrans.close();
rsTrans = null;
}
if(serviceCode != null && serviceCode.trim().length() > 0)
//isADSIConnReq
//if(serviceCode != null && serviceCode.trim().length() > 0)
if("Y".equalsIgnoreCase(isADSIConnReq) && serviceCode != null && serviceCode.trim().length() > 0)
{
System.out.println("Enetr in manual Shipment whit shipment ID"+tranId);
......@@ -981,6 +991,26 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
pstmt1.close();
pstmt1 = null;
//changed by sankara on 03/01/14 for update of pro no start.
sql = " SELECT PRONO_FROM, PRONO_TO, PRONO_LAST, CHK_DIGIT_YN FROM TRANSPORTER WHERE TRAN_CODE = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranCode);
rs = pstmt.executeQuery();
if( rs.next() )
{
tranProNofrom = rs.getString(1);
System.out.println("tranProNofrom::::"+tranProNofrom);
tranProNoto= rs.getString(2);
System.out.println("tranProNoto::::"+tranProNoto);
tranProNo = rs.getString(3);
System.out.println("tranprolastno::::"+tranProNo);
chDigitYn = rs.getString("CHK_DIGIT_YN");
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//changed by sankara on 03/01/14 for update of pro no end.
if((tranProNo != null && proNo != null) && proNo.length() > tranProNo.length())
{
proNo = proNo.substring(0,tranProNo.length());
......@@ -989,6 +1019,12 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
{
proNo = proNo.substring(0,proNo.length() - 1);
}
//changed by sankara on 03/01/14 for update of pro no start.
else if( tranProNofrom == null && tranProNoto == null && tranProNo == null )
{
proNo = "";
}
//changed by sankara on 03/01/14 for update of pro no end.
System.out.println(" pro_no ["+proNo+"]");
sql = "UPDATE TRANSPORTER SET PRONO_LAST = ? WHERE TRAN_CODE = ?";
......@@ -2976,6 +3012,8 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
PreparedStatement pstmt = null;
ResultSet rs = null;
//changed by sankara on 03/01/14 for update pro_no
String shiprono = "";
System.out.println(" sumit inside update shipment ");
try
{
......@@ -2998,7 +3036,26 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
pstmt.close();
pstmt = null;
}
//changed by sankara on 03/01/14 for update pro_no start.
sql = " SELECT PRO_NO FROM SHIPMENT WHERE SHIPMENT_ID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, shipmentId);
rs = pstmt.executeQuery();
if( rs.next() )
{
shiprono = checkNull( rs.getString("PRO_NO") );
}
if( rs != null)
{
rs.close();
rs = null;
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
//changed by sankara on 03/01/14 for update pro_no end.
sql = "SELECT tran_name, PRONO_LAST , PRONO_FROM, PREFIX FROM transporter WHERE tran_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranCode);
......@@ -3028,8 +3085,9 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
{
pronoLast = Long.parseLong(descr1) + 1;
}
if(pronoLast != 0)
{
// changed by sankara on 03/01/14 for update pro_no
//if(pronoLast != 0)
//{
//valueXmlString.append( "<lr_no><![CDATA[" ).append( pronoLast ).append( "]]></lr_no>\r\n" ); // commented to generate SSCC18 complaint number
//valueXmlString.append( "<lr_no><![CDATA[" ).append( getSSCC(prefix, pronoLast, conn) ).append( "]]></lr_no>\r\n" ); // added to generate SSCC18 complaint number //commented as per suggestion
......@@ -3077,9 +3135,40 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
//valueXmlString.append( "<lr_no><![CDATA[" ).append( sProno ).append( "]]></lr_no>\r\n" );
}
// changed by sankara on 03/01/14 for update pro_no
//}
// changed by sankara on 03/01/14 for update pro_no start.
/*sql = "UPDATE SHIPMENT SET LR_NO = ? , PRO_NO = ? WHERE SHIPMENT_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lrNo);
pstmt.setString(2, sProno);
pstmt.setString(3, shipmentId);
update = pstmt.executeUpdate();
if( update > 0)
{
System.out.println(" shipment updated sucessfully");
}*/
if(shiprono != null && shiprono.trim().length() > 0 )
{
sql = "UPDATE SHIPMENT SET LR_NO = ? , PRO_NO = ? WHERE SHIPMENT_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lrNo);
pstmt.setString(2, shiprono);
pstmt.setString(3, shipmentId);
update = pstmt.executeUpdate();
if( update > 0)
{
System.out.println(" shipment updated sucessfully");
}
}
else
{
if( "0".equalsIgnoreCase(sProno) )
{
sProno = "";
}
sql = "UPDATE SHIPMENT SET LR_NO = ? , PRO_NO = ? WHERE SHIPMENT_ID = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, lrNo);
pstmt.setString(2, sProno);
......@@ -3089,7 +3178,8 @@ public class ShipmentConf extends ActionHandlerEJB implements ShipmentConfLocal,
{
System.out.println(" shipment updated sucessfully");
}
}
// changed by sankara on 03/01/14 for update pro_no end.
if(pstmt != null)
{
pstmt.close();
......
......@@ -1258,6 +1258,8 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
String lrNo = "";
GenericUtility genericUtility = GenericUtility.getInstance();
//changed by sankara on 03/01/14 for freight_amt_add in ship_docs
String freightamount = "";
try
{
siteCode = getValueFromXTRA_PARAMS(xtraParams, "loginSiteCode");
......@@ -2037,7 +2039,21 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
//valueXmlString.append( "<Detail2>\r\n" );
}
valueXmlString.append( "<ref_ser><![CDATA[S-DSP]]></ref_ser>\r\n" );
//changed by sankara on 03/01/14 display despatch freight_amt_add in ship_docs start.
sql = " SELECT FREIGHT_AMT_ADD FROM DESPATCH WHERE PTCN = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, columnValue);
rs = pstmt.executeQuery();
if( rs.next() )
{
freightamount = checkNull(rs.getString("FREIGHT_AMT_ADD"));
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
valueXmlString.append( "<freight_amt_add><![CDATA[" ).append(freightamount).append( "]]></freight_amt_add>\r\n" );
//changed by sankara on 03/01/14 display despatch freight_amt_add in ship_docs end.
}
else if( currentColumn.trim().equalsIgnoreCase( "curr_code" ) )
......
......@@ -50,7 +50,14 @@ public class ShipmentPos extends ValidatorEJB implements ShipmentPosLocal, Shipm
DistCommon distCommon = new DistCommon();
PreparedStatement pstmt = null;
ResultSet rs = null;
//changed by sankara on 03/01/14 for update freight_amt_add in despatch start.
String freightamount = "";
NodeList parentNodeList = null;
Node parentNode = null;
int parentNodeListLength = 0;
String refid = "";
int updatecount = 0;
//changed by sankara on 03/01/14 for update freight_amt_add in despatch end.
try
{
String applDateFormat = genericUtility.getApplDateFormat();
......@@ -65,6 +72,28 @@ public class ShipmentPos extends ValidatorEJB implements ShipmentPosLocal, Shipm
// Changed by sankara on 16/08/13 for checking transporter code null
//transporterCode = genericUtility.getColumnValueFromNode("tran_code", dom.getElementsByTagName("Detail1").item(0));
transporterCode = checkNull(genericUtility.getColumnValueFromNode("tran_code", dom.getElementsByTagName("Detail1").item(0)));
//changed by sankara on 03/01/14 for update freight_amt_add in deepatch start.
NodeList detail2List = dom.getElementsByTagName("Detail2");
parentNodeListLength = detail2List.getLength();
for(int row = 0; row < parentNodeListLength; row++)
{
refid = GenericUtility.getInstance().getColumnValueFromNode("ref_id", dom.getElementsByTagName("Detail2").item(row));
freightamount = GenericUtility.getInstance().getColumnValueFromNode("freight_amt_add", dom.getElementsByTagName("Detail2").item(row));
System.out.println(" refid ["+refid+"] freightamount ["+freightamount+"]");
sql = " UPDATE DESPATCH SET FREIGHT_AMT_ADD = ? WHERE DESP_ID = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, freightamount);
pstmt.setString(2, refid);
updatecount = pstmt.executeUpdate();
if( updatecount > 0 )
{
System.out.println(" update seccessfully ");
}
pstmt.close(); pstmt = null;
}
//changed by sankara on 03/01/14 for update freight_amt_add in deepatch end.
//Changed By Pragyan to get PTCN
/*sql = " SELECT D.REF_ID AS REF_ID, P.WAVE_ID AS WAVE_ID FROM SHIP_DOCS D, SHIPMENT S, DESPATCH P WHERE S.SHIPMENT_ID = D.SHIPMENT_ID" +
" AND P.DESP_ID = D.REF_ID AND S.SHIPMENT_ID = ? ";*/
......
......@@ -225,6 +225,8 @@ public class WaveCancelEJB extends ActionHandlerEJB implements WaveCancelEJBLoca
ITMDBAccessEJB itmDBAccess = new ITMDBAccessEJB();
ADSIShippingSoap soap = null;
int updateSorder = 0;
//Changed By Pragyan 18-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
String isADSIConnReq = "N";
try
{
......@@ -246,7 +248,7 @@ public class WaveCancelEJB extends ActionHandlerEJB implements WaveCancelEJBLoca
stagingLocMpick = discommon.getDisparams( "999999", "STAGING_LOC_MPK", conn );
dsoInvstat = discommon.getDisparams( "999999", "DEEP_STORE_INVSTAT", conn );
invPndReserve = discommon.getDisparams("999999","PND_INVSTAT",conn);
//isADSIConnReq = discommon.getDisparams("999999","CONN_TO_ADSI_APP",conn);
GenericUtility genericUtility = GenericUtility.getInstance();
//java.sql.Timestamp currDate = new java.sql.Timestamp( System.currentTimeMillis() );
distStkUpd = getComponent("DistStkUpd");
......@@ -982,8 +984,11 @@ public class WaveCancelEJB extends ActionHandlerEJB implements WaveCancelEJBLoca
System.out.println("RefSeries checking for void packages"+refSer+"}");
System.out.println("PTCN LIST"+ptcnVoidPackagesMap.toString()+"}");
//isADSIConnReq
//Changed by Rohan on 16-07-13 for define map of ptcn for void packages.start
if(!(ptcnVoidPackagesMap.containsKey(ptcn)) && isTrackingNoExist(ptcn,conn))
//if(!(ptcnVoidPackagesMap.containsKey(ptcn)) && isTrackingNoExist(ptcn,conn))
if("Y".equalsIgnoreCase(isADSIConnReq) && !(ptcnVoidPackagesMap.containsKey(ptcn)) && isTrackingNoExist(ptcn,conn))
{
/* if(refSer.equalsIgnoreCase("M-PICK") || refSer.equalsIgnoreCase("P-PICK") )
{*/
......
......@@ -201,6 +201,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
ADSIShippingLocator locator = null;
ADSIShippingSoap soap = null;
Shipment2 shipment2 = null;
//Changed By Pragyan 18-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
String isADSIConnReq = "N";
public String process() throws RemoteException,ITMException
......@@ -3058,6 +3060,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Clear the SaleOrder Map List------------------->Check"+saleOrderWiseMap.size());
//Changed by Rohan to Clear
printMode = checkNull(discommon.getDisparams("999999","WAVE_PRINT_MODE",conn));
//isADSIConnReq = discommon.getDisparams("999999","CONN_TO_ADSI_APP",conn);
//Changed By Pragyan to create wave for mannual allocated data
//updateMannualStockMap(detailDom, conn);
validateSorder(detailDom,conn);
......@@ -5268,15 +5271,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
if((invStat.equalsIgnoreCase(resrvLoc) || invStat.equalsIgnoreCase(deepStoreLoc)) && (lotQtyToBeAllocated > packSizeActive) && "Y".equalsIgnoreCase(isStockToDockChecked))
{
////Changed By Pragyan 06-DEC-13 to get Stock alloc quantity exist then stock to dock should not be considered as per KB sir.start
//isStockToDock = true;
if(stkAllocQty > 0)
//changed by sankara on 03/01/14 as suggested by pragyan start.
isStockToDock = true;
/*if(stkAllocQty > 0)
{
isStockToDock = false;
}
else
{
isStockToDock = true;
}
}*/
//changed by sankara on 03/01/14 as suggested by pragyan end.
//Changed By Pragyan 06-DEC-13 to get Stock alloc quantity then stock to dock should not be considered as per KB sir.start
}
//Changed By Pragyan 09/11/12 To make the stock to dock if avilable quantity less then or equal to required quantity(only reserve locatio).end
......@@ -6476,6 +6481,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Current sorder No>>>>>>>>>>>>["+saleOrder+"]");
int itemMapListLen = itemMapList.size();
System.out.println("Current Sorder No :["+sorderKey+"]Map Length["+itemMapListLen+"]");
//Changed By Pragyan to pass the orderinfos
sordMapInfoMap = getSordInfo(saleOrder, conn);
//Changed By Pragyan Demo4
/*HashMap transPorterInfoMap = getTransportInfo(saleOrder, conn);
tranCode = (String)transPorterInfoMap.get("TRAN_CODE");
......@@ -6796,10 +6803,14 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
/*String packRefId = updateWaveTaskDet(waveId,3,conn);
updatePacking( headerDom, detailDom, waveId,saleOrder,packRefId,xtraParams, conn);*/
if(errString == null || errString.trim().length() == 0)
//Changed by Pragyan 26-dec-13 as it required to update despatch hader values from ADSI.start
/*if(errString == null || errString.trim().length() == 0)
{
if(shipment2 != null && shipment2.getPackages2() != null)
//"Y".equalsIgnoreCase(isADSIConnReq)
//if(shipment2 != null && shipment2.getPackages2() != null)
if("Y".equalsIgnoreCase(isADSIConnReq) && shipment2 != null && shipment2.getPackages2() != null)
{
//if("P".equalsIgnoreCase(waveMode))
//{
......@@ -6812,13 +6823,35 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
else
{
return errString;
}
}*/
//Changed by Pragyan 26-dec-13 as it required to update despatch hader values from ADSI.end
if (errString == null || errString.trim().length() == 0)
{
String dspRefId = updateWaveTaskDet(waveId,4,saleOrder,"","",ptcnID,conn);
errString = updateShipment(headerDom, detailDom,waveId,ptcnID,saleOrder,dspRefId,tranCode,transMode, xtraParams, conn);
//errString = updateShipment(headerDom, detailDom,waveId,ptcnID,saleOrder,dspRefId,tranCode,transMode, xtraParams, conn);
errString = updateShipment(headerDom, detailDom,waveId,ptcnID,saleOrder,dspRefId,tranCode,transMode, xtraParams,sordMapInfoMap, conn);
}
else
{
return errString;
}
if(errString == null || errString.trim().length() == 0)
{
//"Y".equalsIgnoreCase(isADSIConnReq)
//if(shipment2 != null && shipment2.getPackages2() != null)
if("Y".equalsIgnoreCase(isADSIConnReq) && shipment2 != null && shipment2.getPackages2() != null)
{
//if("P".equalsIgnoreCase(waveMode))
//{
errString = updateTRackingNo(saleOrder, ptcnID, waveId, tranCode,sordMapInfoMap, conn);
//}
shipment2 = null;
}
}
else
{
......@@ -6898,7 +6931,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
*/
//Changed by sumit 02/08/12 to print expected wave_generation as a report END.
}
}//for(int srCtrr = 0 ; srCtrr < sordKeyLen; srCtrr ++)
}
//if(errString == null && !(errString.trim().length() > 0))
......@@ -7117,6 +7150,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
double masterPackWeightPerOrder = 0.0;
//Changed By Pragyan 25/02/13 To change the Logic according to ship type
boolean masterPackAllow = false;
/*
* boolean isMasterPackAllow = false;*/
String isMasterPackBestFit = "N";
......@@ -7182,6 +7217,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
LinkedHashMap<String , Double> actCartonWeightMap = new LinkedHashMap<String , Double>();
//Changed By Rekha WM3BSUN006 20/05/13 To get the SOAP connection.end
try
{
......@@ -7195,6 +7231,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
dbShipType = (String)transportInfoMap.get("SHIP_TYPE");
transMode = (String)transportInfoMap.get("TRANS_MODE");
transMode = transMode != null?transMode.trim():transMode;
isADSIConnReq = (String)transportInfoMap.get("ADSI_FLAG");
isADSIConnReq = isADSIConnReq != null?isADSIConnReq:"N";
docLoc = getDocLoc(tranCode, conn);
if(docLoc == null || docLoc.length() == 0)
......@@ -8814,6 +8852,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed By Rekha WM3BSUN006 20/05/13 To get the SOAP connection Iff parcel pick 'Y' or Master Pack 'Y'.start
//if("Y".equalsIgnoreCase(mPackAllow) || "Y".equalsIgnoreCase(pPickAllow))
if( ("Y".equalsIgnoreCase(mPackAllow) || "Y".equalsIgnoreCase(pPickAllow)))
{
if("Y".equalsIgnoreCase(isADSIConnReq))
{
long timeBefore = System.currentTimeMillis();
......@@ -8986,6 +9027,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
return errString;
}
}//if("Y".equalsIgnoreCase(isADSIConnReq))
}
//Changed By Rekha WM3BSUN006 20/05/13 To get the SOAP connection Iff parcel pick 'Y' or Master Pack 'Y'.end
......@@ -10565,6 +10607,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
double width =0;
double height=0;
int existPackageLen = 0;
//Change For ADSI.start
if("Y".equalsIgnoreCase(isADSIConnReq))
{
//packgeList = new Package2[allMasterListlen];
if(shipment2.getPackages2() != null)
{
......@@ -10590,6 +10635,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Existing packages2["+existPackageLen+"]");
packgeList = new Package2[allMasterListlen];
}
}
sqlSize = "SELECT LENGTH , WIDTH , HEIGHT FROM PACKING WHERE PACK_CODE = (SELECT PACK_CODE FROM CARTON_MASTER WHERE CARTON_NO = ? )";
pstmt2 = conn.prepareStatement(sqlSize);
......@@ -10598,7 +10644,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
for(int j = 0 ;j < allMasterListlen ; j++)
{
pkg2 = new Package2();
//isADSIConnReq
//pkg2 = new Package2();
caseWeightTotal = 0.0;
caseVolumeTotal = 0.0;
ArrayList tempList = (ArrayList)allMasterList.get(j);
......@@ -10628,6 +10675,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
masterCartonNo = updateCartonMaster(packRefId, j + 1,Double.parseDouble("1"),ptcn,"M-PACK", xtraParams, conn,caseWeightTotal,caseVolumeTotal,pickType,"");
//Change For ADSI.start
if("Y".equalsIgnoreCase(isADSIConnReq))
{
pkg2 = new Package2();
NameValuePair[] additionalFields = new NameValuePair[1];
additionalFields[0] = new NameValuePair("carton_no", masterCartonNo);
//CHANGE BY REKHA ON 23-05-13
......@@ -10673,10 +10723,13 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
Address addr = new Address();
pkg2.setCODReturnAddress(addr);//As per Taro not required
pkg2.setAdditionalFields(additionalFields);
infoCom = new CommodityInfo[tempList.size()];
}//if("Y".equalsIgnoreCase(isADSIConnReq))
//Change For ADSI.end
infoCom = new CommodityInfo[tempList.size()];
//isADSIConnReq
//infoCom = new CommodityInfo[tempList.size()];
for(int k =0 ; k < tempList.size() ; k++)
{
......@@ -10702,11 +10755,13 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
/*itmLen = itmVolumeMap.get("ITEM_LEN").toString();
itmWidth = (String)itmVolumeMap.get("ITEM_WID").toString();
itmHeight = (String)itmVolumeMap.get("ITEM_HEIGHT").toString();*/
unitValue = getRateStdoum(saleOrder, itemCode, conn);
ArrayList valList = (ArrayList)mapItemPick.get(itemCode + ":" + lotSl);
int valListLen = valList.size();
//isADSIConnReq
if("Y".equalsIgnoreCase(isADSIConnReq))
{
if("Y".equalsIgnoreCase(hazardous))
{
pkg2.setHazmatFlag(true);
......@@ -10747,6 +10802,10 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
comInfo.setExportNumberExpireDate(calendar);
comInfo.setUnitOfMeasure(EnumUnitOfMeasure.uomPCS);
infoCom[k] = comInfo;
comodityInfoList.add(comInfo);
System.out.println("Commodity Info List"+infoCom.toString());
}//if("Y".equalsIgnoreCase(isADSIConnReq))
int pickCtr =0;
for(int vCtr = 0; vCtr < valListLen;vCtr++)
{
......@@ -10773,16 +10832,20 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
//updateCartonMaster(pickRefId, pickCtr,Double.parseDouble(noArt),ptcn,"M-PICK", xtraParams,masterCartonNo,itemCode, conn);
//isADSIConnReq
//comodityInfoList.add(comInfo);
comodityInfoList.add(comInfo);
}
System.out.println("Commodity Info List"+infoCom.toString());
//System.out.println("Commodity Info List"+infoCom.toString());
//CommodityInfo[] infoCom = (CommodityInfo[])comodityInfoList.toArray();
//infoCom[0] = comInfo;
//if("Y".equalsIgnoreCase(isADSIConnReq))
if("Y".equalsIgnoreCase(isADSIConnReq))
{
pkg2.setCommodityInfos(infoCom);
packgeList[j + existPackageLen] = pkg2;
}
}
......@@ -10856,6 +10919,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
int existPackageLen = 0;
System.out.println("temp map Size"+n+"[["+tempMap.toString()+"]");
if("Y".equalsIgnoreCase(isADSIConnReq))
{
//packgeList = new Package2[allMasterListlen];
if(shipment2.getPackages2() != null)
{
......@@ -10881,6 +10947,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Existing packages2["+existPackageLen+"]"+"N lenght"+n);
packgeList = new Package2[n];
}
}//if("Y".equalsIgnoreCase(isADSIConnReq))
String masterCartonNo = "";
......@@ -10915,10 +10982,15 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
unitValue = getRateStdoum(saleOrder, tempValue, conn);
}
NameValuePair[] additionalFields = new NameValuePair[1];
additionalFields[0] = new NameValuePair("carton_no", tempKey);
//if("Y".equalsIgnoreCase(isADSIConnReq))
/*NameValuePair[] additionalFields = new NameValuePair[1];
additionalFields[0] = new NameValuePair("carton_no", tempKey);*/
masterOrParclNoList.add(tempKey);
if("Y".equalsIgnoreCase(isADSIConnReq))
{
NameValuePair[] additionalFields = new NameValuePair[1];
additionalFields[0] = new NameValuePair("carton_no", tempKey);
pkg2 =new Package2();
pkg2.setID(tempKey);
pkg2.setWeight(caseWeight);
......@@ -10987,6 +11059,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Ctr"+Ctr+"existPackageLen"+existPackageLen+"]");
packgeList[Ctr + existPackageLen]=pkg2;
//Changed by Rohan on 25-07-13 for bug fixing.start
}//if("Y".equalsIgnoreCase(isADSIConnReq))
Ctr++;
System.out.println("going for nex for loop====>"+Ctr+"]");
}
......@@ -10995,7 +11068,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
//Change by rekha on 21-05-13 end
if(packgeList != null && packgeList.length > 0)
///if("Y".equalsIgnoreCase(isADSIConnReq))
//if(packgeList != null && packgeList.length > 0)
if("Y".equalsIgnoreCase(isADSIConnReq) && packgeList != null && packgeList.length > 0)
{
System.out.println("Setting Packages To Shipment In Master/Parcel["+packgeList.length+"]");
shipment2.setPackages2(packgeList);
......@@ -12337,7 +12412,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed by Rohan on 24/11/12 to spilt active pick depending upon cartons.end
}
if(actCartonWeightMap.size() > 0 && ("Y".equalsIgnoreCase(pPickAllow) || "Y".equalsIgnoreCase(mPackAllow)))
//"Y".equalsIgnoreCase(isADSIConnReq)
//if(actCartonWeightMap.size() > 0 && ("Y".equalsIgnoreCase(pPickAllow) || "Y".equalsIgnoreCase(mPackAllow)))
if("Y".equalsIgnoreCase(isADSIConnReq) && actCartonWeightMap.size() > 0 && ("Y".equalsIgnoreCase(pPickAllow) || "Y".equalsIgnoreCase(mPackAllow)))
{
CommodityInfo[] infoCom = null;
String nafFlag = discommon.getDisparams("999999","NAFTA_FLAG_COUNT",conn);
......@@ -12551,7 +12628,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
}
if(packgeList != null && packgeList.length > 0)
//"Y".equalsIgnoreCase(isADSIConnReq)
//if(packgeList != null && packgeList.length > 0)
if("Y".equalsIgnoreCase(isADSIConnReq) && packgeList != null && packgeList.length > 0)
{
System.out.println("Setting Packages To Shipment In actives["+packgeList.length +"]");
shipment2.setPackages2(packgeList);
......@@ -13000,7 +13079,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed by sumit sarkar on 26/08/2011 [ WM1ESUN006 ] update pick_ord_hrd & pick_ord_det table end.
private String updateTRackingNo(String saleOrder,String ptcn,String waveID,String tranCode,Connection conn)throws Exception
private String updateTRackingNo(String saleOrder,String ptcn,String waveID,String tranCode,HashMap sordMap,Connection conn)throws Exception
{
String errString = "";
......@@ -13033,14 +13112,17 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
String value = "";
String pckgId = "";
String trackNo="";
String frtTerm = "",sSQL = "";
double msnNo=0.0;
double itemWeight = 0.0,caseWeight = 0.0;
double totalFrtAmt = 0.0;
PreparedStatement pstmt = null;
PreparedStatement pstmtCart = null;
PreparedStatement pstmtInsertData = null;
PreparedStatement pstmtInsertData1 = null;
PreparedStatement pstmtInsertTran = null;
PreparedStatement pstmtDt = null;
PreparedStatement pstmtDesp = null;
ResultSet rsD = null;
ResultSet rs = null ;
......@@ -13072,6 +13154,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
pstmtInsertData.addBatch();
pstmtInsertData.executeBatch();
//"Y".equalsIgnoreCase(isADSIConnReq)
if("P".equalsIgnoreCase(waveMode))
{
imagePath = discommon.getDisparams("999999","SHIP_WITH_PATH",conn);
......@@ -13083,7 +13166,6 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println("Message String ["+objReturn2.getMessage()+"]");
if(!objReturn2.isSuccess())
{
errString = getError(saleOrder + "[" + objReturn2.getMessage() +"]", "ADSISRVERR", conn);
......@@ -13091,7 +13173,23 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
else
{
frtTerm = (String)sordMap.get("FRT_TERM");
totalFrtAmt = objShipResult.getTotal();
System.out.println("Update in desp update freight Amt totalFrtAmt ["+totalFrtAmt+"] For frtTerm["+frtTerm+"]");
if("O".equalsIgnoreCase(frtTerm))
{
sSQL = "UPDATE DESPATCH SET FREIGHT_AMT_ADD = ? WHERE PTCN = ?";
pstmtDesp = conn.prepareStatement(sSQL);
pstmtDesp.setDouble(1, totalFrtAmt);
pstmtDesp.setString(2, ptcn);
int pUpd = pstmtDesp.executeUpdate();
System.out.println("Update in desp update freight Amt upd ["+pUpd+"] For");
}
System.out.println("Total Amount Of ["+totalFrtAmt+"]");
int lenPacakges = objShipResult.getPackageResults2().length;
serviceSymbol = objShipResult.getServiceSymbol();
System.out.println("serviceSymbol["+serviceSymbol+"]");
......@@ -13322,9 +13420,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
pstmtInsertData1.close();
pstmtInsertData1 = null;
}
}
}
if( pstmtInsertData != null)
{
......@@ -13332,6 +13428,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
pstmtInsertData = null;
}
}
catch(Exception e)
{
......@@ -14074,7 +14171,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed by Pragyan To add PTCN 09-OCT-13
//Changed by sumit sarkar on 8/18/2011 [ WM1ESUN006 ] update despatch table start.
//private String updateShipment(Document headerDom, Document detailDom,String waveID,String saleOrder,String refId,String tranCode,String transMode,String xtraParams, Connection conn)throws Exception
private String updateShipment(Document headerDom, Document detailDom,String waveID,String PTCN,String saleOrder,String refId,String tranCode,String transMode,String xtraParams, Connection conn)throws Exception
private String updateShipment(Document headerDom, Document detailDom,String waveID,String PTCN,String saleOrder,String refId,String tranCode,String transMode,String xtraParams,HashMap sordMap, Connection conn)throws Exception
{
String errString = "";
String insertSql = "";
......@@ -14216,7 +14313,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
*/
//changed by sankara on 11/10/13 for getting licence_no and licence_date start.
HashMap sordMap = getSordInfo(saleOrder,conn);
//Changed By Pragyan pass the map once
//HashMap sordMap = getSordInfo(saleOrder,conn);
licenceNo = (String)sordMap.get("DRUG_LIC_NO_1");
System.out.println("licenceNo:"+licenceNo);
lincenceDate =(java.sql.Date)sordMap.get("DRUG_LICNO1_UPTO");
......@@ -16715,7 +16813,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
String dbShipType = "";
String serviceCode = "";
String shipmentType = "";
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
String adsiFlag = "";
String sSQL = "";
try
{
......@@ -16731,32 +16831,40 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//pinTo = getPinCust(custCodeDlv,conn);
pinTo = (String)stationInfoMap.get("DLV_PIN");
sSQL = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE,ADSI_FLAG AS ADSI_FLAG FROM DISTROUTEDET A,DISTROUTE B, TRANSPORTER T "
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND (A.DIST_ROUTE = B.DIST_ROUTE) AND (T.TRAN_CODE = A.TRAN_CODE) AND ";
if(("P".equalsIgnoreCase(pickType) && "P".equalsIgnoreCase(shipType)) || ("M".equalsIgnoreCase(pickType) && "M".equalsIgnoreCase(shipType)) )//|| "".equalsIgnoreCase(shipType) || "L".equalsIgnoreCase(shipType))
{
System.out.println("Sql Check 1 .............pickType["+pickType+"]shipType["+shipType+"]");
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B, TRANSPORTER T "
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B, TRANSPORTER T "
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
// + " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND (A.DIST_ROUTE = B.DIST_ROUTE) AND (B.CUST_CODE = ?) AND ( SHIP_TYPE = ?)" ;
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND (A.DIST_ROUTE = B.DIST_ROUTE) AND (B.CUST_CODE = ?) AND ( SHIP_TYPE = ?) AND T.TRAN_CODE = A.TRAN_CODE " ;
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND (A.DIST_ROUTE = B.DIST_ROUTE) AND (B.CUST_CODE = ?) AND ( SHIP_TYPE = ?) AND T.TRAN_CODE = A.TRAN_CODE " ;*/
sql = sSQL + " (B.CUST_CODE = ?) AND ( SHIP_TYPE = ?) " ;
}
else if(("P".equalsIgnoreCase(pickType) && "A".equalsIgnoreCase(shipType)) || ("M".equalsIgnoreCase(pickType) && "A".equalsIgnoreCase(shipType)) || "".equalsIgnoreCase(shipType) || "L".equalsIgnoreCase(shipType))
{
System.out.println("Sql Check 2 .............pickType["+pickType+"]shipType["+shipType+"]");
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND B.CUST_CODE = ?"
// + " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ?";
+ " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? AND T.TRAN_CODE = A.TRAN_CODE ";
*/
sql = sSQL + " B.CUST_CODE = ? AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? ";
}
else
{
System.out.println("Sql Check 3 .............pickType["+pickType+"]shipType["+shipType+"]");
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.SERVICE_CODE AS SERVICE_CODE , T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.SERVICE_CODE AS SERVICE_CODE , T.TRAN_CODE AS TRAN_CODE,T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND B.CUST_CODE = ? "
......@@ -16764,6 +16872,11 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
+ " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE";
//AND ( SERVICE_CODE=? )";
// + " AND ( A.TRAN_CODE= T.TRAN_CODE )";
*/
sql = sSQL + " B.CUST_CODE = ? AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') ";
}
pstmt = conn.prepareStatement(sql);
......@@ -16827,6 +16940,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
dbShipType = checkNull(rs.getString("SHIP_TYPE"));
serviceCode = rs.getString("SERVICE_CODE");
shipmentType = rs.getString("SHIPMENT_TYPE");
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
adsiFlag = rs.getString("ADSI_FLAG");
}
else if(("P".equalsIgnoreCase(pickType) && "A".equalsIgnoreCase(shipType)) || ("M".equalsIgnoreCase(pickType) && "A".equalsIgnoreCase(shipType)))
{
......@@ -16836,7 +16951,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
rs.close();
rs = null;
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B,TRANSPORTER T "
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B,TRANSPORTER T "
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND MIN_WEIGHT <= ? "
......@@ -16844,6 +16959,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE= ? ";
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE= ? AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE= ? AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL ";
*/
sql = sSQL + " MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE= ? AND B.CUST_CODE IS NULL ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,pinFrm);
......@@ -16871,6 +16989,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
dbShipType = checkNull(rs.getString("SHIP_TYPE"));
serviceCode= rs.getString("SERVICE_CODE");
shipmentType = rs.getString("SHIPMENT_TYPE");
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
adsiFlag = rs.getString("ADSI_FLAG");
}
else
......@@ -16882,7 +17002,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
rs.close();
rs = null;
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND B.CUST_CODE = ? "
......@@ -16890,6 +17010,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
// + " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P')";
// + " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE";
*/
sql = sSQL + " B.CUST_CODE = ? AND MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P')";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,pinFrm);
......@@ -16917,6 +17039,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
serviceCode= rs.getString("SERVICE_CODE");
// CHANGE BY REKHA ON 27-05-13 ADD SERVICE_CODE END
shipmentType = rs.getString("SHIPMENT_TYPE");
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
adsiFlag = rs.getString("ADSI_FLAG");
}
else
{
......@@ -16926,7 +17050,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
rs.close();
rs = null;
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B,TRANSPORTER T "
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B,TRANSPORTER T "
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND MIN_WEIGHT <= ? "
......@@ -16934,6 +17058,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P')";
//+ " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL ";
*/
sql = sSQL + " MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,pinFrm);
......@@ -16959,6 +17085,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
serviceCode=rs.getString("SERVICE_CODE");
// CHANGE BY REKHA ON 27-05-13 ADD SERVICE_CODE END
shipmentType = rs.getString("SHIPMENT_TYPE");
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
adsiFlag = rs.getString("ADSI_FLAG");
}
pstmt.close();
......@@ -16983,17 +17111,19 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
if(("P".equalsIgnoreCase(pickType) && "P".equalsIgnoreCase(shipType)) || ("M".equalsIgnoreCase(pickType) && "M".equalsIgnoreCase(shipType)) || "".equalsIgnoreCase(shipType) || "L".equalsIgnoreCase(shipType))
{
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE , T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
/* sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE , T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B , TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
//Changed By Pragyan 16JUL13 To pass the customer code is null
// + " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND SHIP_TYPE = ?";
// + " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND SHIP_TYPE = ? AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND SHIP_TYPE = ? AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL";
*/
sql = sSQL + " SHIP_TYPE = ? AND B.CUST_CODE IS NULL";
}
else if ("".equalsIgnoreCase(shipType) || "L".equalsIgnoreCase(shipType))
{
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE, T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
/*sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE, T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " WHERE ( A.PIN__FR >= ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO <= ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
......@@ -17002,10 +17132,12 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? ";
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL";
*/
sql = sSQL + " MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE = ? AND B.CUST_CODE IS NULL";
}
else
{
sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
/* sql = " SELECT A.TRAN_CODE AS TRAN_CODE,A.TRANS_MODE AS TRANS_MODE,A.MAX_WEIGHT,A.LOC_TYPE,A.SHIP_TYPE,T.TRAN_CODE AS TRAN_CODE , T.SERVICE_CODE AS SERVICE_CODE,T.SHIPMENT_TYPE AS SHIPMENT_TYPE FROM DISTROUTEDET A,DISTROUTE B ,TRANSPORTER T"
+ " WHERE ( A.PIN__FR = ? OR A.PIN__FR = ' ' ) AND (A.PIN__TO = ? OR A.PIN__TO = ' ') AND (A.STAN_CODE__FR =? OR A.STAN_CODE__FR = ' ' ) "
+ " AND ( A.STAN_CODE__TO =? OR A.STAN_CODE__TO = ' ') AND ( A.STATE_CODE__FR = ? OR A.STATE_CODE__FR = ' ') "
+ " AND ( A.STATE_CODE__TO = ? OR A.STATE_CODE__TO = ' ' ) AND A.DIST_ROUTE = B.DIST_ROUTE AND MIN_WEIGHT <= ? "
......@@ -17014,6 +17146,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P')";
// + " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE ";
+ " AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND T.TRAN_CODE = A.TRAN_CODE AND B.CUST_CODE IS NULL";
*/
sql = sSQL + " MIN_WEIGHT <= ? AND MAX_WEIGHT >= ? AND MIN_CASE <= ? AND MAX_CASE >= ? AND SHIP_TYPE NOT IN ('M','P') AND B.CUST_CODE IS NULL";
}
......@@ -17064,6 +17198,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
serviceCode=rs.getString("SERVICE_CODE");
// CHANGE BY REKHA ON 27-05-13 ADD SERVICE_CODE END
shipmentType = rs.getString("SHIPMENT_TYPE");
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
adsiFlag = rs.getString("ADSI_FLAG");
}
if( rs != null )
{
......@@ -17086,6 +17222,8 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
transInfoMap.put("SERVICE_CODE", serviceCode);
transInfoMap.put("PIN", pinTo);
transInfoMap.put("SHIPMENT_TYPE",shipmentType);
//Changed By Pragyan 23-DEC-13 To check ADSI Connection is required.(KB/Ashish mail Dt.121413)
transInfoMap.put("ADSI_FLAG",adsiFlag);
transInfoMap.putAll(sordMap);
if( rs != null )
......@@ -17141,7 +17279,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
String custCode = "",stanCode = "",siteCodeShip = "",stateCodeDlv = "",shipConsGrp = ""
//Changed By Rekha to get additional fields for ADSI
,custName="",custShName = "",shipCity="",shipCountry = "",shipAdd1 = "",shipAdd2 = "",shipAdd3 = "",
shipPh="",shipFax ="",shipMailId = "",custPord = "",dlvPin = "";
shipPh="",shipFax ="",shipMailId = "",custPord = "",dlvPin = "", frtTerm = "";
//changed by sankara on 11/10/13 for getting drug_lic_no_1 and drug_licno1_upto start.
String licenceNo = "";
java.sql.Date lincenceUpto = null;
......@@ -17199,7 +17337,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
+" C.DRUG_LIC_NO_1 AS DRUG_LIC_NO_1,"
+" C.DRUG_LICNO1_UPTO AS DRUG_LICNO1_UPTO, "
//changed by sankara on 11/10/13 for getting drug_lic_no_1 and drug_licno1_upto end.
+" S.DLV_PIN AS DLV_PIN"
+" S.DLV_PIN AS DLV_PIN, "
//changed by Pragyan on 23/12/13 for getting FRT TERM.
+" S.FRT_TERM AS FRT_TERM"
+" FROM SORDER S,CUSTOMER C"
+" WHERE S.CUST_CODE__DLV = C.CUST_CODE "
+" AND S.SALE_ORDER = ? ";
......@@ -17231,6 +17371,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
licenceNo = rs.getString("DRUG_LIC_NO_1");
lincenceUpto = rs.getDate("DRUG_LICNO1_UPTO");
//changed by sankara on 11/10/13 for getting drug_lic_no_1 and drug_licno1_upto end.
frtTerm = rs.getString("FRT_TERM");
}
//changed by sankara on 14/10/13 for getting drug_lic_no_1 and drug_licno1_upto start.
if( rs != null )
......@@ -17310,7 +17451,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
sordInfoMap.put("SHIP_CONS_GRP", custCode);
}
sordInfoMap.put("CUST_PORD", custPord);
sordInfoMap.put("FRT_TERM", frtTerm);
if( rs != null )
{
rs.close();
......
......@@ -151,19 +151,19 @@
<GroupBox>
<band>Detail</band>
<text>Filter Parameters</text>
<border>2</border>
<color>33554432</color>
<border>5</border>
<color>0</color>
<x>30</x>
<y>22</y>
<height>227</height>
<width>511</width>
<width>548</width>
<name>gb_1</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -172,6 +172,34 @@
<color>67108864</color>
</background>
</GroupBox>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>0</border>
<color>0</color>
<x>75</x>
<y>50</y>
<height>16</height>
<width>115</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>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
......@@ -179,10 +207,10 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<x>195</x>
<y>50</y>
<height>19</height>
<width>95</width>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -198,10 +226,10 @@
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -210,6 +238,34 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sale Order From:</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>74</y>
<height>16</height>
<width>151</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr_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>553648127</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
......@@ -217,10 +273,10 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<x>195</x>
<y>74</y>
<height>16</height>
<width>95</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -234,10 +290,10 @@
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -246,98 +302,78 @@
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>2</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>97</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<alignment>1</alignment>
<text>To:</text>
<border>0</border>
<color>0</color>
<x>378</x>
<y>74</y>
<height>16</height>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__fr</name>
<name>sale_order__to_t</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
</TextObject>
<TextObject>
<band>Detail</band>
<id>4</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>121</y>
<height>19</height>
<width>95</width>
<format>[general]</format>
<alignment>1</alignment>
<text>Customer Group From:</text>
<border>0</border>
<color>0</color>
<x>57</x>
<y>98</y>
<height>16</height>
<width>133</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_fr</name>
<name>cust_code__fr_t</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<mode>1</mode>
<color>553648127</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>6</id>
<id>2</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>145</y>
<height>19</height>
<width>48</width>
<x>195</x>
<y>98</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__fr</name>
<name>cust_code__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -348,10 +384,10 @@
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -363,23 +399,23 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Site Code:</text>
<border>6</border>
<color>33554432</color>
<x>75</x>
<y>50</y>
<text>To:</text>
<border>0</border>
<color>0</color>
<x>378</x>
<y>98</y>
<height>16</height>
<width>115</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>site_code_t</name>
<name>cust_code__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -391,79 +427,89 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Sale Order From:</text>
<border>6</border>
<color>33554432</color>
<text>Customer (Delivery) From:</text>
<border>0</border>
<color>0</color>
<x>39</x>
<y>74</y>
<y>122</y>
<height>16</height>
<width>151</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__fr_t</name>
<name>cust_code__dlv_fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer Group From:</text>
<border>6</border>
<id>4</id>
<alignment>0</alignment>
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>57</x>
<y>98</y>
<x>195</x>
<y>122</y>
<height>16</height>
<width>133</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__fr_t</name>
<name>cust_code__dlv_fr</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Customer (Delivery) From:</text>
<border>6</border>
<color>33554432</color>
<x>39</x>
<text>To:</text>
<border>0</border>
<color>0</color>
<x>378</x>
<y>122</y>
<height>16</height>
<width>151</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_fr_t</name>
<name>cust_code__dlv_to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -476,8 +522,8 @@
<band>Detail</band>
<alignment>1</alignment>
<text>Item Series From:</text>
<border>6</border>
<color>33554432</color>
<border>0</border>
<color>0</color>
<x>75</x>
<y>146</y>
<height>16</height>
......@@ -488,66 +534,76 @@
<name>item_ser__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code From:</text>
<border>6</border>
<id>6</id>
<alignment>0</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>75</x>
<y>170</y>
<x>195</x>
<y>146</y>
<height>16</height>
<width>115</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__fr_t</name>
<name>item_ser__fr</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot No From:</text>
<border>6</border>
<color>33554432</color>
<x>75</x>
<y>194</y>
<text>To:</text>
<border>0</border>
<color>0</color>
<x>378</x>
<y>146</y>
<height>16</height>
<width>115</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__fr_t</name>
<name>item_ser__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -559,29 +615,29 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Carton From:</text>
<border>6</border>
<color>33554432</color>
<x>74</x>
<y>218</y>
<text>Item Code From:</text>
<border>0</border>
<color>0</color>
<x>75</x>
<y>170</y>
<height>16</height>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no__fr_t</name>
<name>item_code__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<ColumnObject>
......@@ -591,10 +647,10 @@
<tabsequence>100</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>169</y>
<height>19</height>
<width>95</width>
<x>195</x>
<y>170</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -610,84 +666,10 @@
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<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>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>194</y>
<height>19</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__fr</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>14</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>33554432</color>
<x>198</x>
<y>219</y>
<height>16</height>
<width>126</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no__fr</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>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -700,22 +682,22 @@
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<color>33554432</color>
<x>406</x>
<y>74</y>
<border>0</border>
<color>0</color>
<x>378</x>
<y>170</y>
<height>16</height>
<width>24</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__to_t</name>
<name>item_code__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -727,79 +709,89 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<color>33554432</color>
<x>406</x>
<y>98</y>
<text>Lot No From:</text>
<border>0</border>
<color>0</color>
<x>75</x>
<y>194</y>
<height>16</height>
<width>24</width>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__to_t</name>
<name>lot_no__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<id>10</id>
<alignment>0</alignment>
<tabsequence>120</tabsequence>
<border>5</border>
<color>33554432</color>
<x>406</x>
<y>122</y>
<x>195</x>
<y>194</y>
<height>16</height>
<width>24</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_to_t</name>
<name>lot_no__fr</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>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<color>33554432</color>
<x>452</x>
<y>146</y>
<border>0</border>
<color>0</color>
<x>378</x>
<y>194</y>
<height>16</height>
<width>24</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_ser__to_t</name>
<name>lot_no__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -811,79 +803,87 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<color>33554432</color>
<x>406</x>
<y>170</y>
<text>Carton From:</text>
<border>0</border>
<color>0</color>
<x>75</x>
<y>218</y>
<height>16</height>
<width>24</width>
<width>115</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__to_t</name>
<name>carton_no__fr_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<color>553648127</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<id>14</id>
<alignment>0</alignment>
<tabsequence>140</tabsequence>
<border>5</border>
<color>33554432</color>
<x>375</x>
<y>194</y>
<x>195</x>
<y>218</y>
<height>16</height>
<width>24</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__to_t</name>
<name>carton_no__fr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>To:</text>
<border>6</border>
<color>33554432</color>
<x>375</x>
<y>219</y>
<border>0</border>
<color>0</color>
<x>378</x>
<y>218</y>
<height>16</height>
<width>24</width>
<width>52</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no__to_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
......@@ -894,20 +894,20 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>15</id>
<id>13</id>
<alignment>0</alignment>
<tabsequence>150</tabsequence>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>404</x>
<y>219</y>
<x>435</x>
<y>74</y>
<height>16</height>
<width>126</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>carton_no__to</name>
<name>sale_order__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -930,20 +930,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>11</id>
<id>3</id>
<alignment>0</alignment>
<tabsequence>130</tabsequence>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>404</x>
<y>194</y>
<height>19</height>
<width>126</width>
<x>435</x>
<y>98</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no__to</name>
<name>cust_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -968,20 +968,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>5</id>
<alignment>0</alignment>
<tabsequence>110</tabsequence>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>435</x>
<y>169</y>
<height>19</height>
<width>95</width>
<y>122</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code__to</name>
<name>cust_code__dlv_to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1011,10 +1011,10 @@
<tabsequence>90</tabsequence>
<border>5</border>
<color>33554432</color>
<x>482</x>
<y>145</y>
<height>19</height>
<width>48</width>
<x>435</x>
<y>146</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -1044,20 +1044,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>5</id>
<id>9</id>
<alignment>0</alignment>
<tabsequence>70</tabsequence>
<tabsequence>110</tabsequence>
<border>5</border>
<color>33554432</color>
<x>435</x>
<y>121</y>
<height>19</height>
<width>95</width>
<y>170</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__dlv_to</name>
<name>item_code__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1082,20 +1082,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>3</id>
<id>11</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>130</tabsequence>
<border>5</border>
<color>33554432</color>
<x>435</x>
<y>97</y>
<height>19</height>
<width>95</width>
<y>194</y>
<height>16</height>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>cust_code__to</name>
<name>lot_no__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......@@ -1120,20 +1120,20 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>13</id>
<id>15</id>
<alignment>0</alignment>
<tabsequence>30</tabsequence>
<tabsequence>150</tabsequence>
<border>5</border>
<color>33554432</color>
<x>435</x>
<y>74</y>
<y>218</y>
<height>16</height>
<width>95</width>
<width>118</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sale_order__to</name>
<name>carton_no__to</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
......
......@@ -32,7 +32,7 @@
<grid.lines>0</grid.lines>
</BaseDefinition>
<Header>
<height>23</height>
<height>22</height>
<color>536870912</color>
</Header>
<Summary>
......@@ -316,7 +316,14 @@
<name>error_msg</name>
<dbname>ship_docs.error_msg</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;ship_docs&quot; ) TABLE(NAME=&quot;shipment&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_C&quot; ) TABLE(NAME=&quot;transporter&quot; ) COLUMN(NAME=&quot;ship_docs.shipment_id&quot;) COLUMN(NAME=&quot;ship_docs.line_no&quot;) COLUMN(NAME=&quot;ship_docs.ref_ser&quot;) COLUMN(NAME=&quot;ship_docs.start_dt&quot;) COLUMN(NAME=&quot;ship_docs.road_permit_no&quot;) COLUMN(NAME=&quot;ship_docs.remarks&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code&quot;) COLUMN(NAME=&quot;ship_docs.plan_load_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_etd&quot;) COLUMN(NAME=&quot;ship_docs.plan_eta&quot;) COLUMN(NAME=&quot;ship_docs.actual_load_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_dept&quot;) COLUMN(NAME=&quot;ship_docs.actual_arrival&quot;) COLUMN(NAME=&quot;ship_docs.transit_time&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__ship&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__dlv&quot;) COLUMN(NAME=&quot;ship_docs.gross_weight&quot;) COLUMN(NAME=&quot;ship_docs.tare_weight&quot;) COLUMN(NAME=&quot;ship_docs.no_art&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__frt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__bc&quot;) COLUMN(NAME=&quot;ship_docs.exch_rate&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt__bc&quot;) COLUMN(NAME=&quot;ship_docs.volume&quot;) COLUMN(NAME=&quot;ship_docs.tran_code&quot;) COLUMN(NAME=&quot;ship_docs.ref_id&quot;) COLUMN(NAME=&quot;CURRENCY_A.descr&quot;) COLUMN(NAME=&quot;STATION_A.descr&quot;) COLUMN(NAME=&quot;STATION_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_C.descr&quot;) COLUMN(NAME=&quot;transporter.tran_name&quot;) COLUMN(NAME=&quot;ship_docs.ptcn&quot;) COMPUTE(NAME=&quot;(ship_docs.gross_weight - ship_docs.tare_weight) as ~&quot;net_amt~&quot;&quot;) COLUMN(NAME=&quot;ship_docs.desp_confirmed&quot;) COLUMN(NAME=&quot;ship_docs.error_msg&quot;) JOIN (LEFT=&quot;ship_docs.curr_code&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_A.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__ship&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_A.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__ship&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__dlv&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_B.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__dlv&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__bc&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_C.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__bc&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__frt&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_B.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__frt&quot; ) JOIN (LEFT=&quot;ship_docs.tran_code&quot; OP =&quot;=&quot;RIGHT=&quot;transporter.tran_code&quot; OUTER1 =&quot;ship_docs.tran_code&quot; ) JOIN (LEFT=&quot;ship_docs.shipment_id&quot; OP =&quot;=&quot;RIGHT=&quot;shipment.shipment_id&quot; )WHERE( EXP1 =&quot;SHIP_DOCS.SHIPMENT_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:as_shipment_id&quot; ) ) ORDER(NAME=&quot;ship_docs.line_no&quot; ASC=yes ) ARG(NAME = &quot;as_shipment_id&quot; TYPE = string) </retrieve>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>freight_amt_add</name>
<dbname>ship_docs.freight_amt_add</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;ship_docs&quot; ) TABLE(NAME=&quot;shipment&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_C&quot; ) TABLE(NAME=&quot;transporter&quot; ) COLUMN(NAME=&quot;ship_docs.shipment_id&quot;) COLUMN(NAME=&quot;ship_docs.line_no&quot;) COLUMN(NAME=&quot;ship_docs.ref_ser&quot;) COLUMN(NAME=&quot;ship_docs.start_dt&quot;) COLUMN(NAME=&quot;ship_docs.road_permit_no&quot;) COLUMN(NAME=&quot;ship_docs.remarks&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code&quot;) COLUMN(NAME=&quot;ship_docs.plan_load_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_etd&quot;) COLUMN(NAME=&quot;ship_docs.plan_eta&quot;) COLUMN(NAME=&quot;ship_docs.actual_load_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_dept&quot;) COLUMN(NAME=&quot;ship_docs.actual_arrival&quot;) COLUMN(NAME=&quot;ship_docs.transit_time&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__ship&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__dlv&quot;) COLUMN(NAME=&quot;ship_docs.gross_weight&quot;) COLUMN(NAME=&quot;ship_docs.tare_weight&quot;) COLUMN(NAME=&quot;ship_docs.no_art&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__frt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__bc&quot;) COLUMN(NAME=&quot;ship_docs.exch_rate&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt__bc&quot;) COLUMN(NAME=&quot;ship_docs.volume&quot;) COLUMN(NAME=&quot;ship_docs.tran_code&quot;) COLUMN(NAME=&quot;ship_docs.ref_id&quot;) COLUMN(NAME=&quot;CURRENCY_A.descr&quot;) COLUMN(NAME=&quot;STATION_A.descr&quot;) COLUMN(NAME=&quot;STATION_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_C.descr&quot;) COLUMN(NAME=&quot;transporter.tran_name&quot;) COLUMN(NAME=&quot;ship_docs.ptcn&quot;) COMPUTE(NAME=&quot;(ship_docs.gross_weight - ship_docs.tare_weight) as ~&quot;net_amt~&quot;&quot;) COLUMN(NAME=&quot;ship_docs.desp_confirmed&quot;) COLUMN(NAME=&quot;ship_docs.error_msg&quot;) COLUMN(NAME=&quot;ship_docs.freight_amt_add&quot;) JOIN (LEFT=&quot;ship_docs.curr_code&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_A.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__ship&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_A.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__ship&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__dlv&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_B.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__dlv&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__bc&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_C.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__bc&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__frt&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_B.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__frt&quot; ) JOIN (LEFT=&quot;ship_docs.tran_code&quot; OP =&quot;=&quot;RIGHT=&quot;transporter.tran_code&quot; OUTER1 =&quot;ship_docs.tran_code&quot; ) JOIN (LEFT=&quot;ship_docs.shipment_id&quot; OP =&quot;=&quot;RIGHT=&quot;shipment.shipment_id&quot; )WHERE( EXP1 =&quot;SHIP_DOCS.SHIPMENT_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:as_shipment_id&quot; ) ) ORDER(NAME=&quot;ship_docs.line_no&quot; ASC=yes ) ARG(NAME = &quot;as_shipment_id&quot; TYPE = string) </retrieve>
<update>SHIP_DOCS</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -1196,18 +1203,18 @@
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Net Amt</text>
<alignment>2</alignment>
<text>Desp Confirmed</text>
<border>6</border>
<color>33554432</color>
<x>3194</x>
<x>278</x>
<y>4</y>
<height>16</height>
<width>60</width>
<width>91</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>net_amt_t</name>
<name>desp_confirmed_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1225,17 +1232,17 @@
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Desp Confirmed</text>
<text>Error Message</text>
<border>6</border>
<color>33554432</color>
<x>278</x>
<x>371</x>
<y>4</y>
<height>16</height>
<width>91</width>
<width>268</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>desp_confirmed_t</name>
<name>error_msg_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -1252,18 +1259,46 @@
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Error Message</text>
<alignment>0</alignment>
<text>Net Amt</text>
<border>6</border>
<color>33554432</color>
<x>371</x>
<x>3194</x>
<y>4</y>
<height>16</height>
<width>268</width>
<width>60</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>error_msg_t</name>
<name>net_amt_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>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Parcel Freight Amount</text>
<border>6</border>
<color>33554432</color>
<x>3256</x>
<y>4</y>
<height>16</height>
<width>213</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>freight_amt_add_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -2495,6 +2530,43 @@
<color>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>40</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>0</color>
<x>3256</x>
<y>1</y>
<height>16</height>
<width>213</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>freight_amt_add</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<criteria.required>yes</criteria.required>
<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>1090519039</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -31,15 +31,15 @@
</print>
</BaseDefinition>
<Summary>
<height>0</height>
<height>19</height>
<color>536870912</color>
</Summary>
<Footer>
<height>0</height>
<height>29</height>
<color>536870912</color>
</Footer>
<Detail>
<height>457</height>
<height>489</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -318,7 +318,14 @@
<name>error_msg</name>
<dbname>ship_docs.error_msg</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;ship_docs&quot; ) TABLE(NAME=&quot;shipment&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_C&quot; ) TABLE(NAME=&quot;transporter&quot; ) COLUMN(NAME=&quot;ship_docs.shipment_id&quot;) COLUMN(NAME=&quot;ship_docs.line_no&quot;) COLUMN(NAME=&quot;ship_docs.ref_ser&quot;) COLUMN(NAME=&quot;ship_docs.start_dt&quot;) COLUMN(NAME=&quot;ship_docs.road_permit_no&quot;) COLUMN(NAME=&quot;ship_docs.remarks&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code&quot;) COLUMN(NAME=&quot;ship_docs.plan_load_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_etd&quot;) COLUMN(NAME=&quot;ship_docs.plan_eta&quot;) COLUMN(NAME=&quot;ship_docs.actual_load_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_dept&quot;) COLUMN(NAME=&quot;ship_docs.actual_arrival&quot;) COLUMN(NAME=&quot;ship_docs.transit_time&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__ship&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__dlv&quot;) COLUMN(NAME=&quot;ship_docs.gross_weight&quot;) COLUMN(NAME=&quot;ship_docs.tare_weight&quot;) COLUMN(NAME=&quot;ship_docs.no_art&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__frt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__bc&quot;) COLUMN(NAME=&quot;ship_docs.exch_rate&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt__bc&quot;) COLUMN(NAME=&quot;ship_docs.volume&quot;) COLUMN(NAME=&quot;ship_docs.tran_code&quot;) COLUMN(NAME=&quot;ship_docs.ref_id&quot;) COLUMN(NAME=&quot;CURRENCY_A.descr&quot;) COLUMN(NAME=&quot;STATION_A.descr&quot;) COLUMN(NAME=&quot;STATION_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_C.descr&quot;) COLUMN(NAME=&quot;transporter.tran_name&quot;) COLUMN(NAME=&quot;ship_docs.ptcn&quot;) COMPUTE(NAME=&quot;(ship_docs.gross_weight - ship_docs.tare_weight) as ~&quot;net_amt~&quot;&quot;) COLUMN(NAME=&quot;ship_docs.desp_confirmed&quot;) COLUMN(NAME=&quot;ship_docs.error_msg&quot;) JOIN (LEFT=&quot;ship_docs.curr_code&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_A.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__ship&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_A.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__ship&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__dlv&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_B.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__dlv&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__frt&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_B.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__frt&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__bc&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_C.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__bc&quot; ) JOIN (LEFT=&quot;ship_docs.tran_code&quot; OP =&quot;=&quot;RIGHT=&quot;transporter.tran_code&quot; OUTER1 =&quot;ship_docs.tran_code&quot; ) JOIN (LEFT=&quot;ship_docs.shipment_id&quot; OP =&quot;=&quot;RIGHT=&quot;shipment.shipment_id&quot; )WHERE( EXP1 =&quot;SHIP_DOCS.SHIPMENT_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:as_shipment_id&quot; ) ) ORDER(NAME=&quot;ship_docs.line_no&quot; ASC=yes ) ARG(NAME = &quot;as_shipment_id&quot; TYPE = string) </retrieve>
<table_column>
<type precision="3">decimal</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>freight_amt_add</name>
<dbname>ship_docs.freight_amt_add</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;ship_docs&quot; ) TABLE(NAME=&quot;shipment&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_A&quot; ) TABLE(NAME=&quot;station&quot; ALIAS=&quot;STATION_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_B&quot; ) TABLE(NAME=&quot;currency&quot; ALIAS=&quot;CURRENCY_C&quot; ) TABLE(NAME=&quot;transporter&quot; ) COLUMN(NAME=&quot;ship_docs.shipment_id&quot;) COLUMN(NAME=&quot;ship_docs.line_no&quot;) COLUMN(NAME=&quot;ship_docs.ref_ser&quot;) COLUMN(NAME=&quot;ship_docs.start_dt&quot;) COLUMN(NAME=&quot;ship_docs.road_permit_no&quot;) COLUMN(NAME=&quot;ship_docs.remarks&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code&quot;) COLUMN(NAME=&quot;ship_docs.plan_load_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.plan_etd&quot;) COLUMN(NAME=&quot;ship_docs.plan_eta&quot;) COLUMN(NAME=&quot;ship_docs.actual_load_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_unload_time&quot;) COLUMN(NAME=&quot;ship_docs.actual_dept&quot;) COLUMN(NAME=&quot;ship_docs.actual_arrival&quot;) COLUMN(NAME=&quot;ship_docs.transit_time&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__ship&quot;) COLUMN(NAME=&quot;ship_docs.stan_code__dlv&quot;) COLUMN(NAME=&quot;ship_docs.gross_weight&quot;) COLUMN(NAME=&quot;ship_docs.tare_weight&quot;) COLUMN(NAME=&quot;ship_docs.no_art&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__frt&quot;) COLUMN(NAME=&quot;ship_docs.curr_code__bc&quot;) COLUMN(NAME=&quot;ship_docs.exch_rate&quot;) COLUMN(NAME=&quot;ship_docs.frt_amt__bc&quot;) COLUMN(NAME=&quot;ship_docs.volume&quot;) COLUMN(NAME=&quot;ship_docs.tran_code&quot;) COLUMN(NAME=&quot;ship_docs.ref_id&quot;) COLUMN(NAME=&quot;CURRENCY_A.descr&quot;) COLUMN(NAME=&quot;STATION_A.descr&quot;) COLUMN(NAME=&quot;STATION_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_B.descr&quot;) COLUMN(NAME=&quot;CURRENCY_C.descr&quot;) COLUMN(NAME=&quot;transporter.tran_name&quot;) COLUMN(NAME=&quot;ship_docs.ptcn&quot;) COMPUTE(NAME=&quot;(ship_docs.gross_weight - ship_docs.tare_weight) as ~&quot;net_amt~&quot;&quot;) COLUMN(NAME=&quot;ship_docs.desp_confirmed&quot;) COLUMN(NAME=&quot;ship_docs.error_msg&quot;) COLUMN(NAME=&quot;ship_docs.freight_amt_add&quot;) JOIN (LEFT=&quot;ship_docs.curr_code&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_A.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__ship&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_A.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__ship&quot; ) JOIN (LEFT=&quot;ship_docs.stan_code__dlv&quot; OP =&quot;=&quot;RIGHT=&quot;STATION_B.stan_code&quot; OUTER1 =&quot;ship_docs.stan_code__dlv&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__frt&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_B.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__frt&quot; ) JOIN (LEFT=&quot;ship_docs.curr_code__bc&quot; OP =&quot;=&quot;RIGHT=&quot;CURRENCY_C.curr_code&quot; OUTER1 =&quot;ship_docs.curr_code__bc&quot; ) JOIN (LEFT=&quot;ship_docs.tran_code&quot; OP =&quot;=&quot;RIGHT=&quot;transporter.tran_code&quot; OUTER1 =&quot;ship_docs.tran_code&quot; ) JOIN (LEFT=&quot;ship_docs.shipment_id&quot; OP =&quot;=&quot;RIGHT=&quot;shipment.shipment_id&quot; )WHERE( EXP1 =&quot;SHIP_DOCS.SHIPMENT_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:as_shipment_id&quot; ) ) ORDER(NAME=&quot;ship_docs.line_no&quot; ASC=yes ) ARG(NAME = &quot;as_shipment_id&quot; TYPE = string) </retrieve>
<update>SHIP_DOCS</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
......@@ -332,10 +339,10 @@
<text>Basic</text>
<border>2</border>
<color>0</color>
<x>1</x>
<x>3</x>
<y>1</y>
<height>450</height>
<width>521</width>
<height>471</height>
<width>537</width>
<name>basic</name>
<visible>1</visible>
<font>
......@@ -357,7 +364,7 @@
<text>Shipment Id:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>18</y>
<height>16</height>
<width>104</width>
......@@ -386,7 +393,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>123</x>
<x>141</x>
<y>18</y>
<height>16</height>
<width>70</width>
......@@ -423,7 +430,7 @@
<text>Line No:</text>
<border>0</border>
<color>0</color>
<x>216</x>
<x>234</x>
<y>18</y>
<height>16</height>
<width>53</width>
......@@ -452,7 +459,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>273</x>
<x>291</x>
<y>18</y>
<height>16</height>
<width>75</width>
......@@ -489,7 +496,7 @@
<text>PTCN No :</text>
<border>0</border>
<color>0</color>
<x>357</x>
<x>375</x>
<y>18</y>
<height>16</height>
<width>78</width>
......@@ -518,7 +525,7 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>18</y>
<height>16</height>
<width>75</width>
......@@ -553,7 +560,7 @@
<text>Reference Series :</text>
<border>0</border>
<color>0</color>
<x>7</x>
<x>25</x>
<y>39</y>
<height>16</height>
<width>112</width>
......@@ -582,7 +589,7 @@
<tabsequence>20</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>39</y>
<height>16</height>
<width>91</width>
......@@ -620,7 +627,7 @@
<text>Reference Id :</text>
<border>0</border>
<color>0</color>
<x>350</x>
<x>368</x>
<y>39</y>
<height>16</height>
<width>86</width>
......@@ -649,7 +656,7 @@
<tabsequence>30</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>39</y>
<height>16</height>
<width>75</width>
......@@ -685,7 +692,7 @@
<text>Starting Date :</text>
<border>0</border>
<color>0</color>
<x>32</x>
<x>50</x>
<y>102</y>
<height>16</height>
<width>87</width>
......@@ -713,7 +720,7 @@
<text>Road Permit No:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>124</y>
<height>16</height>
<width>104</width>
......@@ -741,7 +748,7 @@
<text>Remarks:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>145</y>
<height>16</height>
<width>104</width>
......@@ -769,7 +776,7 @@
<text>Currency Code :</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>167</y>
<height>16</height>
<width>104</width>
......@@ -797,7 +804,7 @@
<text>Plan Load Time:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>188</y>
<height>16</height>
<width>104</width>
......@@ -825,7 +832,7 @@
<text>Est.Time of Arrival:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<x>23</x>
<y>209</y>
<height>16</height>
<width>115</width>
......@@ -853,7 +860,7 @@
<text>Actual Load Time:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>230</y>
<height>16</height>
<width>104</width>
......@@ -881,7 +888,7 @@
<text>Act.Time of Arrival:</text>
<border>0</border>
<color>0</color>
<x>7</x>
<x>25</x>
<y>252</y>
<height>16</height>
<width>112</width>
......@@ -909,7 +916,7 @@
<text>Transit Time:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>273</y>
<height>16</height>
<width>104</width>
......@@ -937,7 +944,7 @@
<text>Shipping Station :</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>295</y>
<height>16</height>
<width>104</width>
......@@ -965,7 +972,7 @@
<text>Shipping Delivery :</text>
<border>0</border>
<color>0</color>
<x>11</x>
<x>29</x>
<y>317</y>
<height>16</height>
<width>108</width>
......@@ -993,7 +1000,7 @@
<text>Gross Weight:</text>
<border>0</border>
<color>0</color>
<x>31</x>
<x>49</x>
<y>339</y>
<height>16</height>
<width>88</width>
......@@ -1021,7 +1028,7 @@
<text>Frt. Currency Code:</text>
<border>0</border>
<color>0</color>
<x>5</x>
<x>23</x>
<y>361</y>
<height>16</height>
<width>114</width>
......@@ -1049,7 +1056,7 @@
<text>Base Currency Code:</text>
<border>0</border>
<color>0</color>
<x>2</x>
<x>20</x>
<y>383</y>
<height>16</height>
<width>120</width>
......@@ -1077,7 +1084,7 @@
<text>Volume:</text>
<border>0</border>
<color>0</color>
<x>15</x>
<x>33</x>
<y>405</y>
<height>16</height>
<width>104</width>
......@@ -1099,72 +1106,6 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transporter :</text>
<border>0</border>
<color>0</color>
<x>7</x>
<y>425</y>
<height>16</height>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>280</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<y>426</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</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>1090519039</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>27</id>
......@@ -1172,7 +1113,7 @@
<tabsequence>260</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>405</y>
<height>16</height>
<width>91</width>
......@@ -1210,7 +1151,7 @@
<tabsequence>240</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>383</y>
<height>16</height>
<width>54</width>
......@@ -1248,7 +1189,7 @@
<tabsequence>230</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>361</y>
<height>16</height>
<width>54</width>
......@@ -1286,7 +1227,7 @@
<tabsequence>210</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>339</y>
<height>16</height>
<width>91</width>
......@@ -1324,7 +1265,7 @@
<tabsequence>200</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>317</y>
<height>16</height>
<width>91</width>
......@@ -1362,7 +1303,7 @@
<tabsequence>190</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>295</y>
<height>16</height>
<width>91</width>
......@@ -1400,7 +1341,7 @@
<tabsequence>170</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>273</y>
<height>16</height>
<width>91</width>
......@@ -1435,7 +1376,7 @@
<tabsequence>150</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>252</y>
<height>16</height>
<width>91</width>
......@@ -1470,7 +1411,7 @@
<tabsequence>130</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>230</y>
<height>16</height>
<width>91</width>
......@@ -1505,7 +1446,7 @@
<tabsequence>110</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>209</y>
<height>16</height>
<width>91</width>
......@@ -1540,7 +1481,7 @@
<tabsequence>90</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>188</y>
<height>16</height>
<width>91</width>
......@@ -1575,7 +1516,7 @@
<tabsequence>80</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>167</y>
<height>16</height>
<width>91</width>
......@@ -1613,7 +1554,7 @@
<tabsequence>60</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>123</y>
<height>16</height>
<width>91</width>
......@@ -1650,7 +1591,7 @@
<text>Freight Amount :</text>
<border>0</border>
<color>0</color>
<x>336</x>
<x>354</x>
<y>102</y>
<height>16</height>
<width>99</width>
......@@ -1679,7 +1620,7 @@
<tabsequence>50</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>102</y>
<height>16</height>
<width>75</width>
......@@ -1718,7 +1659,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>219</x>
<x>237</x>
<y>167</y>
<height>16</height>
<width>154</width>
......@@ -1753,7 +1694,7 @@
<text>Plan Unload Time:</text>
<border>0</border>
<color>0</color>
<x>319</x>
<x>337</x>
<y>188</y>
<height>16</height>
<width>117</width>
......@@ -1782,7 +1723,7 @@
<tabsequence>100</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>188</y>
<height>16</height>
<width>75</width>
......@@ -1816,7 +1757,7 @@
<text>Est. Time of Depature :</text>
<border>0</border>
<color>0</color>
<x>295</x>
<x>313</x>
<y>209</y>
<height>16</height>
<width>141</width>
......@@ -1845,7 +1786,7 @@
<tabsequence>120</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>209</y>
<height>16</height>
<width>75</width>
......@@ -1879,7 +1820,7 @@
<text>Actual Unload Time:</text>
<border>0</border>
<color>0</color>
<x>315</x>
<x>333</x>
<y>230</y>
<height>16</height>
<width>121</width>
......@@ -1908,7 +1849,7 @@
<tabsequence>140</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>230</y>
<height>16</height>
<width>75</width>
......@@ -1942,7 +1883,7 @@
<text>Act. Time of Deptature :</text>
<border>0</border>
<color>0</color>
<x>294</x>
<x>312</x>
<y>252</y>
<height>16</height>
<width>142</width>
......@@ -1971,7 +1912,7 @@
<tabsequence>160</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>252</y>
<height>16</height>
<width>75</width>
......@@ -2005,7 +1946,7 @@
<text>No Art:</text>
<border>0</border>
<color>0</color>
<x>381</x>
<x>399</x>
<y>273</y>
<height>16</height>
<width>55</width>
......@@ -2034,7 +1975,7 @@
<tabsequence>180</tabsequence>
<border>5</border>
<color>0</color>
<x>440</x>
<x>458</x>
<y>273</y>
<height>16</height>
<width>75</width>
......@@ -2072,7 +2013,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>219</x>
<x>237</x>
<y>295</y>
<height>16</height>
<width>296</width>
......@@ -2108,7 +2049,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>219</x>
<x>237</x>
<y>317</y>
<height>16</height>
<width>296</width>
......@@ -2143,7 +2084,7 @@
<text>Tare Weight:</text>
<border>0</border>
<color>0</color>
<x>218</x>
<x>236</x>
<y>339</y>
<height>16</height>
<width>80</width>
......@@ -2172,7 +2113,7 @@
<tabsequence>220</tabsequence>
<border>5</border>
<color>0</color>
<x>301</x>
<x>319</x>
<y>339</y>
<height>16</height>
<width>67</width>
......@@ -2209,7 +2150,7 @@
<text>Net Weight:</text>
<border>0</border>
<color>0</color>
<x>372</x>
<x>390</x>
<y>339</y>
<height>16</height>
<width>68</width>
......@@ -2238,7 +2179,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>443</x>
<x>461</x>
<y>339</y>
<height>16</height>
<width>73</width>
......@@ -2274,7 +2215,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>181</x>
<x>199</x>
<y>361</y>
<height>16</height>
<width>150</width>
......@@ -2310,7 +2251,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>181</x>
<x>199</x>
<y>383</y>
<height>16</height>
<width>150</width>
......@@ -2345,7 +2286,7 @@
<text>Exch Rate:</text>
<border>0</border>
<color>0</color>
<x>351</x>
<x>369</x>
<y>383</y>
<height>16</height>
<width>68</width>
......@@ -2374,7 +2315,7 @@
<tabsequence>250</tabsequence>
<border>5</border>
<color>0</color>
<x>424</x>
<x>442</x>
<y>383</y>
<height>16</height>
<width>91</width>
......@@ -2412,7 +2353,7 @@
<tabsequence>270</tabsequence>
<border>5</border>
<color>0</color>
<x>423</x>
<x>441</x>
<y>405</y>
<height>16</height>
<width>92</width>
......@@ -2448,7 +2389,7 @@
<text>Frt. Amount in base :</text>
<border>0</border>
<color>0</color>
<x>289</x>
<x>307</x>
<y>405</y>
<height>16</height>
<width>130</width>
......@@ -2477,7 +2418,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>219</x>
<x>237</x>
<y>426</y>
<height>16</height>
<width>296</width>
......@@ -2513,7 +2454,7 @@
<tabsequence>70</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>145</y>
<height>16</height>
<width>392</width>
......@@ -2551,7 +2492,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>123</x>
<x>141</x>
<y>81</y>
<height>16</height>
<width>392</width>
......@@ -2587,7 +2528,7 @@
<tabsequence>40</tabsequence>
<border>5</border>
<color>0</color>
<x>123</x>
<x>141</x>
<y>102</y>
<height>16</height>
<width>91</width>
......@@ -2622,7 +2563,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>123</x>
<x>141</x>
<y>60</y>
<height>16</height>
<width>91</width>
......@@ -2658,7 +2599,7 @@
<text>Desp Confirmed :</text>
<border>0</border>
<color>0</color>
<x>7</x>
<x>25</x>
<y>60</y>
<height>16</height>
<width>112</width>
......@@ -2686,7 +2627,7 @@
<text>Error Reason :</text>
<border>0</border>
<color>0</color>
<x>7</x>
<x>25</x>
<y>81</y>
<height>16</height>
<width>112</width>
......@@ -2708,6 +2649,136 @@
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transporter :</text>
<border>0</border>
<color>0</color>
<x>25</x>
<y>425</y>
<height>16</height>
<width>113</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_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>
<ColumnObject>
<band>Detail</band>
<id>28</id>
<alignment>0</alignment>
<tabsequence>280</tabsequence>
<border>5</border>
<color>0</color>
<x>142</x>
<y>426</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_code</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>upper</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>1090519039</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Parcel Freight Amount :</text>
<border>0</border>
<color>0</color>
<x>8</x>
<y>449</y>
<height>16</height>
<width>130</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>freight_amt_add_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>40</id>
<alignment>0</alignment>
<tabsequence>290</tabsequence>
<border>5</border>
<color>33554432</color>
<x>142</x>
<y>449</y>
<height>16</height>
<width>91</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>freight_amt_add</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>14</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>79741120</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -44958,3 +44958,37 @@ insert into obj_itemchange(obj_name,form_no,field_name) values ('sordform_tr',1,
-- ADDED BY KUNAL ON 04/JAN/13 for SOF 181 N POINT END
commit;
--changed by sankara on 06/01/2014 for pro_no,freight_amt_add points
ALTER TABLE TRANSPORTER ADD ADSI_FLAG CHAR(1);
ALTER TABLE SHIP_DOCS ADD FREIGHT_AMT_ADD NUMBER(14,3);
ALTER TABLE DESPATCH ADD FREIGHT_AMT_ADD NUMBER(14, 3);
DELETE FROM MESSAGES WHERE MSG_NO='VTREPLORDR';
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 (
'VTREPLORDR',
'Pending Active Replineshment',
'Active Replineshment Pending from the current location. Please complete Active Replineshment first',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'Base ',
'Base ',
NULL,
NULL);
commit;
\ No newline at end of file
......@@ -20,37 +20,37 @@ table(column=(type=char(5) updatewhereclause=no name=site_code dbname="site_code
column=(type=char(20) updatewhereclause=no name=carton_no__fr dbname="carton_no__fr" initial="0" )
column=(type=char(20) updatewhereclause=no name=carton_no__to dbname="carton_no__to" initial="zz" )
)
groupbox(band=detail text="Filter Parameters"border="2" color="33554432" x="30" y="22" height="227" width="511" 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=10 border="5" color="33554432" x="198" y="50" height="19" width="95" format="[general]" html.valueishtml="0" name=site_code 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=12 alignment="0" tabsequence=20 border="5" color="33554432" x="198" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__fr 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=2 alignment="0" tabsequence=40 border="5" color="33554432" x="198" y="97" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__fr 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=4 alignment="0" tabsequence=60 border="5" color="33554432" x="198" y="121" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__dlv_fr 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" )
text(band=detail alignment="1" text="To:" border="6" color="33554432" x="406" y="74" height="16" width="24" html.valueishtml="0" name=sale_order__to_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="To:" border="6" color="33554432" x="406" y="98" height="16" width="24" html.valueishtml="0" name=cust_code__to_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="To:" border="6" color="33554432" x="406" y="122" height="16" width="24" html.valueishtml="0" name=cust_code__dlv_to_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="To:" border="6" color="33554432" x="452" y="146" height="16" width="24" html.valueishtml="0" name=item_ser__to_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="To:" border="6" color="33554432" x="406" y="170" height="16" width="24" html.valueishtml="0" name=item_code__to_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="To:" border="6" color="33554432" x="375" y="194" height="16" width="24" html.valueishtml="0" name=lot_no__to_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="To:" border="6" color="33554432" x="375" y="219" height="16" width="24" html.valueishtml="0" name=carton_no__to_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=15 alignment="0" tabsequence=150 border="5" color="33554432" x="404" y="219" height="16" width="126" format="[general]" html.valueishtml="0" name=carton_no__to 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=11 alignment="0" tabsequence=130 border="5" color="33554432" x="404" y="194" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__to 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=9 alignment="0" tabsequence=110 border="5" color="33554432" x="435" y="168" height="19" width="95" format="[general]" html.valueishtml="0" name=item_code__to 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=7 alignment="0" tabsequence=90 border="5" color="33554432" x="482" y="145" height="19" width="48" format="[general]" html.valueishtml="0" name=item_ser__to 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=5 alignment="0" tabsequence=70 border="5" color="33554432" x="435" y="121" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__dlv_to 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=50 border="5" color="33554432" x="435" y="97" height="19" width="95" format="[general]" html.valueishtml="0" name=cust_code__to 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=13 alignment="0" tabsequence=30 border="5" color="33554432" x="435" y="74" height="16" width="95" format="[general]" html.valueishtml="0" name=sale_order__to 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" )
text(band=detail alignment="1" text="Site Code:" border="6" color="33554432" x="75" y="50" height="16" width="115" 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=detail alignment="1" text="Sale Order From:" border="6" color="33554432" x="39" y="74" height="16" width="151" html.valueishtml="0" name=sale_order__fr_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="Customer Group From:" border="6" color="33554432" x="57" y="98" height="16" width="133" html.valueishtml="0" name=cust_code__fr_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="Customer (Delivery) From:" border="6" color="33554432" x="39" y="122" height="16" width="151" html.valueishtml="0" name=cust_code__dlv_fr_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 Series From:" border="6" color="33554432" x="75" y="146" height="16" width="115" html.valueishtml="0" name=item_ser__fr_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 From:" border="6" color="33554432" x="75" y="170" height="16" width="115" html.valueishtml="0" name=item_code__fr_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="Lot No From:" border="6" color="33554432" x="75" y="194" height="16" width="115" html.valueishtml="0" name=lot_no__fr_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 From:" border="6" color="33554432" x="74" y="218" height="16" width="115" html.valueishtml="0" name=carton_no__fr_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=14 alignment="0" tabsequence=140 border="5" color="33554432" x="198" y="219" height="16" width="126" format="[general]" html.valueishtml="0" name=carton_no__fr 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=10 alignment="0" tabsequence=120 border="5" color="33554432" x="198" y="194" height="19" width="126" format="[general]" html.valueishtml="0" name=lot_no__fr 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=100 border="5" color="33554432" x="198" y="169" height="19" width="95" format="[general]" html.valueishtml="0" name=item_code__fr 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=80 border="5" color="33554432" x="198" y="145" height="19" width="48" format="[general]" html.valueishtml="0" name=item_ser__fr 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" )
groupbox(band=detail text="Filter Parameters"border="5" color="0" x="30" y="22" height="227" width="548" name=gb_1 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=detail alignment="1" text="Site Code:" border="0" color="0" x="75" y="50" height="16" width="115" 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="553648127" )
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="33554432" x="195" y="50" height="16" width="118" format="[general]" html.valueishtml="0" name=site_code 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Sale Order From:" border="0" color="0" x="39" y="74" height="16" width="151" html.valueishtml="0" name=sale_order__fr_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="553648127" )
column(band=detail id=12 alignment="0" tabsequence=20 border="5" color="33554432" x="195" y="74" height="16" width="118" format="[general]" html.valueishtml="0" name=sale_order__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="74" height="16" width="52" html.valueishtml="0" name=sale_order__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="Customer Group From:" border="0" color="0" x="57" y="98" height="16" width="133" html.valueishtml="0" name=cust_code__fr_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="553648127" )
column(band=detail id=2 alignment="0" tabsequence=40 border="5" color="33554432" x="195" y="98" height="16" width="118" format="[general]" html.valueishtml="0" name=cust_code__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="98" height="16" width="52" html.valueishtml="0" name=cust_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="Customer (Delivery) From:" border="0" color="0" x="39" y="122" height="16" width="151" html.valueishtml="0" name=cust_code__dlv_fr_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="553648127" )
column(band=detail id=4 alignment="0" tabsequence=60 border="5" color="33554432" x="195" y="122" height="16" width="118" format="[general]" html.valueishtml="0" name=cust_code__dlv_fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="122" height="16" width="52" html.valueishtml="0" name=cust_code__dlv_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="Item Series From:" border="0" color="0" x="75" y="146" height="16" width="115" html.valueishtml="0" name=item_ser__fr_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="553648127" )
column(band=detail id=6 alignment="0" tabsequence=80 border="5" color="33554432" x="195" y="146" height="16" width="118" format="[general]" html.valueishtml="0" name=item_ser__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="146" height="16" width="52" html.valueishtml="0" name=item_ser__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="Item Code From:" border="0" color="0" x="75" y="170" height="16" width="115" html.valueishtml="0" name=item_code__fr_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="553648127" )
column(band=detail id=8 alignment="0" tabsequence=100 border="5" color="33554432" x="195" y="170" height="16" width="118" format="[general]" html.valueishtml="0" name=item_code__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="170" height="16" width="52" html.valueishtml="0" name=item_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="Lot No From:" border="0" color="0" x="75" y="194" height="16" width="115" html.valueishtml="0" name=lot_no__fr_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="553648127" )
column(band=detail id=10 alignment="0" tabsequence=120 border="5" color="33554432" x="195" y="194" height="16" width="118" format="[general]" html.valueishtml="0" name=lot_no__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="194" height="16" width="52" html.valueishtml="0" name=lot_no__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="Carton From:" border="0" color="0" x="75" y="218" height="16" width="115" html.valueishtml="0" name=carton_no__fr_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="553648127" )
column(band=detail id=14 alignment="0" tabsequence=140 border="5" color="33554432" x="195" y="218" height="16" width="118" format="[general]" html.valueishtml="0" name=carton_no__fr 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="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="To:" border="0" color="0" x="378" y="218" height="16" width="52" html.valueishtml="0" name=carton_no__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" )
column(band=detail id=13 alignment="0" tabsequence=30 border="5" color="33554432" x="435" y="74" height="16" width="118" format="[general]" html.valueishtml="0" name=sale_order__to 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=3 alignment="0" tabsequence=50 border="5" color="33554432" x="435" y="98" height="16" width="118" format="[general]" html.valueishtml="0" name=cust_code__to 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=5 alignment="0" tabsequence=70 border="5" color="33554432" x="435" y="122" height="16" width="118" format="[general]" html.valueishtml="0" name=cust_code__dlv_to 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=7 alignment="0" tabsequence=90 border="5" color="33554432" x="435" y="146" height="16" width="118" format="[general]" html.valueishtml="0" name=item_ser__to 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=9 alignment="0" tabsequence=110 border="5" color="33554432" x="435" y="170" height="16" width="118" format="[general]" html.valueishtml="0" name=item_code__to 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=11 alignment="0" tabsequence=130 border="5" color="33554432" x="435" y="194" height="16" width="118" format="[general]" html.valueishtml="0" name=lot_no__to 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=15 alignment="0" tabsequence=150 border="5" color="33554432" x="435" y="218" height="16" width="118" format="[general]" html.valueishtml="0" name=carton_no__to 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" )
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 )
......
$PBExportHeader$d_shipment_docs_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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" )
header(height=22 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=20 color="536870912" )
......@@ -44,7 +44,8 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=shipme
column=(type=number updatewhereclause=yes name=net_amt dbname="net_amt" )
column=(type=char(1) update=yes updatewhereclause=yes name=desp_confirmed dbname="ship_docs.desp_confirmed" )
column=(type=char(1200) update=yes updatewhereclause=yes name=error_msg dbname="ship_docs.error_msg" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ship_docs~" ) TABLE(NAME=~"shipment~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_C~" ) TABLE(NAME=~"transporter~" ) COLUMN(NAME=~"ship_docs.shipment_id~") COLUMN(NAME=~"ship_docs.line_no~") COLUMN(NAME=~"ship_docs.ref_ser~") COLUMN(NAME=~"ship_docs.start_dt~") COLUMN(NAME=~"ship_docs.road_permit_no~") COLUMN(NAME=~"ship_docs.remarks~") COLUMN(NAME=~"ship_docs.frt_amt~") COLUMN(NAME=~"ship_docs.curr_code~") COLUMN(NAME=~"ship_docs.plan_load_time~") COLUMN(NAME=~"ship_docs.plan_unload_time~") COLUMN(NAME=~"ship_docs.plan_etd~") COLUMN(NAME=~"ship_docs.plan_eta~") COLUMN(NAME=~"ship_docs.actual_load_time~") COLUMN(NAME=~"ship_docs.actual_unload_time~") COLUMN(NAME=~"ship_docs.actual_dept~") COLUMN(NAME=~"ship_docs.actual_arrival~") COLUMN(NAME=~"ship_docs.transit_time~") COLUMN(NAME=~"ship_docs.stan_code__ship~") COLUMN(NAME=~"ship_docs.stan_code__dlv~") COLUMN(NAME=~"ship_docs.gross_weight~") COLUMN(NAME=~"ship_docs.tare_weight~") COLUMN(NAME=~"ship_docs.no_art~") COLUMN(NAME=~"ship_docs.curr_code__frt~") COLUMN(NAME=~"ship_docs.curr_code__bc~") COLUMN(NAME=~"ship_docs.exch_rate~") COLUMN(NAME=~"ship_docs.frt_amt__bc~") COLUMN(NAME=~"ship_docs.volume~") COLUMN(NAME=~"ship_docs.tran_code~") COLUMN(NAME=~"ship_docs.ref_id~") COLUMN(NAME=~"CURRENCY_A.descr~") COLUMN(NAME=~"STATION_A.descr~") COLUMN(NAME=~"STATION_B.descr~") COLUMN(NAME=~"CURRENCY_B.descr~") COLUMN(NAME=~"CURRENCY_C.descr~") COLUMN(NAME=~"transporter.tran_name~") COLUMN(NAME=~"ship_docs.ptcn~") COMPUTE(NAME=~"(ship_docs.gross_weight - ship_docs.tare_weight) as ~~~"net_amt~~~"~") COLUMN(NAME=~"ship_docs.desp_confirmed~") COLUMN(NAME=~"ship_docs.error_msg~") JOIN (LEFT=~"ship_docs.curr_code~" OP =~"=~"RIGHT=~"CURRENCY_A.curr_code~" OUTER1 =~"ship_docs.curr_code~" ) JOIN (LEFT=~"ship_docs.stan_code__ship~" OP =~"=~"RIGHT=~"STATION_A.stan_code~" OUTER1 =~"ship_docs.stan_code__ship~" ) JOIN (LEFT=~"ship_docs.stan_code__dlv~" OP =~"=~"RIGHT=~"STATION_B.stan_code~" OUTER1 =~"ship_docs.stan_code__dlv~" ) JOIN (LEFT=~"ship_docs.curr_code__bc~" OP =~"=~"RIGHT=~"CURRENCY_C.curr_code~" OUTER1 =~"ship_docs.curr_code__bc~" ) JOIN (LEFT=~"ship_docs.curr_code__frt~" OP =~"=~"RIGHT=~"CURRENCY_B.curr_code~" OUTER1 =~"ship_docs.curr_code__frt~" ) JOIN (LEFT=~"ship_docs.tran_code~" OP =~"=~"RIGHT=~"transporter.tran_code~" OUTER1 =~"ship_docs.tran_code~" ) JOIN (LEFT=~"ship_docs.shipment_id~" OP =~"=~"RIGHT=~"shipment.shipment_id~" )WHERE( EXP1 =~"SHIP_DOCS.SHIPMENT_ID~" OP =~"=~" EXP2 =~":as_shipment_id~" ) ) ORDER(NAME=~"ship_docs.line_no~" ASC=yes ) ARG(NAME = ~"as_shipment_id~" TYPE = string) " update="SHIP_DOCS" updatewhere=0 updatekeyinplace=no arguments=(("as_shipment_id", string)) )
column=(type=decimal(3) update=yes updatewhereclause=yes name=freight_amt_add dbname="ship_docs.freight_amt_add" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ship_docs~" ) TABLE(NAME=~"shipment~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_C~" ) TABLE(NAME=~"transporter~" ) COLUMN(NAME=~"ship_docs.shipment_id~") COLUMN(NAME=~"ship_docs.line_no~") COLUMN(NAME=~"ship_docs.ref_ser~") COLUMN(NAME=~"ship_docs.start_dt~") COLUMN(NAME=~"ship_docs.road_permit_no~") COLUMN(NAME=~"ship_docs.remarks~") COLUMN(NAME=~"ship_docs.frt_amt~") COLUMN(NAME=~"ship_docs.curr_code~") COLUMN(NAME=~"ship_docs.plan_load_time~") COLUMN(NAME=~"ship_docs.plan_unload_time~") COLUMN(NAME=~"ship_docs.plan_etd~") COLUMN(NAME=~"ship_docs.plan_eta~") COLUMN(NAME=~"ship_docs.actual_load_time~") COLUMN(NAME=~"ship_docs.actual_unload_time~") COLUMN(NAME=~"ship_docs.actual_dept~") COLUMN(NAME=~"ship_docs.actual_arrival~") COLUMN(NAME=~"ship_docs.transit_time~") COLUMN(NAME=~"ship_docs.stan_code__ship~") COLUMN(NAME=~"ship_docs.stan_code__dlv~") COLUMN(NAME=~"ship_docs.gross_weight~") COLUMN(NAME=~"ship_docs.tare_weight~") COLUMN(NAME=~"ship_docs.no_art~") COLUMN(NAME=~"ship_docs.curr_code__frt~") COLUMN(NAME=~"ship_docs.curr_code__bc~") COLUMN(NAME=~"ship_docs.exch_rate~") COLUMN(NAME=~"ship_docs.frt_amt__bc~") COLUMN(NAME=~"ship_docs.volume~") COLUMN(NAME=~"ship_docs.tran_code~") COLUMN(NAME=~"ship_docs.ref_id~") COLUMN(NAME=~"CURRENCY_A.descr~") COLUMN(NAME=~"STATION_A.descr~") COLUMN(NAME=~"STATION_B.descr~") COLUMN(NAME=~"CURRENCY_B.descr~") COLUMN(NAME=~"CURRENCY_C.descr~") COLUMN(NAME=~"transporter.tran_name~") COLUMN(NAME=~"ship_docs.ptcn~") COMPUTE(NAME=~"(ship_docs.gross_weight - ship_docs.tare_weight) as ~~~"net_amt~~~"~") COLUMN(NAME=~"ship_docs.desp_confirmed~") COLUMN(NAME=~"ship_docs.error_msg~") COLUMN(NAME=~"ship_docs.freight_amt_add~") JOIN (LEFT=~"ship_docs.curr_code~" OP =~"=~"RIGHT=~"CURRENCY_A.curr_code~" OUTER1 =~"ship_docs.curr_code~" ) JOIN (LEFT=~"ship_docs.stan_code__ship~" OP =~"=~"RIGHT=~"STATION_A.stan_code~" OUTER1 =~"ship_docs.stan_code__ship~" ) JOIN (LEFT=~"ship_docs.stan_code__dlv~" OP =~"=~"RIGHT=~"STATION_B.stan_code~" OUTER1 =~"ship_docs.stan_code__dlv~" ) JOIN (LEFT=~"ship_docs.curr_code__bc~" OP =~"=~"RIGHT=~"CURRENCY_C.curr_code~" OUTER1 =~"ship_docs.curr_code__bc~" ) JOIN (LEFT=~"ship_docs.curr_code__frt~" OP =~"=~"RIGHT=~"CURRENCY_B.curr_code~" OUTER1 =~"ship_docs.curr_code__frt~" ) JOIN (LEFT=~"ship_docs.tran_code~" OP =~"=~"RIGHT=~"transporter.tran_code~" OUTER1 =~"ship_docs.tran_code~" ) JOIN (LEFT=~"ship_docs.shipment_id~" OP =~"=~"RIGHT=~"shipment.shipment_id~" )WHERE( EXP1 =~"SHIP_DOCS.SHIPMENT_ID~" OP =~"=~" EXP2 =~":as_shipment_id~" ) ) ORDER(NAME=~"ship_docs.line_no~" ASC=yes ) ARG(NAME = ~"as_shipment_id~" TYPE = string) " update="SHIP_DOCS" updatewhere=0 updatekeyinplace=no arguments=(("as_shipment_id", string)) )
text(band=header alignment="2" text="Shipment Id" border="6" color="0" x="2" y="4" height="16" width="79" html.valueishtml="0" name=shipment_id_t visible="1" resizeable=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="Line No" border="6" color="0" x="83" y="4" height="16" width="47" html.valueishtml="0" name=line_no_t visible="1" resizeable=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="Ref Series" border="6" color="0" x="132" y="4" height="16" width="76" html.valueishtml="0" name=ref_ser_t visible="1" resizeable=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" )
......@@ -75,9 +76,10 @@ text(band=header alignment="2" text="Volume" border="6" color="0" x="3051" y="4"
text(band=header alignment="2" text="Start Date" border="6" color="0" x="641" y="4" height="16" width="71" html.valueishtml="0" name=start_dt_t visible="1" resizeable=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="PTCN" border="6" color="0" x="714" y="4" height="16" width="58" html.valueishtml="0" name=ship_docs_ptcn_t visible="1" font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="2" text="Tran Code" border="6" color="0" x="3125" y="4" height="16" width="67" html.valueishtml="0" name=tran_code_t visible="1" resizeable=1 font.face="Tahoma" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
text(band=header alignment="0" text="Net Amt" border="6" color="33554432" x="3194" y="4" height="16" width="60" html.valueishtml="0" name=net_amt_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="Desp Confirmed" border="6" color="33554432" x="278" y="4" height="16" width="91" html.valueishtml="0" name=desp_confirmed_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="Error Message" border="6" color="33554432" x="371" y="4" height="16" width="268" html.valueishtml="0" name=error_msg_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="0" text="Net Amt" border="6" color="33554432" x="3194" y="4" height="16" width="60" html.valueishtml="0" name=net_amt_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="0" text="Parcel Freight Amount" border="6" color="33554432" x="3256" y="4" height="16" width="213" html.valueishtml="0" name=freight_amt_add_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="0" x="2" y="1" height="16" width="79" format="[general]" html.valueishtml="0" name=shipment_id visible="1" edit.limit=10 edit.case=any 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="1090519039" )
column(band=detail id=2 alignment="0" tabsequence=32766 border="5" color="0" x="83" y="1" height="16" width="47" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=any 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="1090519039" )
column(band=detail id=3 alignment="0" tabsequence=32766 border="5" color="0" x="132" y="1" height="16" width="76" format="[general]" html.valueishtml="0" name=ref_ser visible="1" edit.limit=6 edit.case=any 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="1090519039" )
......@@ -111,6 +113,7 @@ column(band=detail id=28 alignment="0" tabsequence=32766 border="5" color="0" x=
column(band=detail id=37 alignment="1" tabsequence=32766 border="5" color="0" x="3194" y="1" height="16" width="60" format="[general]" html.valueishtml="0" name=net_amt 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="1090519039" )
column(band=detail id=38 alignment="0" tabsequence=32766 border="5" color="0" x="278" y="1" height="16" width="91" format="[general]" html.valueishtml="0" name=desp_confirmed 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="1090519039" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="5" color="0" x="371" y="1" height="16" width="268" format="[general]" html.valueishtml="0" name=error_msg 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="1090519039" )
column(band=detail id=40 alignment="0" tabsequence=32766 border="5" color="0" x="3256" y="1" height="16" width="213" format="[general]" html.valueishtml="0" name=freight_amt_add visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 criteria.required=yes 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="1090519039" )
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 )
......
$PBExportHeader$d_shipment_docs_edit.srd
release 9;
datawindow(units=1 timer_interval=0 color=79741120 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=457 color="536870912" )
summary(height=19 color="536870912" )
footer(height=29 color="536870912" )
detail(height=489 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=shipment_id dbname="ship_docs.shipment_id" )
column=(type=char(3) update=yes updatewhereclause=yes key=yes name=line_no dbname="ship_docs.line_no" )
column=(type=char(6) update=yes updatewhereclause=yes name=ref_ser dbname="ship_docs.ref_ser" values="S-DSP S-DSP/P-ORD P-ORD/D-ISS D-ISS/C-ISS C-ISS/P-RET P-RET/" )
......@@ -43,80 +43,83 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=shipme
column=(type=number updatewhereclause=yes name=net_amt dbname="net_amt" )
column=(type=char(1) update=yes updatewhereclause=yes name=desp_confirmed dbname="ship_docs.desp_confirmed" )
column=(type=char(1200) update=yes updatewhereclause=yes name=error_msg dbname="ship_docs.error_msg" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ship_docs~" ) TABLE(NAME=~"shipment~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_C~" ) TABLE(NAME=~"transporter~" ) COLUMN(NAME=~"ship_docs.shipment_id~") COLUMN(NAME=~"ship_docs.line_no~") COLUMN(NAME=~"ship_docs.ref_ser~") COLUMN(NAME=~"ship_docs.start_dt~") COLUMN(NAME=~"ship_docs.road_permit_no~") COLUMN(NAME=~"ship_docs.remarks~") COLUMN(NAME=~"ship_docs.frt_amt~") COLUMN(NAME=~"ship_docs.curr_code~") COLUMN(NAME=~"ship_docs.plan_load_time~") COLUMN(NAME=~"ship_docs.plan_unload_time~") COLUMN(NAME=~"ship_docs.plan_etd~") COLUMN(NAME=~"ship_docs.plan_eta~") COLUMN(NAME=~"ship_docs.actual_load_time~") COLUMN(NAME=~"ship_docs.actual_unload_time~") COLUMN(NAME=~"ship_docs.actual_dept~") COLUMN(NAME=~"ship_docs.actual_arrival~") COLUMN(NAME=~"ship_docs.transit_time~") COLUMN(NAME=~"ship_docs.stan_code__ship~") COLUMN(NAME=~"ship_docs.stan_code__dlv~") COLUMN(NAME=~"ship_docs.gross_weight~") COLUMN(NAME=~"ship_docs.tare_weight~") COLUMN(NAME=~"ship_docs.no_art~") COLUMN(NAME=~"ship_docs.curr_code__frt~") COLUMN(NAME=~"ship_docs.curr_code__bc~") COLUMN(NAME=~"ship_docs.exch_rate~") COLUMN(NAME=~"ship_docs.frt_amt__bc~") COLUMN(NAME=~"ship_docs.volume~") COLUMN(NAME=~"ship_docs.tran_code~") COLUMN(NAME=~"ship_docs.ref_id~") COLUMN(NAME=~"CURRENCY_A.descr~") COLUMN(NAME=~"STATION_A.descr~") COLUMN(NAME=~"STATION_B.descr~") COLUMN(NAME=~"CURRENCY_B.descr~") COLUMN(NAME=~"CURRENCY_C.descr~") COLUMN(NAME=~"transporter.tran_name~") COLUMN(NAME=~"ship_docs.ptcn~") COMPUTE(NAME=~"(ship_docs.gross_weight - ship_docs.tare_weight) as ~~~"net_amt~~~"~") COLUMN(NAME=~"ship_docs.desp_confirmed~") COLUMN(NAME=~"ship_docs.error_msg~") JOIN (LEFT=~"ship_docs.curr_code~" OP =~"=~"RIGHT=~"CURRENCY_A.curr_code~" OUTER1 =~"ship_docs.curr_code~" ) JOIN (LEFT=~"ship_docs.stan_code__ship~" OP =~"=~"RIGHT=~"STATION_A.stan_code~" OUTER1 =~"ship_docs.stan_code__ship~" ) JOIN (LEFT=~"ship_docs.stan_code__dlv~" OP =~"=~"RIGHT=~"STATION_B.stan_code~" OUTER1 =~"ship_docs.stan_code__dlv~" ) JOIN (LEFT=~"ship_docs.curr_code__frt~" OP =~"=~"RIGHT=~"CURRENCY_B.curr_code~" OUTER1 =~"ship_docs.curr_code__frt~" ) JOIN (LEFT=~"ship_docs.curr_code__bc~" OP =~"=~"RIGHT=~"CURRENCY_C.curr_code~" OUTER1 =~"ship_docs.curr_code__bc~" ) JOIN (LEFT=~"ship_docs.tran_code~" OP =~"=~"RIGHT=~"transporter.tran_code~" OUTER1 =~"ship_docs.tran_code~" ) JOIN (LEFT=~"ship_docs.shipment_id~" OP =~"=~"RIGHT=~"shipment.shipment_id~" )WHERE( EXP1 =~"SHIP_DOCS.SHIPMENT_ID~" OP =~"=~" EXP2 =~":as_shipment_id~" ) ) ORDER(NAME=~"ship_docs.line_no~" ASC=yes ) ARG(NAME = ~"as_shipment_id~" TYPE = string) " update="SHIP_DOCS" updatewhere=0 updatekeyinplace=no arguments=(("as_shipment_id", string)) )
groupbox(band=detail text="Basic"border="2" color="0" x="1" y="1" height="450" width="521" name=basic visible="1" font.face="System" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Shipment Id:" border="0" color="0" x="15" y="18" height="16" width="104" html.valueishtml="0" name=ship_docs_shipment_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="123" y="18" height="16" width="70" format="[general]" html.valueishtml="0" name=shipment_id visible="1" edit.limit=10 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Line No:" border="0" color="0" x="216" y="18" height="16" width="53" html.valueishtml="0" name=line_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" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="273" y="18" height="16" width="75" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="PTCN No :" border="0" color="0" x="357" y="18" height="16" width="78" 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" )
column(band=detail id=36 alignment="0" tabsequence=10 border="5" color="0" x="440" y="18" height="16" width="75" format="[general]" html.valueishtml="0" name=ptcn 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" )
text(band=detail alignment="1" text="Reference Series :" border="0" color="0" x="7" y="39" height="16" width="112" html.valueishtml="0" name=ref_ser_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=20 border="5" color="0" x="123" y="39" height="16" width="91" format="[general]" html.valueishtml="0" name=ref_ser visible="1" ddlb.limit=6 ddlb.sorted=yes ddlb.allowedit=no ddlb.case=upper ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.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="1090519039" )
text(band=detail alignment="1" text="Reference Id :" border="0" color="0" x="350" y="39" height="16" width="86" html.valueishtml="0" name=t_1 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=29 alignment="0" tabsequence=30 border="5" color="0" x="440" y="39" height="16" width="75" format="[general]" html.valueishtml="0" name=ref_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Starting Date :" border="0" color="0" x="32" y="102" height="16" width="87" html.valueishtml="0" name=start_dt_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="Road Permit No:" border="0" color="0" x="15" y="124" height="16" width="104" html.valueishtml="0" name=road_permit_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=detail alignment="1" text="Remarks:" border="0" color="0" x="15" y="145" height="16" width="104" html.valueishtml="0" name=remarks_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="Currency Code :" border="0" color="0" x="15" y="167" height="16" width="104" html.valueishtml="0" name=curr_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="Plan Load Time:" border="0" color="0" x="15" y="188" height="16" width="104" html.valueishtml="0" name=plan_load_time_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="Est.Time of Arrival:" border="0" color="0" x="5" y="209" height="16" width="115" html.valueishtml="0" name=plan_eta_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="Actual Load Time:" border="0" color="0" x="15" y="230" height="16" width="104" html.valueishtml="0" name=actual_load_time_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="Act.Time of Arrival:" border="0" color="0" x="7" y="252" height="16" width="112" html.valueishtml="0" name=actual_arrival_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="Transit Time:" border="0" color="0" x="15" y="273" height="16" width="104" html.valueishtml="0" name=transit_time_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="Shipping Station :" border="0" color="0" x="15" y="295" height="16" width="104" html.valueishtml="0" name=stan_code__ship_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="Shipping Delivery :" border="0" color="0" x="11" y="317" height="16" width="108" html.valueishtml="0" name=stan_code__dlv_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="Gross Weight:" border="0" color="0" x="31" y="339" height="16" width="88" html.valueishtml="0" name=gross_weight_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="Frt. Currency Code:" border="0" color="0" x="5" y="361" height="16" width="114" html.valueishtml="0" name=curr_code__frt_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="Base Currency Code:" border="0" color="0" x="2" y="383" height="16" width="120" html.valueishtml="0" name=frt_amt__bc_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="Volume:" border="0" color="0" x="15" y="405" height="16" width="104" html.valueishtml="0" name=volume_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="Transporter :" border="0" color="0" x="7" y="425" height="16" width="113" html.valueishtml="0" name=tran_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" )
column(band=detail id=28 alignment="0" tabsequence=280 border="5" color="0" x="123" y="426" height="16" width="91" format="[general]" html.valueishtml="0" name=tran_code visible="1" edit.limit=10 edit.case=upper 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="1090519039" )
column(band=detail id=27 alignment="1" tabsequence=260 border="5" color="0" x="123" y="405" height="16" width="91" format="0.000" html.valueishtml="0" name=volume visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=24 alignment="0" tabsequence=240 border="5" color="0" x="123" y="383" height="16" width="54" format="[general]" html.valueishtml="0" name=curr_code__bc 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="1090519039" )
column(band=detail id=23 alignment="0" tabsequence=230 border="5" color="0" x="123" y="361" height="16" width="54" format="[general]" html.valueishtml="0" name=curr_code__frt 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="1090519039" )
column(band=detail id=20 alignment="1" tabsequence=210 border="5" color="0" x="123" y="339" height="16" width="91" format="0.000" html.valueishtml="0" name=gross_weight visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=19 alignment="0" tabsequence=200 border="5" color="0" x="123" y="317" height="16" width="91" format="[general]" html.valueishtml="0" name=stan_code__dlv visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=18 alignment="0" tabsequence=190 border="5" color="0" x="123" y="295" height="16" width="91" format="[general]" html.valueishtml="0" name=stan_code__ship visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=17 alignment="0" tabsequence=170 border="5" color="0" x="123" y="273" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=transit_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=16 alignment="0" tabsequence=150 border="5" color="0" x="123" y="252" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=actual_arrival visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=13 alignment="0" tabsequence=130 border="5" color="0" x="123" y="230" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=actual_load_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=12 alignment="0" tabsequence=110 border="5" color="0" x="123" y="209" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=plan_eta visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=9 alignment="0" tabsequence=90 border="5" color="0" x="123" y="188" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=plan_load_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=8 alignment="0" tabsequence=80 border="5" color="0" x="123" y="167" height="16" width="91" format="[general]" html.valueishtml="0" name=curr_code visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=5 alignment="0" tabsequence=60 border="5" color="0" x="123" y="123" height="16" width="91" format="[general]" html.valueishtml="0" name=road_permit_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="1090519039" )
text(band=detail alignment="1" text="Freight Amount :" border="0" color="0" x="336" y="102" height="16" width="99" html.valueishtml="0" name=frt_amt_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=7 alignment="1" tabsequence=50 border="5" color="0" x="440" y="102" height="16" width="75" format="0.000" html.valueishtml="0" name=frt_amt visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=30 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="167" height="16" width="154" format="[general]" html.valueishtml="0" name=currency_a_descr visible="1" edit.limit=40 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="79741120" )
text(band=detail alignment="1" text="Plan Unload Time:" border="0" color="0" x="319" y="188" height="16" width="117" html.valueishtml="0" name=plan_unload_time_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=10 alignment="0" tabsequence=100 border="5" color="0" x="440" y="188" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=plan_unload_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Est. Time of Depature :" border="0" color="0" x="295" y="209" height="16" width="141" html.valueishtml="0" name=plan_etd_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=120 border="5" color="0" x="440" y="209" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=plan_etd visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Actual Unload Time:" border="0" color="0" x="315" y="230" height="16" width="121" html.valueishtml="0" name=actual_unload_time_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=14 alignment="0" tabsequence=140 border="5" color="0" x="440" y="230" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=actual_unload_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Act. Time of Deptature :" border="0" color="0" x="294" y="252" height="16" width="142" html.valueishtml="0" name=actual_dept_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=160 border="5" color="0" x="440" y="252" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=actual_dept visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="No Art:" border="0" color="0" x="381" y="273" height="16" width="55" 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=22 alignment="1" tabsequence=180 border="5" color="0" x="440" y="273" height="16" width="75" format="[general]" html.valueishtml="0" name=no_art visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="295" height="16" width="296" format="[general]" html.valueishtml="0" name=station_a_descr visible="1" edit.limit=40 edit.case=upper 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="79741120" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="317" height="16" width="296" format="[general]" html.valueishtml="0" name=station_b_descr visible="1" edit.limit=40 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Tare Weight:" border="0" color="0" x="218" y="339" height="16" width="80" html.valueishtml="0" name=tare_weight_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=21 alignment="1" tabsequence=220 border="5" color="0" x="301" y="339" height="16" width="67" format="0.000" html.valueishtml="0" name=tare_weight visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
text(band=detail alignment="1" text="Net Weight:" border="0" color="0" x="372" y="339" height="16" width="68" html.valueishtml="0" name=net_amt_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=37 alignment="1" tabsequence=32766 border="5" color="255" x="443" y="339" height="16" width="73" format="[general]" html.valueishtml="0" name=net_amt 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="1" background.color="553648127" )
column(band=detail id=33 alignment="0" tabsequence=32766 border="5" color="255" x="181" y="361" height="16" width="150" format="[general]" html.valueishtml="0" name=currency_b_descr visible="1" edit.limit=40 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="79741120" )
column(band=detail id=34 alignment="0" tabsequence=32766 border="5" color="255" x="181" y="383" height="16" width="150" format="[general]" html.valueishtml="0" name=currency_c_descr visible="1" edit.limit=40 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="79741120" )
text(band=detail alignment="1" text="Exch Rate:" border="0" color="0" x="351" y="383" height="16" width="68" html.valueishtml="0" name=exch_rate_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=25 alignment="1" tabsequence=250 border="5" color="0" x="424" y="383" height="16" width="91" format="0.000000" html.valueishtml="0" name=exch_rate visible="1" edit.limit=17 edit.case=any edit.format="#########0.000000" 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="1090519039" )
column(band=detail id=26 alignment="1" tabsequence=270 border="5" color="0" x="423" y="405" height="16" width="92" format="0.000" html.valueishtml="0" name=frt_amt__bc visible="1" edit.limit=14 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="1090519039" )
text(band=detail alignment="1" text="Frt. Amount in base :" border="0" color="0" x="289" y="405" height="16" width="130" html.valueishtml="0" name=curr_code__bc_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=35 alignment="0" tabsequence=32766 border="5" color="255" x="219" y="426" height="16" width="296" format="[general]" html.valueishtml="0" name=transporter_tran_name visible="1" edit.limit=40 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="79741120" )
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="0" x="123" y="145" height="16" width="392" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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="1090519039" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="5" color="255" x="123" y="81" height="16" width="392" format="[general]" html.valueishtml="0" name=error_msg 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="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="123" y="102" height="16" width="91" format="dd/mm/yy " html.valueishtml="0" name=start_dt visible="1" editmask.mask="dd/mm/yy " editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=38 alignment="0" tabsequence=32766 border="5" color="255" x="123" y="60" height="16" width="91" format="[general]" html.valueishtml="0" name=desp_confirmed visible="1" edit.limit=1 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Desp Confirmed :" border="0" color="0" x="7" y="60" height="16" width="112" html.valueishtml="0" name=desp_confirmed_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="Error Reason :" border="0" color="0" x="7" y="81" height="16" width="112" html.valueishtml="0" name=error_msg_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=(type=decimal(3) update=yes updatewhereclause=yes name=freight_amt_add dbname="ship_docs.freight_amt_add" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"ship_docs~" ) TABLE(NAME=~"shipment~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_A~" ) TABLE(NAME=~"station~" ALIAS=~"STATION_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_B~" ) TABLE(NAME=~"currency~" ALIAS=~"CURRENCY_C~" ) TABLE(NAME=~"transporter~" ) COLUMN(NAME=~"ship_docs.shipment_id~") COLUMN(NAME=~"ship_docs.line_no~") COLUMN(NAME=~"ship_docs.ref_ser~") COLUMN(NAME=~"ship_docs.start_dt~") COLUMN(NAME=~"ship_docs.road_permit_no~") COLUMN(NAME=~"ship_docs.remarks~") COLUMN(NAME=~"ship_docs.frt_amt~") COLUMN(NAME=~"ship_docs.curr_code~") COLUMN(NAME=~"ship_docs.plan_load_time~") COLUMN(NAME=~"ship_docs.plan_unload_time~") COLUMN(NAME=~"ship_docs.plan_etd~") COLUMN(NAME=~"ship_docs.plan_eta~") COLUMN(NAME=~"ship_docs.actual_load_time~") COLUMN(NAME=~"ship_docs.actual_unload_time~") COLUMN(NAME=~"ship_docs.actual_dept~") COLUMN(NAME=~"ship_docs.actual_arrival~") COLUMN(NAME=~"ship_docs.transit_time~") COLUMN(NAME=~"ship_docs.stan_code__ship~") COLUMN(NAME=~"ship_docs.stan_code__dlv~") COLUMN(NAME=~"ship_docs.gross_weight~") COLUMN(NAME=~"ship_docs.tare_weight~") COLUMN(NAME=~"ship_docs.no_art~") COLUMN(NAME=~"ship_docs.curr_code__frt~") COLUMN(NAME=~"ship_docs.curr_code__bc~") COLUMN(NAME=~"ship_docs.exch_rate~") COLUMN(NAME=~"ship_docs.frt_amt__bc~") COLUMN(NAME=~"ship_docs.volume~") COLUMN(NAME=~"ship_docs.tran_code~") COLUMN(NAME=~"ship_docs.ref_id~") COLUMN(NAME=~"CURRENCY_A.descr~") COLUMN(NAME=~"STATION_A.descr~") COLUMN(NAME=~"STATION_B.descr~") COLUMN(NAME=~"CURRENCY_B.descr~") COLUMN(NAME=~"CURRENCY_C.descr~") COLUMN(NAME=~"transporter.tran_name~") COLUMN(NAME=~"ship_docs.ptcn~") COMPUTE(NAME=~"(ship_docs.gross_weight - ship_docs.tare_weight) as ~~~"net_amt~~~"~") COLUMN(NAME=~"ship_docs.desp_confirmed~") COLUMN(NAME=~"ship_docs.error_msg~") COLUMN(NAME=~"ship_docs.freight_amt_add~") JOIN (LEFT=~"ship_docs.curr_code~" OP =~"=~"RIGHT=~"CURRENCY_A.curr_code~" OUTER1 =~"ship_docs.curr_code~" ) JOIN (LEFT=~"ship_docs.stan_code__ship~" OP =~"=~"RIGHT=~"STATION_A.stan_code~" OUTER1 =~"ship_docs.stan_code__ship~" ) JOIN (LEFT=~"ship_docs.stan_code__dlv~" OP =~"=~"RIGHT=~"STATION_B.stan_code~" OUTER1 =~"ship_docs.stan_code__dlv~" ) JOIN (LEFT=~"ship_docs.curr_code__frt~" OP =~"=~"RIGHT=~"CURRENCY_B.curr_code~" OUTER1 =~"ship_docs.curr_code__frt~" ) JOIN (LEFT=~"ship_docs.curr_code__bc~" OP =~"=~"RIGHT=~"CURRENCY_C.curr_code~" OUTER1 =~"ship_docs.curr_code__bc~" ) JOIN (LEFT=~"ship_docs.tran_code~" OP =~"=~"RIGHT=~"transporter.tran_code~" OUTER1 =~"ship_docs.tran_code~" ) JOIN (LEFT=~"ship_docs.shipment_id~" OP =~"=~"RIGHT=~"shipment.shipment_id~" )WHERE( EXP1 =~"SHIP_DOCS.SHIPMENT_ID~" OP =~"=~" EXP2 =~":as_shipment_id~" ) ) ORDER(NAME=~"ship_docs.line_no~" ASC=yes ) ARG(NAME = ~"as_shipment_id~" TYPE = string) " update="SHIP_DOCS" updatewhere=0 updatekeyinplace=no arguments=(("as_shipment_id", string)) )
groupbox(band=detail text="Basic"border="2" color="0" x="3" y="1" height="471" width="537" name=basic visible="1" font.face="System" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="553648127" )
text(band=detail alignment="1" text="Shipment Id:" border="0" color="0" x="33" y="18" height="16" width="104" html.valueishtml="0" name=ship_docs_shipment_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" )
column(band=detail id=1 alignment="0" tabsequence=32766 border="5" color="255" x="141" y="18" height="16" width="70" format="[general]" html.valueishtml="0" name=shipment_id visible="1" edit.limit=10 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Line No:" border="0" color="0" x="234" y="18" height="16" width="53" html.valueishtml="0" name=line_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" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="291" y="18" height="16" width="75" format="[general]" html.valueishtml="0" name=line_no visible="1" edit.limit=3 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="PTCN No :" border="0" color="0" x="375" y="18" height="16" width="78" 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" )
column(band=detail id=36 alignment="0" tabsequence=10 border="5" color="0" x="458" y="18" height="16" width="75" format="[general]" html.valueishtml="0" name=ptcn 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" )
text(band=detail alignment="1" text="Reference Series :" border="0" color="0" x="25" y="39" height="16" width="112" html.valueishtml="0" name=ref_ser_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=20 border="5" color="0" x="141" y="39" height="16" width="91" format="[general]" html.valueishtml="0" name=ref_ser visible="1" ddlb.limit=6 ddlb.sorted=yes ddlb.allowedit=no ddlb.case=upper ddlb.vscrollbar=yes ddlb.useasborder=yes ddlb.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="1090519039" )
text(band=detail alignment="1" text="Reference Id :" border="0" color="0" x="368" y="39" height="16" width="86" html.valueishtml="0" name=t_1 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=29 alignment="0" tabsequence=30 border="5" color="0" x="458" y="39" height="16" width="75" format="[general]" html.valueishtml="0" name=ref_id visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Starting Date :" border="0" color="0" x="50" y="102" height="16" width="87" html.valueishtml="0" name=start_dt_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="Road Permit No:" border="0" color="0" x="33" y="124" height="16" width="104" html.valueishtml="0" name=road_permit_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=detail alignment="1" text="Remarks:" border="0" color="0" x="33" y="145" height="16" width="104" html.valueishtml="0" name=remarks_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="Currency Code :" border="0" color="0" x="33" y="167" height="16" width="104" html.valueishtml="0" name=curr_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="Plan Load Time:" border="0" color="0" x="33" y="188" height="16" width="104" html.valueishtml="0" name=plan_load_time_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="Est.Time of Arrival:" border="0" color="0" x="23" y="209" height="16" width="115" html.valueishtml="0" name=plan_eta_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="Actual Load Time:" border="0" color="0" x="33" y="230" height="16" width="104" html.valueishtml="0" name=actual_load_time_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="Act.Time of Arrival:" border="0" color="0" x="25" y="252" height="16" width="112" html.valueishtml="0" name=actual_arrival_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="Transit Time:" border="0" color="0" x="33" y="273" height="16" width="104" html.valueishtml="0" name=transit_time_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="Shipping Station :" border="0" color="0" x="33" y="295" height="16" width="104" html.valueishtml="0" name=stan_code__ship_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="Shipping Delivery :" border="0" color="0" x="29" y="317" height="16" width="108" html.valueishtml="0" name=stan_code__dlv_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="Gross Weight:" border="0" color="0" x="49" y="339" height="16" width="88" html.valueishtml="0" name=gross_weight_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="Frt. Currency Code:" border="0" color="0" x="23" y="361" height="16" width="114" html.valueishtml="0" name=curr_code__frt_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="Base Currency Code:" border="0" color="0" x="20" y="383" height="16" width="120" html.valueishtml="0" name=frt_amt__bc_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="Volume:" border="0" color="0" x="33" y="405" height="16" width="104" html.valueishtml="0" name=volume_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=27 alignment="1" tabsequence=260 border="5" color="0" x="141" y="405" height="16" width="91" format="0.000" html.valueishtml="0" name=volume visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=24 alignment="0" tabsequence=240 border="5" color="0" x="141" y="383" height="16" width="54" format="[general]" html.valueishtml="0" name=curr_code__bc 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="1090519039" )
column(band=detail id=23 alignment="0" tabsequence=230 border="5" color="0" x="141" y="361" height="16" width="54" format="[general]" html.valueishtml="0" name=curr_code__frt 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="1090519039" )
column(band=detail id=20 alignment="1" tabsequence=210 border="5" color="0" x="141" y="339" height="16" width="91" format="0.000" html.valueishtml="0" name=gross_weight visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=19 alignment="0" tabsequence=200 border="5" color="0" x="141" y="317" height="16" width="91" format="[general]" html.valueishtml="0" name=stan_code__dlv visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=18 alignment="0" tabsequence=190 border="5" color="0" x="141" y="295" height="16" width="91" format="[general]" html.valueishtml="0" name=stan_code__ship visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=17 alignment="0" tabsequence=170 border="5" color="0" x="141" y="273" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=transit_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=16 alignment="0" tabsequence=150 border="5" color="0" x="141" y="252" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=actual_arrival visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=13 alignment="0" tabsequence=130 border="5" color="0" x="141" y="230" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=actual_load_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=12 alignment="0" tabsequence=110 border="5" color="0" x="141" y="209" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=plan_eta visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=9 alignment="0" tabsequence=90 border="5" color="0" x="141" y="188" height="16" width="91" format="dd/mm/yy" html.valueishtml="0" name=plan_load_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=8 alignment="0" tabsequence=80 border="5" color="0" x="141" y="167" height="16" width="91" format="[general]" html.valueishtml="0" name=curr_code visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=5 alignment="0" tabsequence=60 border="5" color="0" x="141" y="123" height="16" width="91" format="[general]" html.valueishtml="0" name=road_permit_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="1090519039" )
text(band=detail alignment="1" text="Freight Amount :" border="0" color="0" x="354" y="102" height="16" width="99" html.valueishtml="0" name=frt_amt_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=7 alignment="1" tabsequence=50 border="5" color="0" x="458" y="102" height="16" width="75" format="0.000" html.valueishtml="0" name=frt_amt visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
column(band=detail id=30 alignment="0" tabsequence=32766 border="5" color="255" x="237" y="167" height="16" width="154" format="[general]" html.valueishtml="0" name=currency_a_descr visible="1" edit.limit=40 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="79741120" )
text(band=detail alignment="1" text="Plan Unload Time:" border="0" color="0" x="337" y="188" height="16" width="117" html.valueishtml="0" name=plan_unload_time_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=10 alignment="0" tabsequence=100 border="5" color="0" x="458" y="188" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=plan_unload_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Est. Time of Depature :" border="0" color="0" x="313" y="209" height="16" width="141" html.valueishtml="0" name=plan_etd_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=120 border="5" color="0" x="458" y="209" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=plan_etd visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Actual Unload Time:" border="0" color="0" x="333" y="230" height="16" width="121" html.valueishtml="0" name=actual_unload_time_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=14 alignment="0" tabsequence=140 border="5" color="0" x="458" y="230" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=actual_unload_time visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="Act. Time of Deptature :" border="0" color="0" x="312" y="252" height="16" width="142" html.valueishtml="0" name=actual_dept_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=160 border="5" color="0" x="458" y="252" height="16" width="75" format="dd/mm/yy" html.valueishtml="0" name=actual_dept visible="1" editmask.mask="dd/mm/yy" editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
text(band=detail alignment="1" text="No Art:" border="0" color="0" x="399" y="273" height="16" width="55" 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=22 alignment="1" tabsequence=180 border="5" color="0" x="458" y="273" height="16" width="75" format="[general]" html.valueishtml="0" name=no_art visible="1" edit.limit=5 edit.case=upper 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="1090519039" )
column(band=detail id=31 alignment="0" tabsequence=32766 border="5" color="255" x="237" y="295" height="16" width="296" format="[general]" html.valueishtml="0" name=station_a_descr visible="1" edit.limit=40 edit.case=upper 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="79741120" )
column(band=detail id=32 alignment="0" tabsequence=32766 border="5" color="255" x="237" y="317" height="16" width="296" format="[general]" html.valueishtml="0" name=station_b_descr visible="1" edit.limit=40 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Tare Weight:" border="0" color="0" x="236" y="339" height="16" width="80" html.valueishtml="0" name=tare_weight_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=21 alignment="1" tabsequence=220 border="5" color="0" x="319" y="339" height="16" width="67" format="0.000" html.valueishtml="0" name=tare_weight visible="1" edit.limit=14 edit.case=any edit.format="#########0.000" 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="1090519039" )
text(band=detail alignment="1" text="Net Weight:" border="0" color="0" x="390" y="339" height="16" width="68" html.valueishtml="0" name=net_amt_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=37 alignment="1" tabsequence=32766 border="5" color="255" x="461" y="339" height="16" width="73" format="[general]" html.valueishtml="0" name=net_amt 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="1" background.color="553648127" )
column(band=detail id=33 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="361" height="16" width="150" format="[general]" html.valueishtml="0" name=currency_b_descr visible="1" edit.limit=40 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="79741120" )
column(band=detail id=34 alignment="0" tabsequence=32766 border="5" color="255" x="199" y="383" height="16" width="150" format="[general]" html.valueishtml="0" name=currency_c_descr visible="1" edit.limit=40 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="79741120" )
text(band=detail alignment="1" text="Exch Rate:" border="0" color="0" x="369" y="383" height="16" width="68" html.valueishtml="0" name=exch_rate_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=25 alignment="1" tabsequence=250 border="5" color="0" x="442" y="383" height="16" width="91" format="0.000000" html.valueishtml="0" name=exch_rate visible="1" edit.limit=17 edit.case=any edit.format="#########0.000000" 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="1090519039" )
column(band=detail id=26 alignment="1" tabsequence=270 border="5" color="0" x="441" y="405" height="16" width="92" format="0.000" html.valueishtml="0" name=frt_amt__bc visible="1" edit.limit=14 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="1090519039" )
text(band=detail alignment="1" text="Frt. Amount in base :" border="0" color="0" x="307" y="405" height="16" width="130" html.valueishtml="0" name=curr_code__bc_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=35 alignment="0" tabsequence=32766 border="5" color="255" x="237" y="426" height="16" width="296" format="[general]" html.valueishtml="0" name=transporter_tran_name visible="1" edit.limit=40 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="79741120" )
column(band=detail id=6 alignment="0" tabsequence=70 border="5" color="0" x="141" y="145" height="16" width="392" format="[general]" html.valueishtml="0" name=remarks visible="1" edit.limit=60 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="1090519039" )
column(band=detail id=39 alignment="0" tabsequence=32766 border="5" color="255" x="141" y="81" height="16" width="392" format="[general]" html.valueishtml="0" name=error_msg 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="79741120" )
column(band=detail id=4 alignment="0" tabsequence=40 border="5" color="0" x="141" y="102" height="16" width="91" format="dd/mm/yy " html.valueishtml="0" name=start_dt visible="1" editmask.mask="dd/mm/yy " editmask.imemode=0 editmask.focusrectangle=no 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="1090519039" )
column(band=detail id=38 alignment="0" tabsequence=32766 border="5" color="255" x="141" y="60" height="16" width="91" format="[general]" html.valueishtml="0" name=desp_confirmed visible="1" edit.limit=1 edit.case=upper 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="79741120" )
text(band=detail alignment="1" text="Desp Confirmed :" border="0" color="0" x="25" y="60" height="16" width="112" html.valueishtml="0" name=desp_confirmed_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="Error Reason :" border="0" color="0" x="25" y="81" height="16" width="112" html.valueishtml="0" name=error_msg_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="Transporter :" border="0" color="0" x="25" y="425" height="16" width="113" html.valueishtml="0" name=tran_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" )
column(band=detail id=28 alignment="0" tabsequence=280 border="5" color="0" x="142" y="426" height="16" width="91" format="[general]" html.valueishtml="0" name=tran_code visible="1" edit.limit=10 edit.case=upper 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="1090519039" )
text(band=detail alignment="1" text="Parcel Freight Amount :" border="0" color="0" x="8" y="449" height="16" width="130" html.valueishtml="0" name=freight_amt_add_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=40 alignment="0" tabsequence=290 border="5" color="33554432" x="142" y="449" height="16" width="91" format="[general]" html.valueishtml="0" name=freight_amt_add visible="1" edit.limit=14 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="79741120" )
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 )
......
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