Commit 98145ddd authored by ppatro's avatar ppatro

last checked in wave gen


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93342 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 52fee249
......@@ -44,6 +44,10 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
//Changed by sumit 24/01/13 start.
String suppCode = "",qtyStr = "", priceList = "";
String itemCode = "";
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code.start
String lineNo = "";
String asnNo = "";
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code.end
double quantity = 0.0, rate = 0.0;
java.util.Date currDate = null;
String dbDateFormat = null;
......@@ -102,8 +106,9 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
currDateStr = dateFormat.format(currDate);
SimpleDateFormat simpleDateFormatDB = new SimpleDateFormat(genericUtility.getDBDateFormat());
Timestamp timestamp = Timestamp.valueOf(simpleDateFormatDB.format(currDate).toString() + " 00:00:00.0");
sql = "SELECT AH.SUPP_CODE, AD.QUANTITY, AD.ITEM_CODE FROM ASN_HDR AH, ASN_DET AD WHERE AH.TRAN_ID = ? AND AH.TRAN_ID = AD.TRAN_ID";
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code
//sql = "SELECT AH.SUPP_CODE, AD.QUANTITY, AD.ITEM_CODE FROM ASN_HDR AH, ASN_DET AD WHERE AH.TRAN_ID = ? AND AH.TRAN_ID = AD.TRAN_ID";
sql = "SELECT AH.SUPP_CODE, AD.QUANTITY, AD.ITEM_CODE,AD.LINE_NO,AH.ASN_NO FROM ASN_HDR AH, ASN_DET AD WHERE AH.TRAN_ID = ? AND AH.TRAN_ID = AD.TRAN_ID";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranId);
rs = pstmt.executeQuery();
......@@ -112,7 +117,10 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
suppCode = rs.getString("SUPP_CODE");
quantity = rs.getDouble("QUANTITY");
itemCode = rs.getString("ITEM_CODE");
System.out.println(" suppCode ["+suppCode+"] quantity ["+quantity+"] itemCode ["+itemCode+"]");
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code
lineNo = checkNull(rs.getString("LINE_NO"));
asnNo = checkNull(rs.getString("ASN_NO"));
System.out.println(" suppCode ["+suppCode+"] quantity ["+quantity+"] itemCode ["+itemCode+"]"+"lineNo["+lineNo+"]");
sql = " SELECT PRICE_LIST FROM SUPPLIER WHERE SUPP_CODE = ?";
pstmt1 = conn.prepareStatement(sql);
......@@ -150,7 +158,11 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
//errString = getErrorString("rate","INVRATE",userId);
errList.add( "INVRATE" );
errFields.add( childNodeName.toLowerCase() );*/
errString = itmdbAccess.getErrorString("","INVRATE",loginEmpCode);
//
//errString = itmdbAccess.getErrorString("","INVRATE",loginEmpCode);
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code
errString = getError(tranId,lineNo,itemCode,"INVRATE",conn);
System.out.println("errString"+errString);
return errString;
}
......@@ -804,59 +816,67 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
rs = null;
}
*/
sql = "SELECT SITE_CODE__ACCT, ADD1, ADD2, CITY, DESCR FROM SITE WHERE SITE_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
siteCodeBill = checkNull( rs.getString("SITE_CODE__ACCT") );
address1 = checkNull( rs.getString("ADD1") );
address2 = checkNull( rs.getString("ADD2") );
city = checkNull( rs.getString("CITY") );
siteDescr = checkNull( rs.getString("DESCR") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if( confirmed.equalsIgnoreCase("Y") )
{
int purCnt = 0;
sql = "SELECT COUNT(PURC_ORDER) AS PURCNT FROM PORDER WHERE PURC_ORDER = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder);
rs = pstmt.executeQuery();
if( rs.next() )
{
purCnt = rs.getInt("PURCNT");
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if( purCnt > 0 )
//Chnaged by Rohan on 09-07-13 for asn should allow pre-order purchase order.start
if(("".equalsIgnoreCase(purcOrder) || purcOrder == null) && purcOrder.trim().length() <= 0)
//Chnaged by Rohan on 09-07-13 for asn should allow pre-order purchase order.end
{
System.out.println("inside purcnt before");
errString = itmdbAccess.getErrorString("","PURORDEXST",userId);
System.out.println("inside purcnt before");
return errString;
}
else
{
sql = "SELECT SITE_CODE__ACCT, ADD1, ADD2, CITY, DESCR FROM SITE WHERE SITE_CODE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
rs = pstmt.executeQuery();
if(rs.next())
{
siteCodeBill = checkNull( rs.getString("SITE_CODE__ACCT") );
address1 = checkNull( rs.getString("ADD1") );
address2 = checkNull( rs.getString("ADD2") );
city = checkNull( rs.getString("CITY") );
siteDescr = checkNull( rs.getString("DESCR") );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
//Chnaged by Rohan on 09-07-13 for asn should allow pre-order purchase order.start
/*
int purCnt = 0;
sql = "SELECT COUNT(PURC_ORDER) AS PURCNT FROM PORDER WHERE PURC_ORDER = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder);
rs = pstmt.executeQuery();
if( rs.next() )
{
purCnt = rs.getInt("PURCNT");
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
if( purCnt > 0 )
{
System.out.println("inside purcnt before");
errString = itmdbAccess.getErrorString("","PURORDEXST",userId);
System.out.println("inside purcnt before");
return errString;
}
*/
//Chnaged by Rohan on 09-07-13 for asn should allow pre-order purchase order.end
remarks = "From ASN : " + tranIdAsnHdr;
sql = "SELECT DEPT_CODE FROM EMPLOYEE WHERE EMP_CODE = ? ";
pstmt = conn.prepareStatement(sql);
......@@ -1881,4 +1901,28 @@ public class AsnConf extends ActionHandlerEJB implements AsnConfLocal, AsnConfRe
return calculatedDate;
}
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code.start
private String getError(String tranID,String lineNo,String asnNo,String Code,Connection conn) throws ITMException, Exception
{
String mainStr ="";
try
{
String errString = "";
errString = new ITMDBAccessEJB().getErrorString("",Code,"","",conn);
String begPart = errString.substring(0,errString.indexOf("<message>")+9);
String endDesc = errString.substring(errString.indexOf("</description>"));
mainStr= begPart+"Invalid Data "+"</message><description>";
mainStr= mainStr+"Tran ID:"+tranID+"Line No:"+lineNo+"ASN No:"+asnNo+endDesc;
System.out.println("mainStr:::::::::::::::::: "+mainStr);
begPart = null;
}
catch(Exception e)
{
e.printStackTrace();
throw new ITMException(e);
}
return mainStr;
}
//Changed by Rohan on 11-07-13 for generate erraor with asn no,line no and item code.end
}
......@@ -108,7 +108,11 @@ public class AsnIC extends ValidatorEJB implements AsnICRemote,AsnICLocal
String childNodeName = "";
Node childNode =null;
String userId = "";
//Changed by Rohan on 08-07-13 for define variables.start
String confirm = "";
String purcOrder = "";
int count = 0;
//Changed by Rohan on 08-07-13 for define variables.end
java.util.Date currDate = null;
String dbDateFormat = null;
String applDateFormat = null;
......@@ -311,13 +315,16 @@ public class AsnIC extends ValidatorEJB implements AsnICRemote,AsnICLocal
if( columnValue != null && columnValue.trim().length() != 0 )
{
//sql = " SELECT COUNT(PURC_ORDER) AS CNT FROM PORCP WHERE PURC_ORDER = ?";//Commented by Gulzar on 12/26/2011
sql = " SELECT COUNT(PURC_ORDER) AS CNT FROM PORDER WHERE PURC_ORDER = ?";//Added by Gulzar on 12/26/2011
//Changed by Rohan on 08-07-13 to check purchse order confirm.start
//sql = " SELECT COUNT(PURC_ORDER) AS CNT FROM PORDER WHERE PURC_ORDER = ?";//Added by Gulzar on 12/26/2011
sql = "SELECT CONFIRMED FROM PORDER WHERE PURC_ORDER = ? ";//Added by Gulzar on 12/26/2011
System.out.println("sql ["+sql+" ]");
System.out.println("columnValue ["+columnValue+" ]");
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, columnValue);
rs = pstmt.executeQuery();
//Changed by Rohan on 08-07-13 to check purchse order confirm.start
/*
if( rs.next() )
{
cnt = rs.getInt("CNT");
......@@ -330,6 +337,17 @@ public class AsnIC extends ValidatorEJB implements AsnICRemote,AsnICLocal
errFields.add( childNodeName.toLowerCase() );
// end 26/10/11 manoharan all the errors should be returned so that warnings can be processed
}
*/
if( rs.next() )
{
confirm = rs.getString("CONFIRMED");
}
if(!"".equalsIgnoreCase(confirm) && !"Y".equalsIgnoreCase(confirm) )
{
errList.add( "VTPUCNTCNF" );
errFields.add( childNodeName.toLowerCase() );
}
//Changed by Rohan on 08-07-13 to check purchse order confirm.end
if( rs != null )
{
rs.close();
......@@ -582,6 +600,52 @@ public class AsnIC extends ValidatorEJB implements AsnICRemote,AsnICLocal
// end 26/10/11 manoharan all the errors should be returned so that warnings can be processed
}
}
//Changed by Rohan on 09-07-13 for adding validation if purchase order and line no exist in porddet.start
else if ( "line_no__ord".equalsIgnoreCase( childNodeName ) )
{
purcOrder = checkNull(genericUtility.getColumnValue( "purc_order", dom1 ));
if((!"".equalsIgnoreCase(purcOrder) || purcOrder != null) && purcOrder.trim().length() > 0)
{
if ( childNode.getFirstChild() == null )
{
errList.add( "NULLPOLINE" );
errFields.add( childNodeName.toLowerCase() );
}
else
{
columnValue = " " + columnValue;
columnValue = columnValue.substring(columnValue.length()-3);
sql = "SELECT COUNT(*) AS PURCNT FROM PORDDET WHERE PURC_ORDER = ? AND LINE_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder);
pstmt.setString(2, columnValue);
rs = pstmt.executeQuery();
if( rs.next() )
{
count = rs.getInt("PURCNT");
}
if(count <= 0)
{
errList.add( "VTINVPUORD" );
errFields.add( childNodeName.toLowerCase() );
}
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
}
}
}
//Changed by Rohan on 09-07-13 for adding validation if purchase order and line no exist in porddet.end
}// for end
}//case 2 end
} //END switch
......@@ -745,8 +809,12 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
String sql = "";
String columnValue = "";
String siteCode = "",lotNo = "";
//Changed by Rohan on 09-07-13 for define variables.start
String purcOrderLineNo = "";
String purcOrder = "";
//Changed by Rohan on 09-07-13 for define variables.end
double itmQty=0;
Connection conn = null;
PreparedStatement pstmt = null;
StringBuffer valueXmlString = new StringBuffer();
......@@ -907,7 +975,26 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
case 2:
{
valueXmlString.append( "<Detail2>\r\n" );
if( currentColumn.trim().equalsIgnoreCase( "item_code" ) ||currentColumn.trim().equalsIgnoreCase( "quantity" ) || currentColumn.trim().equalsIgnoreCase( "lot_no" ))
//Chnaged by Rohan on 07-09-13 for make line no ord protected if purchase order present in 1st form.start
if( currentColumn.trim().equalsIgnoreCase( "itm_default" ) || currentColumn.trim().equalsIgnoreCase( "itm_defaultedit" ))
{
purcOrder = checkNull(genericUtility.getColumnValue("purc_order",dom1));
purcOrderLineNo = checkNull(genericUtility.getColumnValue("line_no__ord",dom));
if(("".equalsIgnoreCase(purcOrder.trim()) || purcOrder == null ) && purcOrder.trim().length() <= 0)
{
valueXmlString.append( "<line_no__ord protect ='1'><![CDATA[" ).append("").append( "]]></line_no__ord>\r\n" );
}
else
{
valueXmlString.append( "<line_no__ord protect ='0'><![CDATA[" ).append("").append( "]]></line_no__ord>\r\n" );
}
}
//Chnaged by Rohan on 07-09-13 for make line no ord protected if purchase order present in 1st form.end
else if( currentColumn.trim().equalsIgnoreCase( "item_code" ) ||currentColumn.trim().equalsIgnoreCase( "quantity" ) || currentColumn.trim().equalsIgnoreCase( "lot_no" ))
{
......@@ -958,7 +1045,38 @@ public String itemChanged( Document dom, Document dom1, Document dom2, String ob
}
}*/
//Changed by Rohan on 09-07-13 for based on purchase order and line no set item code,quantity,packsize and item description.start
if( currentColumn.trim().equalsIgnoreCase( "line_no__ord"))
{
purcOrderLineNo = genericUtility.getColumnValue("line_no__ord",dom);
purcOrderLineNo = " " + purcOrderLineNo;
purcOrderLineNo = purcOrderLineNo.substring(purcOrderLineNo.length()-3);
purcOrder = genericUtility.getColumnValue("purc_order",dom1);
sql = " SELECT P.ITEM_CODE,P.QUANTITY,K.SHIPPER_SIZE,I.DESCR FROM PORDDET P,ITEM I,ITEM_LOT_PACKSIZE K WHERE PURC_ORDER = ? AND LINE_NO = ? "
+ " AND P.ITEM_CODE = I.ITEM_CODE AND P.ITEM_CODE = K.ITEM_CODE ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, purcOrder);
pstmt.setString(2, purcOrderLineNo);
rs = pstmt.executeQuery();
if( rs.next() )
{
valueXmlString.append( "<descr><![CDATA[" ).append( checkNull( rs.getString( "DESCR" )) ).append( "]]></descr>\r\n" );
valueXmlString.append( "<item_code protect ='1'><![CDATA[" ).append( checkNull( rs.getString( "ITEM_CODE" )) ).append( "]]></item_code>\r\n" );
valueXmlString.append( "<quantity><![CDATA[" ).append( checkNull( rs.getString( "QUANTITY" )) ).append( "]]></quantity>\r\n" );
valueXmlString.append( "<pack_size protect ='1'><![CDATA[" ).append( checkNull( rs.getString( "SHIPPER_SIZE" )) ).append( "]]></pack_size>\r\n" );
valueXmlString.append( "<line_no__ord><![CDATA[" ).append( checkNull(purcOrderLineNo)).append( "]]></line_no__ord>\r\n" );
}
else
{
valueXmlString.append( "<descr><![CDATA[" ).append("").append( "]]></descr>\r\n" );
valueXmlString.append( "<item_code protect ='1'><![CDATA[" ).append("") .append( "]]></item_code>\r\n" );
valueXmlString.append( "<quantity><![CDATA[" ).append("").append( "]]></quantity>\r\n" );
valueXmlString.append( "<pack_size protect ='1'><![CDATA[" ).append("").append( "]]></pack_size>\r\n" );
}
}
//Changed by Rohan on 09-07-13 for based on purchase order and line no set item code,quantity,packsize and item description.end
valueXmlString.append( "</Detail2>\r\n" );
System.out.println("------------------------COMPLETE DESCRIPTION-------------------");
break;
......
......@@ -457,8 +457,9 @@ public class GenerateLabelsPrc extends ProcessEJB implements GenerateLabelsPrcLo
Collections.sort(arryOuterCartonNo);
shipment2.setPackages2(packages2);
ShipmentResultReturn2 objReturn2=soap.shipWithLabel(shipment2, ShipWithLabelType.PNG, ImageRotation.Rotation_180);
//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);
System.out.println("Is successfully Executed ["+objReturn2.isSuccess()+"]");
System.out.println("Return Messages ["+objReturn2.getMessage()+"]");
if(!objReturn2.isSuccess())
......
......@@ -15,6 +15,7 @@ import ibase.webitm.reports.utility.XSDParser;
import ibase.webitm.utility.GenericUtility;
import ibase.webitm.utility.ITMException;
import ibase.webitm.utility.TransIDGenerator;
import ibase.webitm.utility.wms.CompareAllocQty;
import java.awt.image.BufferedImage;
import java.awt.print.PrinterJob;
......@@ -54,6 +55,7 @@ import java.util.TreeSet;
import javax.imageio.ImageIO;
import javax.print.PrintService;
import org.apache.fop.fo.properties.ForcePageCount;
import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
......@@ -1499,7 +1501,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
retTabSepStrBuff.append( "<cust_code__dlv><![CDATA[" ).append(checkNull(rs.getString("CUST_CODE__DLV"))).append( "]]></cust_code__dlv>\r\n" );
retTabSepStrBuff.append( "<customer_cust_name><![CDATA[" ).append(checkNull(rs.getString("CUST_DLV_NAME"))).append( "]]></customer_cust_name>\r\n" );
//Changed by venkat on 02/05/13 display cust_code__dlv and customer_cust_name end.
retTabSepStrBuff.append( "</Detail2>\r\n" );
}
//retTabSepStrBuff.append( "</Root>\r\n" );
......@@ -1824,6 +1826,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
double perItemVolume = 0.0,caseVolume = 0.0,caseWeight = 0.0,itemWeight = 0.0,caseCount = 0.0,packSize = 0d;;
//Changed By Pragyan 12/03/13 to define the veriable once.start
HashMap sordLineMAp = new HashMap();
try
{
......@@ -2041,10 +2044,30 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
}
if (childNodeName.equals("order_unit"))
{
if(childNode.getFirstChild() != null)
{
unit = checkNull(childNode.getFirstChild().getNodeValue());
System.out.println("Order Unit---["+unit+"]");
}
else
{
unit = "";
}
}
//Changed by sumit on 14/12/12 adding validation incase of manualy allocating saleorder and modifiying qty_allow end.
}
String lineNoSord = lineNo;
lineNoSord = " " + lineNoSord;
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);
//Changed By Pragyan 26-02-13 To validate inputs combination given by the user.start
System.out.println("isMasterPickChecked["+isMasterPickChecked+"]isParcelPickChecked ["+isParcelPickChecked+"]shipType["+shipType+"]");
......@@ -2079,9 +2102,39 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
System.out.println(" manually quantity upadated in case of manuly stock allocated");
errString="INVMDYALLQ";
//errString = itmDBAccessEJB.getErrorString("",errString,"","",conn);
errString = getError(saleOrder,errString,conn);
errString = getError(saleOrder + "] Line No ["+lineNo+"]Item Code["+itemCode+"]",errString,conn);
return errString;
}
sql = "SELECT UNIT FROM SORDDET WHERE SALE_ORDER = ? AND LINE_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,saleOrder);
pstmt.setString(2,lineNoSord);
rs = pstmt.executeQuery();
if(rs.next())
{
unit = rs.getString("UNIT");
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
if( rs != null)
{
rs.close();
rs = null;
}
unit = unit != null ? unit.trim():"";
System.out.println("Current Unit For Saleorde"+saleOrder+"]line No["+lineNo+"]Unit["+unit+"]");
// Changed by rohan on 14/08/12 for stock allocation end.
//Changed by sumit on 31/12/12 validation if allocation quantity is less then shiper size start
//Changed by Rohan on 15-04-13 for adding condition of allocqty not null
......@@ -2089,11 +2142,20 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
if("N".equalsIgnoreCase(isActivePickChecked) && allocQty != 0 && allocQty < packSize)
{
System.out.println(" inside sumit active");
errString = getError(saleOrder,"INVORDQTY",conn);
errString = getError(saleOrder + "] Line No ["+lineNo+"]Item Code["+itemCode+"]","INVORDQTY",conn);
return errString;
}
//Changed by sumit on 31/12/12 validation if allocation quantity is less then shiper size end
//Changed by Rohan to set resons detail null in sorder item.start
//changed by Pragyan to return error string of active pick "Y" and sale order in "case".start
if("Y".equalsIgnoreCase(isActivePickChecked) && "CS".equalsIgnoreCase(unit))
{
System.out.println(" inside Case order and active yes");
errString = getError(saleOrder + "] Line No ["+lineNo+"]Item Code["+itemCode+"]","VTACTPKCSC",conn);
return errString;
}
//changed by Pragyan to return error string of active pick "Y" and sale order in "case".end
SqlSord = "UPDATE SORDITEM SET REAS_DETAIL = ? "
+ " WHERE SALE_ORDER = ? AND LINE_NO = ?";
......@@ -2142,18 +2204,18 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
}
//changed by sankara on 03-08-2012[end]
String lineNoSord = lineNo;
/*String lineNoSord = lineNo;
lineNoSord = " " + lineNoSord;
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);
// Changed by sumit on 14/08/12 for manual stock allocation (as per rohan) start.
/*sql = " SELECT D.WAVE_FLAG FROM SORD_ALLOC S,SORD_ALLOC_DET D"+
sql = " SELECT D.WAVE_FLAG FROM SORD_ALLOC S,SORD_ALLOC_DET D"+
" WHERE S.TRAN_ID = D.TRAN_ID"+
" AND S.SALE_ORDER = ?"+
" AND D.LINE_NO__SORD = ?"+
" AND D.ITEM_CODE = ?"+
" AND D.EXP_LEV = ?"+
" AND CONFIRMED = ?"; */
" AND CONFIRMED = ?";
sql = " SELECT D.WAVE_FLAG FROM SORDALLOC D"+
" WHERE D.SALE_ORDER = ?"+
......@@ -2297,7 +2359,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed By Pragyan as It is not reuired actives are treated separately.start
/*if(qtyAllocate < itemPackSize)
if(qtyAllocate < itemPackSize)
{
tempMapReplenishment.put("QTY_AVAIL",itemPackSize);
......@@ -2310,7 +2372,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
else
{
tempMapReplenishment.put("QTY_AVAIL",stkQuantity);
}*/
}
//Changed By Pragyan as It is not reuired actives are treated separately.
stkQuantity = Math.floor(stkQuantity/itemPackSize) * itemPackSize;
tempMapReplenishment.put("QTY_ACTUAL", qtyActual);
......@@ -2325,12 +2387,12 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed by Rohan on 15-04-13 for get pack size upper in coding
//packSize = (Double)itmVolumeMap.get("PACK_SIZE");//How many item contains in the Case
//Changed By Pragyan 12/03/13 to define the veriable once.start
/*double perItemVolume = (Double)itmVolumeMap.get("ITEM_SIZE");//Each Item Volume
double perItemVolume = (Double)itmVolumeMap.get("ITEM_SIZE");//Each Item Volume
double caseVolume = (Double)itmVolumeMap.get("LOT_SIZE");//Items Case Volume
double caseWeight = (Double)itmVolumeMap.get("PACK_WEIGHT");
hazardous = (String)itmVolumeMap.get("HAZARDOUS");
double itemWeight = (Double)itmVolumeMap.get("ITEM_WEIGHT");
double caseCount = qtyAllocate /packSize;*/
double caseCount = qtyAllocate /packSize;
perItemVolume = (Double)itmVolumeMap.get("ITEM_SIZE");//Each Item Volume
caseVolume = (Double)itmVolumeMap.get("LOT_SIZE");//Items Case Volume
caseWeight = (Double)itmVolumeMap.get("PACK_WEIGHT");
......@@ -2410,10 +2472,10 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
tempMap.put("item_weight", itemWeight);
//Changed by Rohan on 12/06/13 for bug fixing for setting location code.start
/*
locCodeTo = locCodeTo != null && locCodeTo.length() > 0 ?locCodeTo:locCode;
tempMap.put("sugg_loc", locCodeTo);
*/
resrvLoc = discommon.getDisparams("999999","RESERV_LOCATION",conn);
casePickLoc = discommon.getDisparams("999999","CASE_PICK_INVSTAT",conn);
activePickLoc = discommon.getDisparams("999999","ACTIVE_PICK_INVSTAT",conn);
......@@ -2519,9 +2581,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
if(manualStock)
{
int update = 0;
/*String lineNoSord = lineNo;
String lineNoSord = lineNo;
lineNoSord = " " + lineNoSord;
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);*/
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);
//sql= "UPDATE SORD_ALLOC_DET SET WAVE_FLAG = 'Y' WHERE SALE_ORDER = ? AND LINE_NO__SORD = ?";
sql= "UPDATE SORDALLOC SET WAVE_FLAG = 'Y' WHERE SALE_ORDER = ? AND LINE_NO = ?";
pstmt = conn.prepareStatement(sql);
......@@ -2537,10 +2599,10 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
pstmt.close();
pstmt = null;
}
}
}*/
//if(allocQty > 0 && (!manualStock))
if(allocQty > 0)
if(allocQty > 0 || "M".equalsIgnoreCase(allocFlag))
{
/*
//commented by Pragyan - 14-06-12
......@@ -2552,22 +2614,436 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//changed by Rohan on 18-04-12 [WM1ESUN006] To clear saleOrderWiseMap.end
*/
System.out.println("if calling...===>.....");
///New Changes acc to start
ArrayList tmpLineList = null;
if(sordLineMAp.containsKey(saleOrder + ":" + "itemCode" ))
{
tmpLineList = (ArrayList)sordLineMAp.get(saleOrder + ":" + "itemCode" );
}
else
{
tmpLineList = new ArrayList();
}
HashMap chkMap = new HashMap();
chkMap.put("saleOrder", saleOrder);
chkMap.put("lineNo", lineNo);
chkMap.put("itemCode", itemCode);
chkMap.put("allocQty", allocQty);
chkMap.put("singleLot", singleLot);
chkMap.put("pendingQuantity", pendingQuantity);
chkMap.put("isActivePickChecked", isActivePickChecked);
chkMap.put("isMasterPickChecked", isMasterPickChecked);
chkMap.put("isStockToDockChecked", isStockToDockChecked);
chkMap.put("isParcelPickChecked", isParcelPickChecked);
chkMap.put("expLev", expLev);
chkMap.put("allocFlag", allocFlag);
chkMap.put("mannual_alloc_qty", manualAllocqty);
tmpLineList.add(chkMap);
sordLineMAp.put(saleOrder + ":" + "itemCode", tmpLineList);
////New Changes acc to end
//Changed By Pragyan 31/12/12 To pass the Pacel pack flag to the method
//errString = sorderAllocate(saleOrder, lineNo, itemCode, allocQty, expLev);
//errString = sorderAllocate(headerDom, detailDom, saleOrder, lineNo, itemCode, allocQty, expLev, xtraParams, conn );
//errString = sorderAllocate(headerDom, detailDom, saleOrder, lineNo, itemCode, allocQty,singleLot,pendingQuantity,isActivePickChecked,isMasterPickChecked,isStockToDockChecked, expLev, xtraParams, conn );
errString = sorderAllocate(headerDom, detailDom, saleOrder, lineNo, itemCode, allocQty,singleLot,pendingQuantity,isActivePickChecked,isMasterPickChecked,isStockToDockChecked,isParcelPickChecked, expLev, xtraParams, conn );
/*errString = sorderAllocate(headerDom, detailDom, saleOrder, lineNo, itemCode, allocQty,singleLot,pendingQuantity,isActivePickChecked,isMasterPickChecked,isStockToDockChecked,isParcelPickChecked, expLev, xtraParams, conn );
if (errString != null && errString.trim().length() > 0)
{
System.out.println("errString :"+errString);
return errString;
}
//changed by Rohan on 18-04-12 [WM1ESUN006] To copy saleOrderWiseMap
saleOrderWiseMapCpy = (HashMap) saleOrderWiseMap.clone();
saleOrderWiseMapCpy = (HashMap) saleOrderWiseMap.clone();*/
}
} // out for loop
if(sordLineMAp.size() > 0)
{
resrvLoc = discommon.getDisparams("999999","RESERV_LOCATION",conn);
casePickLoc = discommon.getDisparams("999999","CASE_PICK_INVSTAT",conn);
activePickLoc = discommon.getDisparams("999999","ACTIVE_PICK_INVSTAT",conn);
deepStoreLoc = discommon.getDisparams("999999","DEEP_STORE_INVSTAT",conn);
partialResrvLoc = discommon.getDisparams("999999","PRSRV_INVSTAT",conn);
Set keySet = sordLineMAp.keySet();
ArrayList keyList = new ArrayList(keySet);
Collections.sort(keyList);
for (Object object : keyList)
{
ArrayList sordLineList = (ArrayList)sordLineMAp.get(object);
Collections.sort(sordLineList,new CompareAllocQty());
System.out.println("Finally Sorted Data ["+sordLineList.toString()+"]");
for (Object object2 : sordLineList)
{
HashMap mapData = (HashMap)object2;
saleOrder = (String)mapData.get("saleOrder");
lineNo = (String)mapData.get("lineNo") ;
itemCode = (String)mapData.get("itemCode");
allocQty = (Double)mapData.get("allocQty");
singleLot = (String)mapData.get("singleLot");
pendingQuantity = (Double)mapData.get("pendingQuantity");
isActivePickChecked = (String)mapData.get("isActivePickChecked");
isMasterPickChecked = (String)mapData.get("isMasterPickChecked");
isStockToDockChecked = (String)mapData.get("isStockToDockChecked");
isParcelPickChecked = (String)mapData.get("isParcelPickChecked");
expLev = (String)mapData.get("expLev");
waveFlag = "";
String lineNoSord = lineNo;
lineNoSord = " " + lineNoSord;
lineNoSord = lineNoSord.substring(lineNoSord.length()-3);
sql = " SELECT D.WAVE_FLAG FROM SORDALLOC D"+
" WHERE D.SALE_ORDER = ?"+
" AND D.LINE_NO = ?"+
" AND D.ITEM_CODE = ?" +
" AND D.EXP_LEV = ?"+
" AND D.ALLOC_MODE <> ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,saleOrder);
pstmt.setString(2,lineNoSord);
pstmt.setString(3,itemCode);
pstmt.setString(4,expLev);
pstmt.setString(5,"W");
rs = pstmt.executeQuery();
if(rs.next())
{
waveFlag = rs.getString("WAVE_FLAG");
if(waveFlag == null)
waveFlag = "N";
}
if( rs != null)
{
rs.close();
rs = null;
}
if( pstmt != null)
{
pstmt.close();
pstmt = null;
}
System.out.print("Current Wave Flag ["+waveFlag+"]");
if("N".equalsIgnoreCase(waveFlag))
{
manualStock = true;
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
sodreAlloc = "SELECT S.QTY_ALLOC AS QTY_ALLOC,S.QUANTITY AS QUANTITY,S.LOT_SL AS LOT_SL,S.LOT_NO AS LOT_NO,"+
" S.LOC_CODE AS LOC_CODE,I.LOC_TYPE__PARENT AS LOC_TYPE__PARENT,I.LOC_TYPE AS LOC_TYPE,I.LOC_ZONE__PREF " +
" AS LOC_ZONE__PREF FROM SORDALLOC S,ITEM I"+
" WHERE S.SALE_ORDER = ? AND S.ITEM_CODE = I.ITEM_CODE"+
" AND S.LINE_NO = ?"+
" AND S.ITEM_CODE = ?"+
" AND S.EXP_LEV = ? "+
" AND S.ALLOC_MODE <> ?";
pstmt = conn.prepareStatement(sodreAlloc);
pstmt.setString(1,saleOrder);
pstmt.setString(2, lineNo);
pstmt.setString(3,itemCode);
pstmt.setString(4,expLev);
pstmt.setString(5,"W");
rs = pstmt.executeQuery();
if(rs.next())
{
qtyAllocate = rs.getInt("QTY_ALLOC");
noOfArticals = rs.getInt("QUANTITY");
lotSl = rs.getString("LOT_SL");
lotNo = rs.getString("LOT_NO");
locCd = rs.getString("LOC_CODE");
locTypeParent = rs.getString("LOC_TYPE__PARENT");
locType = rs.getString("LOC_TYPE");
locZonePref = rs.getInt("LOC_ZONE__PREF");
System.out.println("lotSl===<"+lotSl);
System.out.println("lot_no===<"+lotNo);
System.out.println("locCd===<"+locCd);
System.out.println("locType===<"+locType);
System.out.println("locTypeParent===<"+locTypeParent);
}
sqlinvStat = "SELECT INV_STAT FROM LOCATION WHERE LOC_CODE= ?";
pstmt = conn.prepareStatement(sqlinvStat);
pstmt.setString(1,locCd);
rs = pstmt.executeQuery();
if(rs.next())
{
invSt= rs.getString("INV_STAT");
System.out.println("INV STATSSS"+invSt);
}
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(rs != null)
{
rs.close();
rs = null;
}
String resvInvStat = "";
resvInvStat = discommon.getDisparams("999999","RESERV_LOCATION",conn);
if (resvInvStat == null)
{
resvInvStat = "";
}
HashMap itmVolumeMap = getItemVoumeMap(itemCode,lotNo,conn);
double itemPackSize = (Double)itmVolumeMap.get("PACK_SIZE");
populateReplHistory(itemCode,siteCode,lotNo,lotSl,locCd,conn);
double stkQuantity = getStockQuantity(itemCode,siteCode,locCd,lotNo,lotSl,qtyAllocate,conn);
Map tempMapReplenishment =new HashMap();
String lastReplenishmentID="",locCodeTo="";
int lineNoRepl=0;
if(itemInfoMapForRepl.containsKey(itemCode+":"+siteCode+":"+lotNo+":"+lotSl+":"+locCd))
{
ArrayList tempListTestForRepl = (ArrayList)itemInfoMapForRepl.get(itemCode+":"+siteCode+":"+lotNo+":"+lotSl+":"+locCd);
}
else
{
tempListForRepl = new ArrayList();
qtyActual=0.0;
stkQuantity = Math.floor(stkQuantity/itemPackSize) * itemPackSize;
tempMapReplenishment.put("QTY_ACTUAL", qtyActual);
tempMapReplenishment.put("LAST_REPL_ID", lastReplenishmentID);
tempMapReplenishment.put("REPL_LINE_NO", lineNoRepl);
tempMapReplenishment.put("REPL_LOC_TO",locCd);
tempMapReplenishment.put("IS_REPLAINSH","Y");
tempMapReplenishment.put("STOCK_QTY",stkQuantity);
tempListForRepl.add(tempMapReplenishment);
itemInfoMapForRepl.put(itemCode+":"+siteCode+":"+lotNo+":"+lotSl+":"+locCd, tempListForRepl);
}
perItemVolume = (Double)itmVolumeMap.get("ITEM_SIZE");
caseVolume = (Double)itmVolumeMap.get("LOT_SIZE");
caseWeight = (Double)itmVolumeMap.get("PACK_WEIGHT");
hazardous = (String)itmVolumeMap.get("HAZARDOUS");
itemWeight = (Double)itmVolumeMap.get("ITEM_WEIGHT");
caseCount = qtyAllocate /packSize;
if(invSt != null && invSt.trim().equalsIgnoreCase(resvInvStat.trim()))
{
double palletVolume = Double.parseDouble(discommon.getDisparams("999999","PER_PALLET__VOLUME",conn));
if(caseCount > 0 && (caseCount * caseVolume) <= palletVolume && ((palletVolume - (caseCount * caseVolume)) < caseVolume))
{
isStockToDock = true;
}
else if((qtyAllocate * perItemVolume) <= palletVolume && ((palletVolume - (qtyAllocate * perItemVolume)) < perItemVolume))
{
isStockToDock = true;
}
}
if(tempList != null)
{
System.out.println("Before Manual tempList["+tempList.size()+"]data["+tempList.toString()+"]");
}
if(saleOrderWiseMap.containsKey(saleOrder+":"+locTypeParent))
{
tempList = (ArrayList) saleOrderWiseMap.get(saleOrder+":"+locTypeParent);
}
else
{
tempList = new ArrayList();
}
tempMap = new HashMap();
tempMap.put("site_code", siteCode);
tempMap.put("item_code", itemCode);
tempMap.put("loc_code", locCd);
tempMap.put("lot_no", lotNo);
tempMap.put("lot_sl", lotSl);
tempMap.put("no_art", String.valueOf(noOfArticals));
tempMap.put("alloc_qty", qtyAllocate);
tempMap.put("inv_stat", invSt);
if(isStockToDock)
{
tempMap.put("stock2_dock", "Y");
}
else
{
tempMap.put("stock2_dock", "N");
}
tempMap.put("exp_lev", expLev);
tempMap.put("pack_size", itemPackSize);
tempMap.put("sord_lineNo", lineNo);
tempMap.put("loc_type", locType);
tempMap.put("loc_type_parent", locTypeParent);
tempMap.put("loc_zone_pref", locZonePref);
tempMap.put("master_pack", isMasterPickChecked);
tempMap.put("active_pick", isActivePickChecked);
tempMap.put("parcel_pick", isParcelPickChecked);
tempMap.put("exp_lev", expLev);
tempMap.put("pack_size", packSize);
tempMap.put("sord_lineNo", lineNo);
tempMap.put("item_weight", itemWeight);
if(((invSt.trim().equalsIgnoreCase(resrvLoc) || invSt.trim().equalsIgnoreCase(deepStoreLoc)) && (qtyAllocate >= packSize)) || invSt.trim().equalsIgnoreCase(partialResrvLoc))
{
System.out.println("Inside For Creating Repelnishment packSizeActive:::::["+packSize+"]lotQtyToBeAllocated["+qtyAllocate+"]");
if(itemInfoMapForRepl.containsKey(itemCode+":"+siteCode+":"+lotNo+":"+lotSl+":"+locCode))
{
isStockToDock = false;
System.out.println("Replenishment str for ["+quantity+"]");
replHistStr = checkForReplenishment(itemCode, siteCode, lotNo, lotSl, locCode, qtyAllocate, 2, conn);
System.out.println("Replenishment str for this ["+replHistStr+"]");
StringTokenizer stReplQtyID = new StringTokenizer(replHistStr, ":");
while(stReplQtyID.hasMoreTokens())
{
isRepl = stReplQtyID.nextToken();
if("Y".equalsIgnoreCase(isRepl))
{
replQuantity = stReplQtyID.nextToken();
}
else if("N".equalsIgnoreCase(isRepl))
{
prvReplID = stReplQtyID.nextToken();
prvLocCodeTo = stReplQtyID.nextToken();
prvReplLineNo = Integer.parseInt(stReplQtyID.nextToken());
prvPickOrd = stReplQtyID.nextToken();
prvPickLineNo = Integer.parseInt(stReplQtyID.nextToken());
}
}
locCodeTo = prvLocCodeTo;
if(locCodeTo == "" && locCodeTo.length() <= 0)
{
System.out.println("Block for replenishment exist location blak ["+locCodeTo+"]");
ArrayList tempItemInfoList = (ArrayList) itemInfoMapForRepl.get(itemCode+":"+siteCode+":"+lotNo+":"+lotSl+":"+locCode);
Iterator itemIterator= tempItemInfoList.iterator();
while(itemIterator.hasNext())
{
HashMap itemSitemap = (HashMap)itemIterator.next();
if(itemSitemap.containsKey("SUGG_LOC_TO"))
{
locCodeTo= (String)itemSitemap.get("SUGG_LOC_TO");
System.out.println("Suggested Location code For current wave ["+locCodeTo+"]");
}
}
}
System.out.println("Location Code To Found as Replenishment Exist ["+locCodeTo+"]");
}
else
{
System.out.println("prevsLocCode ["+prevsLocCode+"]");
System.out.println("Location Code To Found To Create Replenishment Before ["+locCodeTo+"]");
if(!isStockToDock)
{
ArrayList locCodeToList = getAvilableCasePickLocationList("C", conn, locType,locZonePref,locCode,itemCode,siteCode,lotNo,lotSl);
int suggestLocLen = locCodeToList.size();
if( suggestLocLen > 0)
{
int prvLocIndex = locCodeToList.indexOf(prevsLocCode);
if( prvLocIndex != -1 && (prvLocIndex + 1) < suggestLocLen)
{
locCodeTo = (String)locCodeToList.get((prvLocIndex + 1));
System.out.println("Inside prevsLocCode1 ["+locCodeTo+"]");
}
else
{
locCodeTo = (String)locCodeToList.get(0);
System.out.println("Inside prevsLocCode2 ["+locCodeTo+"]");
}
}
prevsLocCode = locCodeTo;
}
System.out.println("Location Code To Found To Create Replenishment After ["+locCodeTo+"]");
}
}
locCodeTo = locCodeTo != null && locCodeTo.length() > 0 ?locCodeTo:locCd;
System.out.println("Finally Loc Code["+locCode+"]Loc Code To["+locCodeTo+"]");
tempMap.put("sugg_loc", locCodeTo);
tempMap.put("hazard", hazardous);
tempList.add(tempMap);
System.out.println("Sale Order and Size Manuall allocate ["+saleOrder+"]line no ["+lineNo+"]["+itemCode+"qtyAllocate["+qtyAllocate+"]");
System.out.println("tempList["+tempList.size()+"]data["+tempList.toString()+"]");
saleOrderWiseMap.put(saleOrder+":"+locTypeParent,tempList);
}
if(manualStock)
{
int update = 0;
sql= "UPDATE SORDALLOC SET WAVE_FLAG = 'Y' WHERE SALE_ORDER = ? AND LINE_NO = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, saleOrder);
pstmt.setString(2, lineNoSord);
update = pstmt.executeUpdate();
if(update > 0)
{
System.out.println(" SORD_ALLOC updated ["+update+"]");
}
if( pstmt!= null)
{
pstmt.close();
pstmt = null;
}
}
if(allocQty > 0)
{
System.out.println("Going For ItemCode Quantity"+ itemCode+"saleOrder"+saleOrder+"]lineNo["+lineNo+"]allocQty["+allocQty+"]");
errString = sorderAllocate(headerDom, detailDom, saleOrder, lineNo, itemCode, allocQty,singleLot,pendingQuantity,isActivePickChecked,isMasterPickChecked,isStockToDockChecked,isParcelPickChecked, expLev, xtraParams, conn );
if (errString != null && errString.trim().length() > 0)
{
System.out.println("errString :"+errString);
return errString;
}
//saleOrderWiseMapCpy = (HashMap) saleOrderWiseMap.clone();
}
}
}
}
if(postOrderFg.equals("Y"))
{
......@@ -3153,7 +3629,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
while(rs.next())
{
isStockToDock = false;
System.out.println( "INSIDE WHILE LOOP.............");
System.out.println( "INSIDE WHILE LOOP.............["+allocQty);
//LOT_NO
lotNo = rs.getString(1);
//LOT_SL
......@@ -3831,6 +4307,11 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//Changed By Pragyan.start
if(tempList != null)
{
System.out.println("Before Sor tempList["+tempList.size()+"]data["+tempList.toString()+"]");
}
if(saleOrderWiseMap.containsKey(saleOrder+":"+locTypeParent))
{
// tempList = (ArrayList)saleOrderWiseMap.get(saleOrder);
......@@ -3885,6 +4366,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
//saleOrderWiseMap.put(saleOrder,tempList);
//saleOrderWiseMap.put(saleOrder+":"+locType,tempList);
System.out.println("Current Key For The insertion>>>>>["+saleOrder+":"+locTypeParent+"]Templist size["+tempList.size()+"]");
System.out.println("tempList["+tempList.size()+"]data["+tempList.toString()+"]");
saleOrderWiseMap.put(saleOrder+":"+locTypeParent,tempList); //Changes done by chandni 08-06-12(instead of loc_type, loc_type__parent should be selected)
System.out.println("Printing size of saleOrderWiseMap["+saleOrderWiseMap.size()+"]");
System.out.println("Printing keyset of saleOrderWiseMap["+saleOrderWiseMap.keySet()+"]");
......@@ -10157,7 +10639,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
BASE64Decoder decoder = new BASE64Decoder();
Timestamp currDate = new Timestamp(System.currentTimeMillis());
shipment2.setPackages2(packgeList);
ShipmentResultReturn2 objReturn2 = soap.shipWithLabel(shipment2, ShipWithLabelType.PNG, ImageRotation.Rotation_180);
//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);
System.out.println("Is successfully Executed ["+objReturn2.isSuccess()+"]");
System.out.println("Message String ["+objReturn2.getMessage()+"]");
......
......@@ -44,7 +44,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>21</height>
<height>24</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -104,7 +104,7 @@
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>sscc_14</name>
<dbname>sscc_14</dbname>
<dbname>asn_det.sscc_14</dbname>
</table_column>
<table_column>
<type size="120">char</type>
......@@ -125,8 +125,15 @@
<name>dlv_qty</name>
<dbname>dlv_qty</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>asn_det</update>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ord</name>
<dbname>asn_det.line_no__ord</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) </retrieve>
<update>ASN_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -196,7 +203,7 @@
<text>Item Code</text>
<border>6</border>
<color>33554432</color>
<x>178</x>
<x>321</x>
<y>2</y>
<height>16</height>
<width>81</width>
......@@ -224,7 +231,7 @@
<text>Quantity</text>
<border>6</border>
<color>33554432</color>
<x>427</x>
<x>570</x>
<y>2</y>
<height>16</height>
<width>72</width>
......@@ -252,8 +259,8 @@
<text>Expairy Date</text>
<border>6</border>
<color>33554432</color>
<x>501</x>
<y>3</y>
<x>644</x>
<y>2</y>
<height>16</height>
<width>132</width>
<html>
......@@ -280,8 +287,8 @@
<text>Pack Size</text>
<border>6</border>
<color>33554432</color>
<x>635</x>
<y>3</y>
<x>778</x>
<y>2</y>
<height>16</height>
<width>72</width>
<html>
......@@ -308,7 +315,7 @@
<text>Lot No</text>
<border>6</border>
<color>33554432</color>
<x>709</x>
<x>852</x>
<y>2</y>
<height>16</height>
<width>96</width>
......@@ -336,7 +343,7 @@
<text>Item Descr</text>
<border>6</border>
<color>33554432</color>
<x>261</x>
<x>404</x>
<y>2</y>
<height>16</height>
<width>164</width>
......@@ -364,8 +371,8 @@
<text>SSCC 14</text>
<border>6</border>
<color>33554432</color>
<x>807</x>
<y>3</y>
<x>950</x>
<y>2</y>
<height>16</height>
<width>133</width>
<html>
......@@ -388,12 +395,12 @@
</TextObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<alignment>2</alignment>
<text>Number of LPN</text>
<border>6</border>
<color>33554432</color>
<x>942</x>
<y>1</y>
<x>1085</x>
<y>2</y>
<height>16</height>
<width>112</width>
<html>
......@@ -414,65 +421,82 @@
<color>67108864</color>
</background>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<text>Dlv Qty</text>
<border>6</border>
<color>33554432</color>
<x>2</x>
<x>1199</x>
<y>2</y>
<height>16</height>
<width>100</width>
<format>[general]</format>
<width>213</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<tag>Transaction id for an Advance Shipment Notification.</tag>
<name>dlv_qty_t</name>
<visible>1</visible>
<font>
<face>Arial</face>
<height>-12</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>67108864</color>
</background>
</TextObject>
<TextObject>
<band>Header</band>
<alignment>2</alignment>
<text>Purchase Order Line No</text>
<border>6</border>
<color>33554432</color>
<x>178</x>
<y>2</y>
<height>16</height>
<width>141</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ord_t</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<family>1</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
<color>67108864</color>
</background>
</ColumnObject>
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<id>1</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>104</x>
<x>2</x>
<y>2</y>
<height>16</height>
<width>72</width>
<width>100</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<tag>Purchase order detail line no.</tag>
<name>tran_id</name>
<tag>Transaction id for an Advance Shipment Notification.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -499,7 +523,7 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>178</x>
<x>321</x>
<y>2</y>
<height>16</height>
<width>81</width>
......@@ -538,8 +562,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>261</x>
<y>1</y>
<x>404</x>
<y>2</y>
<height>16</height>
<width>164</width>
<format>[general]</format>
......@@ -576,8 +600,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>427</x>
<y>1</y>
<x>570</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
......@@ -615,8 +639,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>501</x>
<y>1</y>
<x>644</x>
<y>2</y>
<height>16</height>
<width>132</width>
<format>[shortdate] [time]</format>
......@@ -654,8 +678,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>635</x>
<y>1</y>
<x>778</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
......@@ -693,8 +717,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>709</x>
<y>1</y>
<x>852</x>
<y>2</y>
<height>16</height>
<width>96</width>
<format>[general]</format>
......@@ -732,8 +756,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>807</x>
<y>1</y>
<x>950</x>
<y>2</y>
<height>16</height>
<width>133</width>
<format>[general]</format>
......@@ -770,8 +794,8 @@
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>942</x>
<y>1</y>
<x>1085</x>
<y>2</y>
<height>16</height>
<width>112</width>
<format>[general]</format>
......@@ -803,18 +827,25 @@
<band>Detail</band>
<id>11</id>
<alignment>0</alignment>
<tabsequence>0</tabsequence>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>1057</x>
<y>1</y>
<x>1199</x>
<y>2</y>
<height>16</height>
<width>213</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
......@@ -828,24 +859,35 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Header</band>
<alignment>0</alignment>
<text>Dlv Qty</text>
<border>0</border>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>1056</x>
<y>1</y>
<height>19</height>
<width>214</width>
<x>104</x>
<y>2</y>
<height>16</height>
<width>72</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty_t</name>
<name>line_no</name>
<tag>Purchase order detail line no.</tag>
<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>-12</height>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
......@@ -853,9 +895,45 @@
</font>
<background>
<mode>2</mode>
<color>1073741824</color>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>2</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>178</x>
<y>2</y>
<height>16</height>
<width>141</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -39,7 +39,7 @@
<color>536870912</color>
</Footer>
<Detail>
<height>238</height>
<height>180</height>
<color>536870912</color>
</Detail>
<TableDefinition>
......@@ -99,7 +99,7 @@
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>sscc_14</name>
<dbname>sscc_14</dbname>
<dbname>asn_det.sscc_14</dbname>
</table_column>
<table_column>
<type size="120">char</type>
......@@ -120,8 +120,15 @@
<name>dlv_qty</name>
<dbname>dlv_qty</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;ASN_DET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>asn_det</update>
<table_column>
<type size="3">char</type>
<update>yes</update>
<updatewhereclause>yes</updatewhereclause>
<name>line_no__ord</name>
<dbname>asn_det.line_no__ord</dbname>
</table_column>
<retrieve>PBSELECT( VERSION(400) TABLE(NAME=&quot;asn_det&quot; ) TABLE(NAME=&quot;item&quot; ) COLUMN(NAME=&quot;asn_det.tran_id&quot;) COLUMN(NAME=&quot;asn_det.line_no&quot;) COLUMN(NAME=&quot;asn_det.item_code&quot;) COLUMN(NAME=&quot;asn_det.quantity&quot;) COLUMN(NAME=&quot;asn_det.exp_date&quot;) COLUMN(NAME=&quot;asn_det.pack_size&quot;) COLUMN(NAME=&quot;asn_det.lot_no&quot;) COLUMN(NAME=&quot;asn_det.sscc_14&quot;) COLUMN(NAME=&quot;item.descr&quot;) COLUMN(NAME=&quot;asn_det.no_pallet&quot;) COMPUTE(NAME=&quot;fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty&quot;) COLUMN(NAME=&quot;asn_det.line_no__ord&quot;) JOIN (LEFT=&quot;asn_det.item_code&quot; OP =&quot;=&quot;RIGHT=&quot;item.item_code&quot; OUTER1 =&quot;asn_det.item_code&quot; )WHERE( EXP1 =&quot;ASN_DET.TRAN_ID&quot; OP =&quot;=&quot; EXP2 =&quot;:tran_id&quot; LOGIC =&quot;and&quot; ) WHERE( EXP1 =&quot;ASN_DET.LINE_NO&quot; OP =&quot;=&quot; EXP2 =&quot;:line_no&quot; ) ) ARG(NAME = &quot;tran_id&quot; TYPE = string) ARG(NAME = &quot;line_no&quot; TYPE = number) </retrieve>
<update>ASN_DET</update>
<updatewhere>0</updatewhere>
<updatekeyinplace>no</updatekeyinplace>
<argument>
......@@ -141,7 +148,7 @@
<x>10</x>
<y>7</y>
<height>143</height>
<width>519</width>
<width>534</width>
<name>gb_1</name>
<visible>1</visible>
<font>
......@@ -157,98 +164,76 @@
<color>1073741824</color>
</background>
</GroupBox>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<tabsequence>20</tabsequence>
<border>5</border>
<text>Item Code :</text>
<border>0</border>
<color>33554432</color>
<x>147</x>
<y>61</y>
<x>38</x>
<y>43</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity</name>
<tag>Quantity of goods recieved or return</tag>
<name>item_code_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>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>6</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<text>Quantity :</text>
<border>0</border>
<color>33554432</color>
<x>147</x>
<y>81</y>
<x>38</x>
<y>63</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pack_size</name>
<tag>Pack size of Item</tag>
<name>quantity_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>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>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Transaction Id :</text>
<text>Pack Size :</text>
<border>0</border>
<color>33554432</color>
<x>53</x>
<y>21</y>
<x>38</x>
<y>83</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id_t</name>
<name>pack_size_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -266,17 +251,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Item Code :</text>
<text>Lot No :</text>
<border>0</border>
<color>33554432</color>
<x>53</x>
<y>41</y>
<x>38</x>
<y>101</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>item_code_t</name>
<name>lot_no_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -294,79 +279,90 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity :</text>
<text>Number of LPN:</text>
<border>0</border>
<color>33554432</color>
<x>53</x>
<y>61</y>
<x>38</x>
<y>123</y>
<height>16</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>quantity_t</name>
<name>t_1</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
<face>Tahoma</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>1073741824</color>
</background>
</TextObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<id>4</id>
<alignment>1</alignment>
<text>Pack Size :</text>
<border>0</border>
<tabsequence>20</tabsequence>
<border>5</border>
<color>33554432</color>
<x>53</x>
<y>81</y>
<x>132</x>
<y>63</y>
<height>16</height>
<width>90</width>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>pack_size_t</name>
<name>quantity</name>
<tag>Quantity of goods recieved or return</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>1</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>147</x>
<y>21</y>
<id>6</id>
<alignment>1</alignment>
<tabsequence>30</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>83</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>tran_id</name>
<tag>Transaction id for an Advance Shipment Notification.</tag>
<name>pack_size</name>
<tag>Pack size of Item</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>10</limit>
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -382,8 +378,8 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<ColumnObject>
......@@ -393,8 +389,8 @@
<tabsequence>10</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>41</y>
<x>132</x>
<y>43</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
......@@ -427,23 +423,24 @@
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>9</id>
<id>7</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>238</x>
<y>41</y>
<height>33</height>
<width>280</width>
<tabsequence>50</tabsequence>
<border>5</border>
<color>33554432</color>
<x>132</x>
<y>103</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>descr</name>
<name>lot_no</name>
<tag>Lot number of the item</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>120</limit>
<limit>15</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -459,58 +456,65 @@
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>1</alignment>
<text>Line No :</text>
<border>0</border>
<tabsequence>70</tabsequence>
<border>5</border>
<color>33554432</color>
<x>303</x>
<y>21</y>
<x>132</x>
<y>123</y>
<height>16</height>
<width>108</width>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no_t</name>
<name>no_pallet</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>1</family>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
<mode>2</mode>
<color>16777215</color>
</background>
</TextObject>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<id>9</id>
<alignment>0</alignment>
<tabsequence>32766</tabsequence>
<border>0</border>
<color>255</color>
<x>416</x>
<y>21</y>
<height>16</height>
<width>103</width>
<x>222</x>
<y>43</y>
<height>33</height>
<width>287</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<tag>Purchase order detail line no.</tag>
<name>descr</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<limit>120</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -533,17 +537,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Expiration Date :</text>
<text>Transaction Id :</text>
<border>0</border>
<color>33554432</color>
<x>303</x>
<y>83</y>
<height>16</height>
<width>108</width>
<x>38</x>
<y>23</y>
<height>17</height>
<width>90</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date_t</name>
<name>tran_id_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -558,56 +562,48 @@
<color>536870912</color>
</background>
</TextObject>
<ColumnObject>
<TextObject>
<band>Detail</band>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<alignment>1</alignment>
<text>Line No :</text>
<border>0</border>
<color>33554432</color>
<x>416</x>
<y>83</y>
<height>16</height>
<width>103</width>
<format>[shortdate] [time]</format>
<x>223</x>
<y>23</y>
<height>17</height>
<width>50</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>exp_date</name>
<tag>Expiry Date of the stock</tag>
<name>line_no_t</name>
<visible>1</visible>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<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>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>SSCC 14 :</text>
<text>Purchase Order Line No:</text>
<border>0</border>
<color>33554432</color>
<x>303</x>
<y>103</y>
<height>16</height>
<width>108</width>
<x>328</x>
<y>23</y>
<height>17</height>
<width>132</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>sscc_14_t</name>
<name>line_no__ord_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -624,24 +620,24 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>7</id>
<id>1</id>
<alignment>0</alignment>
<tabsequence>50</tabsequence>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>101</y>
<height>16</height>
<color>255</color>
<x>132</x>
<y>23</y>
<height>17</height>
<width>86</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no</name>
<tag>Lot number of the item</tag>
<name>tran_id</name>
<tag>Transaction id for an Advance Shipment Notification.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>15</limit>
<limit>10</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
......@@ -656,6 +652,81 @@
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>2</id>
<alignment>1</alignment>
<tabsequence>32766</tabsequence>
<border>5</border>
<color>255</color>
<x>277</x>
<y>23</y>
<height>17</height>
<width>45</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no</name>
<tag>Purchase order detail line no.</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<focusrectangle>no</focusrectangle>
<autoselect>yes</autoselect>
<autohscroll>yes</autohscroll>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>1</mode>
<color>536870912</color>
</background>
</ColumnObject>
<ColumnObject>
<band>Detail</band>
<id>12</id>
<alignment>1</alignment>
<tabsequence>80</tabsequence>
<border>5</border>
<color>33554432</color>
<x>463</x>
<y>23</y>
<height>17</height>
<width>45</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>line_no__ord</name>
<visible>1</visible>
<EditStyle style="edit">
<limit>3</limit>
<case>any</case>
<autoselect>yes</autoselect>
<imemode>0</imemode>
</EditStyle>
<font>
<face>Times New Roman</face>
<height>-10</height>
<weight>400</weight>
<family>2</family>
<pitch>2</pitch>
<charset>0</charset>
</font>
<background>
<mode>2</mode>
<color>16777215</color>
......@@ -664,17 +735,17 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Lot No :</text>
<text>Expiration Date :</text>
<border>0</border>
<color>33554432</color>
<x>53</x>
<y>99</y>
<x>277</x>
<y>85</y>
<height>16</height>
<width>90</width>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>lot_no_t</name>
<name>exp_date_t</name>
<visible>1</visible>
<font>
<face>Times New Roman</face>
......@@ -691,26 +762,26 @@
</TextObject>
<ColumnObject>
<band>Detail</band>
<id>10</id>
<alignment>1</alignment>
<tabsequence>70</tabsequence>
<id>5</id>
<alignment>0</alignment>
<tabsequence>40</tabsequence>
<border>5</border>
<color>33554432</color>
<x>147</x>
<y>121</y>
<x>389</x>
<y>85</y>
<height>16</height>
<width>86</width>
<format>[general]</format>
<width>121</width>
<format>[shortdate] [time]</format>
<html>
<valueishtml>0</valueishtml>
</html>
<name>no_pallet</name>
<name>exp_date</name>
<tag>Expiry Date of the stock</tag>
<visible>1</visible>
<EditStyle style="edit">
<limit>0</limit>
<case>any</case>
<autoselect>yes</autoselect>
<EditStyle style="editmask">
<mask>dd/mm/yy</mask>
<imemode>0</imemode>
<focusrectangle>no</focusrectangle>
</EditStyle>
<font>
<face>Times New Roman</face>
......@@ -728,29 +799,57 @@
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Number of LPN:</text>
<text>SSCC 14 :</text>
<border>0</border>
<color>33554432</color>
<x>53</x>
<y>121</y>
<x>277</x>
<y>105</y>
<height>16</height>
<width>90</width>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>t_1</name>
<name>sscc_14_t</name>
<visible>1</visible>
<font>
<face>Tahoma</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>1073741824</color>
<mode>1</mode>
<color>536870912</color>
</background>
</TextObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity Received :</text>
<border>0</border>
<color>33554432</color>
<x>277</x>
<y>127</y>
<height>16</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty_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>
......@@ -760,10 +859,10 @@
<tabsequence>60</tabsequence>
<border>5</border>
<color>33554432</color>
<x>416</x>
<y>103</y>
<x>390</x>
<y>105</y>
<height>16</height>
<width>103</width>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -798,10 +897,10 @@
<tabsequence>32766</tabsequence>
<border>0</border>
<color>33554432</color>
<x>416</x>
<y>125</y>
<x>390</x>
<y>127</y>
<height>16</height>
<width>103</width>
<width>120</width>
<format>[general]</format>
<html>
<valueishtml>0</valueishtml>
......@@ -827,34 +926,6 @@
<color>16777215</color>
</background>
</ColumnObject>
<TextObject>
<band>Detail</band>
<alignment>1</alignment>
<text>Quantity Received :</text>
<border>0</border>
<color>33554432</color>
<x>303</x>
<y>125</y>
<height>16</height>
<width>108</width>
<html>
<valueishtml>0</valueishtml>
</html>
<name>dlv_qty_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>
<HtmlTable>
<border>1</border>
</HtmlTable>
......
......@@ -42031,4 +42031,127 @@ INSERT INTO disparm (
fn_sysdate(),
'BASE',
'Rohan');
--///12-jul-13
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 (
'VTPUCNTCNF',
'uncofirmed purchase order',
'Purchase Order not confirm.Please confirm Purchase Order ',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'Base ',
'Base ',
NULL,
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTINVPUORD',
'Invalid purchase order',
'Purchase Order not exist.Please enter valid Purchase Order',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'Base ',
'Base ',
NULL,
NULL);
INSERT INTO obj_itemchange(
obj_name,
form_no,
field_name,
mandatory)
VALUES (
'asn',
'2',
'line_no__ord',
NULL);
INSERT INTO obj_itemchange(
obj_name,
form_no,
field_name,
mandatory)
VALUES (
'asn',
'2',
'itm_default',
NULL);
INSERT INTO obj_itemchange(
obj_name,
form_no,
field_name,
mandatory)
VALUES (
'asn',
'2',
'itm_defaultedit',
NULL);
INSERT INTO MESSAGES (
msg_no ,
msg_str ,
msg_descr ,
msg_type ,
msg_opt ,
msg_time ,
alarm ,
err_source ,
chg_date ,
chg_user ,
chg_term ,
override_input ,
mail_option )
VALUES (
'VTACTPKCSC',
'Invalid Selection of Actives',
'Sales Order in cases Active Pick should not Allowed',
'E',
'Y',
NULL,
NULL,
NULL,
fn_sysdate(),
'Base ',
'Base ',
NULL,
NULL);
commit;
commit;
$PBExportHeader$dw_asn_det_brow.srd
release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no grid.lines=0 )
datawindow(units=1 timer_interval=0 color=67108864 processing=1 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
header(height=18 color="536870912" )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=21 color="536870912" )
detail(height=24 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="asn_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="asn_det.line_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="asn_det.item_code" )
......@@ -12,36 +12,38 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=exp_date dbname="asn_det.exp_date" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=pack_size dbname="asn_det.pack_size" )
column=(type=char(15) update=yes updatewhereclause=yes name=lot_no dbname="asn_det.lot_no" )
column=(type=char(35) update=yes updatewhereclause=yes name=sscc_14 dbname="sscc_14" )
column=(type=char(35) update=yes updatewhereclause=yes name=sscc_14 dbname="asn_det.sscc_14" )
column=(type=char(120) updatewhereclause=yes name=descr dbname="item.descr" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_pallet dbname="asn_det.no_pallet" )
column=(type=number updatewhereclause=yes name=dlv_qty dbname="dlv_qty" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"asn_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"asn_det.tran_id~") COLUMN(NAME=~"asn_det.line_no~") COLUMN(NAME=~"asn_det.item_code~") COLUMN(NAME=~"asn_det.quantity~") COLUMN(NAME=~"asn_det.exp_date~") COLUMN(NAME=~"asn_det.pack_size~") COLUMN(NAME=~"asn_det.lot_no~") COLUMN(NAME=~"asn_det.sscc_14~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"asn_det.no_pallet~") COMPUTE(NAME=~"fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty~") JOIN (LEFT=~"asn_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"asn_det.item_code~" )WHERE( EXP1 =~"ASN_DET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="asn_det" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
column=(type=char(3) update=yes updatewhereclause=yes name=line_no__ord dbname="asn_det.line_no__ord" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"asn_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"asn_det.tran_id~") COLUMN(NAME=~"asn_det.line_no~") COLUMN(NAME=~"asn_det.item_code~") COLUMN(NAME=~"asn_det.quantity~") COLUMN(NAME=~"asn_det.exp_date~") COLUMN(NAME=~"asn_det.pack_size~") COLUMN(NAME=~"asn_det.lot_no~") COLUMN(NAME=~"asn_det.sscc_14~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"asn_det.no_pallet~") COMPUTE(NAME=~"fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty~") COLUMN(NAME=~"asn_det.line_no__ord~") JOIN (LEFT=~"asn_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"asn_det.item_code~" )WHERE( EXP1 =~"ASN_DET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) " update="ASN_DET" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string)) )
text(band=header alignment="2" text="Transaction Id" border="6" color="33554432" x="2" y="2" height="16" width="100" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Line No" border="6" color="33554432" x="104" y="2" height="16" width="72" 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" )
text(band=header alignment="2" text="Item Code" border="6" color="33554432" x="178" y="2" height="16" width="81" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Quantity" border="6" color="33554432" x="427" y="2" height="16" width="72" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Expairy Date" border="6" color="33554432" x="501" y="3" height="16" width="132" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pack Size" border="6" color="33554432" x="635" y="3" height="16" width="72" html.valueishtml="0" name=pack_size_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot No" border="6" color="33554432" x="709" y="2" height="16" width="96" html.valueishtml="0" name=lot_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Descr" border="6" color="33554432" x="261" y="2" height="16" width="164" html.valueishtml="0" name=descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="SSCC 14" border="6" color="33554432" x="807" y="3" height="16" width="133" html.valueishtml="0" name=sscc_14_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="0" text="Number of LPN" border="6" color="33554432" x="942" y="1" height="16" width="112" html.valueishtml="0" name=no_pallet_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="Item Code" border="6" color="33554432" x="326" y="2" height="16" width="81" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Quantity" border="6" color="33554432" x="575" y="2" height="16" width="72" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Expairy Date" border="6" color="33554432" x="649" y="2" height="16" width="132" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Pack Size" border="6" color="33554432" x="783" y="2" height="16" width="72" html.valueishtml="0" name=pack_size_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Lot No" border="6" color="33554432" x="857" y="2" height="16" width="96" html.valueishtml="0" name=lot_no_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Item Descr" border="6" color="33554432" x="409" y="2" height="16" width="164" html.valueishtml="0" name=descr_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="SSCC 14" border="6" color="33554432" x="955" y="2" height="16" width="133" html.valueishtml="0" name=sscc_14_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=header alignment="2" text="Number of LPN" border="6" color="33554432" x="1090" y="2" height="16" width="112" html.valueishtml="0" name=no_pallet_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="Dlv Qty" border="6" color="33554432" x="1204" y="2" height="16" width="213" html.valueishtml="0" name=dlv_qty_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="67108864" )
column(band=detail id=1 alignment="2" tabsequence=32766 border="5" color="33554432" x="2" y="2" height="16" width="100" format="[general]" html.valueishtml="0" name=tran_id tag="Transaction id for an Advance Shipment Notification." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="2" tabsequence=32766 border="5" color="33554432" x="326" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=item_code tag="Item recieved or return" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="409" y="2" height="16" width="164" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="2" tabsequence=32766 border="5" color="33554432" x="575" y="2" height="16" width="72" format="[general]" html.valueishtml="0" name=quantity tag="Quantity of goods recieved or return" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="2" tabsequence=32766 border="5" color="33554432" x="649" y="2" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=exp_date tag="Expiry Date of the stock" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="2" tabsequence=32766 border="5" color="33554432" x="783" y="2" height="16" width="72" format="[general]" html.valueishtml="0" name=pack_size tag="Pack size of Item" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="2" tabsequence=32766 border="5" color="33554432" x="857" y="2" height="16" width="96" format="[general]" html.valueishtml="0" name=lot_no tag="Lot number of the item" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="955" y="2" height="16" width="133" format="[general]" html.valueishtml="0" name=sscc_14 visible="1" edit.limit=35 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="1090" y="2" height="16" width="112" format="[general]" html.valueishtml="0" name=no_pallet visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=32766 border="0" color="33554432" x="1204" y="2" height="16" width="213" format="[general]" html.valueishtml="0" name=dlv_qty visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=2 alignment="2" tabsequence=32766 border="5" color="33554432" x="104" y="2" height="16" width="72" format="[general]" html.valueishtml="0" name=line_no tag="Purchase order detail line no." visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="2" tabsequence=32766 border="5" color="33554432" x="178" y="2" height="16" width="81" format="[general]" html.valueishtml="0" name=item_code tag="Item recieved or return" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="5" color="33554432" x="261" y="1" height="16" width="164" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=4 alignment="2" tabsequence=32766 border="5" color="33554432" x="427" y="1" height="16" width="72" format="[general]" html.valueishtml="0" name=quantity tag="Quantity of goods recieved or return" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=5 alignment="2" tabsequence=32766 border="5" color="33554432" x="501" y="1" height="16" width="132" format="[shortdate] [time]" html.valueishtml="0" name=exp_date tag="Expiry Date of the stock" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="2" tabsequence=32766 border="5" color="33554432" x="635" y="1" height="16" width="72" format="[general]" html.valueishtml="0" name=pack_size tag="Pack size of Item" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="2" tabsequence=32766 border="5" color="33554432" x="709" y="1" height="16" width="96" format="[general]" html.valueishtml="0" name=lot_no tag="Lot number of the item" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=8 alignment="0" tabsequence=32766 border="5" color="33554432" x="807" y="1" height="16" width="133" format="[general]" html.valueishtml="0" name=sscc_14 visible="1" edit.limit=35 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="0" tabsequence=32766 border="5" color="33554432" x="942" y="1" height="16" width="112" format="[general]" html.valueishtml="0" name=no_pallet visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="0" tabsequence=0 border="0" color="33554432" x="1057" y="1" height="16" width="213" html.valueishtml="0" name=dlv_qty visible="1" 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=header alignment="0" text="Dlv Qty" border="0" color="33554432" x="1056" y="1" height="19" width="214" html.valueishtml="0" name=dlv_qty_t visible="1" font.face="Arial" font.height="-12" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="1073741824" )
text(band=header alignment="2" text="Purchase Order Line No" border="6" color="33554432" x="180" y="2" height="16" width="141" html.valueishtml="0" name=line_no__ord_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=12 alignment="2" tabsequence=32766 border="5" color="33554432" x="180" y="2" height="16" width="141" format="[general]" html.valueishtml="0" name=line_no__ord 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" )
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
import.xml()
export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" )
\ No newline at end of file
......@@ -3,7 +3,7 @@ release 9;
datawindow(units=1 timer_interval=0 color=67108864 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes hidegrayline=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=238 color="536870912" )
detail(height=180 color="536870912" )
table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_id dbname="asn_det.tran_id" )
column=(type=decimal(0) update=yes updatewhereclause=yes key=yes name=line_no dbname="asn_det.line_no" )
column=(type=char(10) update=yes updatewhereclause=yes name=item_code dbname="asn_det.item_code" )
......@@ -11,33 +11,36 @@ table(column=(type=char(10) update=yes updatewhereclause=yes key=yes name=tran_i
column=(type=datetime update=yes updatewhereclause=yes name=exp_date dbname="asn_det.exp_date" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=pack_size dbname="asn_det.pack_size" )
column=(type=char(15) update=yes updatewhereclause=yes name=lot_no dbname="asn_det.lot_no" )
column=(type=char(35) update=yes updatewhereclause=yes name=sscc_14 dbname="sscc_14" )
column=(type=char(35) update=yes updatewhereclause=yes name=sscc_14 dbname="asn_det.sscc_14" )
column=(type=char(120) updatewhereclause=yes name=descr dbname="item.descr" )
column=(type=decimal(0) update=yes updatewhereclause=yes name=no_pallet dbname="asn_det.no_pallet" )
column=(type=number updatewhereclause=yes name=dlv_qty dbname="dlv_qty" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"asn_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"asn_det.tran_id~") COLUMN(NAME=~"asn_det.line_no~") COLUMN(NAME=~"asn_det.item_code~") COLUMN(NAME=~"asn_det.quantity~") COLUMN(NAME=~"asn_det.exp_date~") COLUMN(NAME=~"asn_det.pack_size~") COLUMN(NAME=~"asn_det.lot_no~") COLUMN(NAME=~"asn_det.sscc_14~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"asn_det.no_pallet~") COMPUTE(NAME=~"fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty~") JOIN (LEFT=~"asn_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"asn_det.item_code~" )WHERE( EXP1 =~"ASN_DET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"and~" ) WHERE( EXP1 =~"ASN_DET.LINE_NO~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="asn_det" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="10" y="7" height="143" width="519" name=gb_1 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="1073741824" )
column(band=detail id=4 alignment="1" tabsequence=20 border="5" color="33554432" x="147" y="61" height="16" width="86" format="[general]" html.valueishtml="0" name=quantity tag="Quantity of goods recieved or return" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=30 border="5" color="33554432" x="147" y="81" height="16" width="86" format="[general]" html.valueishtml="0" name=pack_size tag="Pack size of Item" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Transaction Id :" border="0" color="33554432" x="53" y="21" height="16" width="90" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Item Code :" border="0" color="33554432" x="53" y="41" height="16" width="90" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity :" border="0" color="33554432" x="53" y="61" height="16" width="90" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pack Size :" border="0" color="33554432" x="53" y="81" height="16" width="90" html.valueishtml="0" name=pack_size_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="0" color="255" x="147" y="21" height="16" width="86" format="[general]" html.valueishtml="0" name=tran_id tag="Transaction id for an Advance Shipment Notification." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=3 alignment="0" tabsequence=10 border="5" color="33554432" x="147" y="41" height="16" width="86" format="[general]" html.valueishtml="0" name=item_code tag="Item recieved or return" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="255" x="238" y="41" height="33" width="280" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No :" border="0" color="33554432" x="303" y="21" height="16" width="108" 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="0" color="255" x="416" y="21" height="16" width="103" format="[general]" html.valueishtml="0" name=line_no tag="Purchase order detail line no." visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Expiration Date :" border="0" color="33554432" x="303" y="83" height="16" width="108" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=40 border="5" color="33554432" x="416" y="83" height="16" width="103" format="[shortdate] [time]" html.valueishtml="0" name=exp_date tag="Expiry Date of the stock" 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="16777215" )
text(band=detail alignment="1" text="SSCC 14 :" border="0" color="33554432" x="303" y="103" height="16" width="108" html.valueishtml="0" name=sscc_14_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="0" tabsequence=50 border="5" color="33554432" x="147" y="101" height="16" width="86" format="[general]" html.valueishtml="0" name=lot_no tag="Lot number of the item" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Lot No :" border="0" color="33554432" x="53" y="99" height="16" width="90" html.valueishtml="0" name=lot_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=10 alignment="1" tabsequence=70 border="5" color="33554432" x="147" y="121" height="16" width="86" format="[general]" html.valueishtml="0" name=no_pallet 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="Number of LPN:" border="0" color="33554432" x="53" y="121" height="16" width="90" html.valueishtml="0" name=t_1 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="1073741824" )
column(band=detail id=8 alignment="0" tabsequence=60 border="5" color="33554432" x="416" y="103" height="16" width="103" format="[general]" html.valueishtml="0" name=sscc_14 visible="1" edit.limit=35 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="416" y="125" height="16" width="103" format="[general]" html.valueishtml="0" name=dlv_qty 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="Quantity Received :" border="0" color="33554432" x="303" y="125" height="16" width="108" html.valueishtml="0" name=dlv_qty_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=char(3) update=yes updatewhereclause=yes name=line_no__ord dbname="asn_det.line_no__ord" )
retrieve="PBSELECT( VERSION(400) TABLE(NAME=~"asn_det~" ) TABLE(NAME=~"item~" ) COLUMN(NAME=~"asn_det.tran_id~") COLUMN(NAME=~"asn_det.line_no~") COLUMN(NAME=~"asn_det.item_code~") COLUMN(NAME=~"asn_det.quantity~") COLUMN(NAME=~"asn_det.exp_date~") COLUMN(NAME=~"asn_det.pack_size~") COLUMN(NAME=~"asn_det.lot_no~") COLUMN(NAME=~"asn_det.sscc_14~") COLUMN(NAME=~"item.descr~") COLUMN(NAME=~"asn_det.no_pallet~") COMPUTE(NAME=~"fn_po_dlv_qty(asn_det.tran_id,asn_det.line_no__ord) as dlv_qty~") COLUMN(NAME=~"asn_det.line_no__ord~") JOIN (LEFT=~"asn_det.item_code~" OP =~"=~"RIGHT=~"item.item_code~" OUTER1 =~"asn_det.item_code~" )WHERE( EXP1 =~"ASN_DET.TRAN_ID~" OP =~"=~" EXP2 =~":tran_id~" LOGIC =~"and~" ) WHERE( EXP1 =~"ASN_DET.LINE_NO~" OP =~"=~" EXP2 =~":line_no~" ) ) ARG(NAME = ~"tran_id~" TYPE = string) ARG(NAME = ~"line_no~" TYPE = number) " update="ASN_DET" updatewhere=0 updatekeyinplace=no arguments=(("tran_id", string),("line_no", number)) )
groupbox(band=detail text="Basic"border="2" color="33554432" x="10" y="7" height="143" width="534" name=gb_1 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="1073741824" )
text(band=detail alignment="1" text="Item Code :" border="0" color="33554432" x="38" y="43" height="16" width="90" html.valueishtml="0" name=item_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Quantity :" border="0" color="33554432" x="38" y="63" height="16" width="90" html.valueishtml="0" name=quantity_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Pack Size :" border="0" color="33554432" x="38" y="83" height="16" width="90" html.valueishtml="0" name=pack_size_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 :" border="0" color="33554432" x="38" y="101" height="16" width="90" html.valueishtml="0" name=lot_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="Number of LPN:" border="0" color="33554432" x="38" y="123" height="16" width="90" html.valueishtml="0" name=t_1 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="1073741824" )
column(band=detail id=4 alignment="1" tabsequence=30 border="5" color="33554432" x="132" y="63" height="16" width="86" format="[general]" html.valueishtml="0" name=quantity tag="Quantity of goods recieved or return" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=6 alignment="1" tabsequence=40 border="5" color="33554432" x="132" y="83" height="16" width="86" format="[general]" html.valueishtml="0" name=pack_size tag="Pack size of Item" visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=3 alignment="0" tabsequence=20 border="5" color="33554432" x="132" y="43" height="16" width="86" format="[general]" html.valueishtml="0" name=item_code tag="Item recieved or return" visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=7 alignment="0" tabsequence=60 border="5" color="33554432" x="132" y="103" height="16" width="86" format="[general]" html.valueishtml="0" name=lot_no tag="Lot number of the item" visible="1" edit.limit=15 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=10 alignment="1" tabsequence=80 border="5" color="33554432" x="132" y="123" height="16" width="86" format="[general]" html.valueishtml="0" name=no_pallet visible="1" edit.limit=0 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=9 alignment="0" tabsequence=32766 border="0" color="255" x="222" y="43" height="33" width="287" format="[general]" html.valueishtml="0" name=descr visible="1" edit.limit=120 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="1" background.color="536870912" )
text(band=detail alignment="1" text="Transaction Id :" border="0" color="33554432" x="38" y="23" height="17" width="90" html.valueishtml="0" name=tran_id_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
text(band=detail alignment="1" text="Line No :" border="0" color="33554432" x="223" y="23" height="17" width="50" 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" )
text(band=detail alignment="1" text="Purchase Order Line No:" border="0" color="33554432" x="328" y="23" height="17" width="132" html.valueishtml="0" name=line_no__ord_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="132" y="23" height="17" width="86" format="[general]" html.valueishtml="0" name=tran_id tag="Transaction id for an Advance Shipment Notification." visible="1" edit.limit=10 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=2 alignment="1" tabsequence=32766 border="5" color="255" x="277" y="23" height="17" width="45" format="[general]" html.valueishtml="0" name=line_no tag="Purchase order detail line no." visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=12 alignment="1" tabsequence=10 border="5" color="33554432" x="463" y="23" height="17" width="45" format="[general]" html.valueishtml="0" name=line_no__ord visible="1" edit.limit=3 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="Expiration Date :" border="0" color="33554432" x="277" y="85" height="16" width="108" html.valueishtml="0" name=exp_date_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" )
column(band=detail id=5 alignment="0" tabsequence=50 border="5" color="33554432" x="389" y="85" height="16" width="121" format="[shortdate] [time]" html.valueishtml="0" name=exp_date tag="Expiry Date of the stock" 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="16777215" )
text(band=detail alignment="1" text="SSCC 14 :" border="0" color="33554432" x="277" y="105" height="16" width="108" html.valueishtml="0" name=sscc_14_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="Quantity Received :" border="0" color="33554432" x="277" y="127" height="16" width="108" html.valueishtml="0" name=dlv_qty_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=8 alignment="0" tabsequence=70 border="5" color="33554432" x="390" y="105" height="16" width="120" format="[general]" html.valueishtml="0" name=sscc_14 visible="1" edit.limit=35 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=11 alignment="1" tabsequence=32766 border="0" color="33554432" x="390" y="127" height="16" width="120" format="[general]" html.valueishtml="0" name=dlv_qty 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" )
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