| 11348 |
manish.sha |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<title>
|
|
|
5 |
Warehouse Management::Scan In
|
|
|
6 |
</title>
|
|
|
7 |
<link rel="stylesheet" href="/inventory/css/common.css" type="text/css" />
|
|
|
8 |
<link rel="stylesheet" href="/inventory/css/colorbox.css" type="text/css" />
|
|
|
9 |
<script type="text/javascript" src="/inventory/js/jquery-1.4.2.js"></script>
|
|
|
10 |
<script type="text/javascript" src="/inventory/js/jquery.colorbox-min.js"></script>
|
|
|
11 |
<script type="text/javascript" src="/inventory/js/purchase.js"></script>
|
|
|
12 |
<script language="JavaScript">
|
|
|
13 |
function disableEnterKey(e)
|
|
|
14 |
{
|
|
|
15 |
var key;
|
|
|
16 |
if(window.event)
|
|
|
17 |
key = window.event.keyCode; //IE
|
|
|
18 |
else
|
|
|
19 |
key = e.which; //firefox
|
|
|
20 |
|
|
|
21 |
return (key != 13);
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
function setFileName(){
|
|
|
25 |
var fileN1 = $('#scanDataFile').val();
|
|
|
26 |
var fileName = fileN1.substring(fileN1.lastIndexOf('\\')+1);
|
|
|
27 |
$('#fileNameVal').val(fileName);
|
|
|
28 |
return true;
|
|
|
29 |
}
|
|
|
30 |
</script>
|
|
|
31 |
</head>
|
|
|
32 |
<body >
|
|
|
33 |
<a href="/inventory">Go to Home page</a>
|
|
|
34 |
<br />
|
|
|
35 |
<h2>Scan Items in warehouse: $action.getWarehouse().getDisplayName()</h2>
|
|
|
36 |
<span style="color:red">
|
|
|
37 |
$action.getErrorMessage()
|
|
|
38 |
</span>
|
|
|
39 |
<span style="color:blue">
|
|
|
40 |
$action.getSuccessMsg()
|
|
|
41 |
</span>
|
|
|
42 |
<form id = 'bulkScanUploadForm' action="/inventory/bulk-purchase/$action.getId()" enctype="multipart/form-data" method="post" onsubmit="return setFileName()">
|
|
|
43 |
<span>Select Item :</span>
|
|
|
44 |
<select name ="bulkScanUploadItem" id ="bulkScanUploadItem">
|
|
|
45 |
<option selected="selected" value="-1">Select Item</option>
|
|
|
46 |
#foreach ($item in $action.getItems())
|
|
|
47 |
#if($action.isItemScannedIn($item.getId()))
|
|
|
48 |
<option value="$item.getId()" >$action.getName($item)</option>
|
|
|
49 |
#else
|
|
|
50 |
<option value="$item.getId()" disabled="disabled" >$action.getName($item)</option>
|
|
|
51 |
#end
|
|
|
52 |
#end
|
|
|
53 |
</select>
|
|
|
54 |
<br>
|
|
|
55 |
<span>Transfer on Scan-in to Warehouse </span>
|
|
|
56 |
<select name = "transferWarehouseId">
|
|
|
57 |
#if($action.getTransferWarehouseId())
|
|
|
58 |
#foreach($warehouse in $action.getAllowedDestinationWarehousesForTransfer($action.getWarehouseId()))
|
|
|
59 |
#if($warehouse.getId()==$action.getTransferWarehouseId())
|
|
|
60 |
<option value = "$warehouse.getId()" selected>$warehouse.getDisplayName()</option>
|
|
|
61 |
#end
|
|
|
62 |
#end
|
|
|
63 |
#if($action.getTransferWarehouseId()==0)
|
|
|
64 |
<option value = "0" >Select...</option>
|
|
|
65 |
#foreach($warehouse in $action.getAllowedDestinationWarehousesForTransfer($action.getWarehouseId()))
|
|
|
66 |
<option value = "$warehouse.getId()">$warehouse.getDisplayName()</option>
|
|
|
67 |
#end
|
|
|
68 |
#end
|
|
|
69 |
#else
|
|
|
70 |
<option value = "0" >Select...</option>
|
|
|
71 |
#foreach($warehouse in $action.getAllowedDestinationWarehousesForTransfer($action.getWarehouseId()))
|
|
|
72 |
<option value = "$warehouse.getId()">$warehouse.getDisplayName()</option>
|
|
|
73 |
#end
|
|
|
74 |
#end
|
|
|
75 |
</select>
|
|
|
76 |
<br>
|
|
|
77 |
<span> Select File : </span>
|
|
|
78 |
<input type="file" id="scanDataFile" name="scanDataFile"/>
|
|
|
79 |
<br>
|
|
|
80 |
#if($action.getTransferLotId())
|
|
|
81 |
<input type="hidden" name="transferLotId" value="$action.getTransferLotId()"/>
|
|
|
82 |
#end
|
|
|
83 |
<input type="hidden" name="warehouseId" value="$action.getWarehouseId()" />
|
|
|
84 |
<input type="hidden" name="poId" value="$action.getPoId()"/>
|
|
|
85 |
<input type="hidden" name="invoiceNumber" value="$action.getInvoiceNumber()"/>
|
|
|
86 |
<input type="hidden" name="freightCharges" value="$action.getFreightCharges()"/>
|
|
|
87 |
<input type="hidden" id="fileNameVal" name="fileNameVal" value=""/>
|
|
|
88 |
<input type="hidden" name="_method" value="put"/>
|
|
|
89 |
<input type = "submit" value = "Submit" id = "bulkScanUploadSubmit"/>
|
|
|
90 |
<!-- <input id='cancelBulkScanUploadSubmit' type='button' value='Cancel'> -->
|
|
|
91 |
</form>
|
|
|
92 |
<br>
|
|
|
93 |
<span style="color:blue">Please go through the Instructions First.</span>
|
|
|
94 |
<br>
|
|
|
95 |
<span id = "instructionsLink" class = "link"> Instructions</span> <br>
|
|
|
96 |
<div id = "instrctionsDiv" class = "hidden">
|
|
|
97 |
<p style="color:blue"> Only Text File is acceptable (.txt format)
|
|
|
98 |
<br> First Use an excel sheet to create Data.
|
|
|
99 |
<br> There should be exact three columns in the excel sheet (Item Number, Serial Number, Quantity).
|
|
|
100 |
<br> Now insert data as per Column Headings, leave column blank in case of no data
|
|
|
101 |
<br> Now copy all data to a text file and save it as Text File(.txt).
|
|
|
102 |
<br> Now upload the txt file to scan in the item units.
|
|
|
103 |
<br> One file is required as per one SKU.
|
|
|
104 |
<br> Item is disabled in the Item List if unfulfilled quantity is zero.
|
|
|
105 |
<br> If file format is other than txt then it will throw exception.
|
|
|
106 |
<br> Please follow this procedure every time.
|
|
|
107 |
</p>
|
|
|
108 |
</div><br>
|
|
|
109 |
<a href="/inventory/purchase/!create?poId=$action.getPoId()&warehouseId=$action.getWarehouseId()&invoiceNo=$action.getInvoiceNumber()&freightCharges=$action.getFreightCharges()">Back to Purchase</a>
|
|
|
110 |
|
|
|
111 |
</body>
|
|
|
112 |
</html>
|