Filtering Integer from .xls File
Hallo all,
I have an excel data. It contain Integer , String , and Picture (I attached a snapshot of it).
How can I take / filter just the Integer (In Snapshot , it is indicated
with red font), and put it into an array, so i can process it.
Labview just provides functions to read String or Integer from a file.
Any Suggestion would be helpful.
Thanks in advance
Jason
Attachments:
Excel_data.jpg 232 KB
Hi Jason,
please have a look at the following example:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=F2A5979F588B6643E0340003BA230ECF&p_...
regards
timo
Similar Messages
-
BAPI - DATA TRANSFER FROM .XLS FILE TO DB TABLE
I am upload data from xls file to database table.
first i have load xls file data to internal table (it_data) that is working.
then from internal table to database table (zskv_rate) by function module (ZBAPI_RATE_SAVEDATA) which is not working.
ex.
LOOP AT IT_DATA.
Header
ZSKV_RATE-DIVN = IT_DATA-DIVN.
ZSKV_RATE-REGN = IT_DATA-REGN.
ZSKV_RATE-PLANT = IT_DATA-PLANT.
ZSKV_RATE-RATE = IT_DATA-RATE.
APPEND IT_DATA.
CALL FUNCTION 'ZBAPI_RATE_SAVEDATA'
EXPORTING
HEADDATA = ZSKV_RATE
IMPORTING
RETURN = BAPI_RETURN
TABLES
DATA = IT_DATA
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-DIVN.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,IT_DATA-DIVN.
ELSE.
WRITE:/ 'NONE' ,IT_DATA-DIVN.
ENDIF.
ENDLOOP.
how to transfer data from internal table to database table.Hi Sanjeev,
as u hv uploaded the excel file into the internal table,
u can update the ztable from internal table..
modify <dbtab>from itab.
regards.
Mdi.Deeba -
Time from .xls file is divided
Hello I,m new with LabVIEW 10 and i have a problem with reading time from .xls file with the read excel values.vi.
In excel the time format is 00:00:20 but in LabVIEW (with Strings) i get (i think) a divided result 0,000231481481481481 for 00:00:20 and so on.
00:00:15
00:00:20
00:00:17
00:00:20
00:00:08
00:00:20
00:00:09
I would like to get the same format in the .vi as it is in .xls file.
Picture added.
Could you please helpe me with this...
Attachments:
String problem.JPG 36 KBThat VI returns the value of the cell, not the formatted string. The issue with time values between Excel and LabVIEW has been brought up numerous times before. Excel does not use the same datetime starting point as LabVIEW. See, for example, this discussion: http://forums.ni.com/t5/LabVIEW/Read-custom-excel-time-data-in-LabView/m-p/775359
-
Does anyone know a way to extract data from an xls file to load into the database WITHOUT someone having to open it in excel and convert to a csv ?
Here's something that was posted on a previous thread that allows you to set up the excel workbook as an external datasource....
1- Go to Control Panel>Administrative Tools>Data Sources (ODBC)>System DSN and create a data source with appropriate driver. Name it EXCL.
2- In %ORACLE_HOME%\Network\Admin\Tnsnames.ora fie add entry:
MSACC =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.0.24)(PORT = 1521))
(CONNECT_DATA =
(SID = EXCL)
(HS = OK)
Here SID is the name of data source that you have just created.
3- In %ORACLE_HOME%\Network\Admin\Listener.ora file add:
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = <hs_sid>)
(ORACLE_HOME = <oracle home>)
under SID_LIST_LISTENER like:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = d:\ORA9DB)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORA9DB)
(ORACLE_HOME = d:\ORA9DB)
(SID_NAME = ORA9DB)
(SID_DESC =
(PROGRAM = hsodbc)
(SID_NAME = EXCL)
(ORACLE_HOME = D:\ora9db)
4- In %ORACLE_HOME%\hs\admin create init<HS_SID>.ora. For our sid EXCL we create file initexcl.ora.
In this file set following two parameters:
HS_FDS_CONNECT_INFO = excl
HS_FDS_TRACE_LEVEL = 0
5- Now connect to Oracle database and create database link with following command:
SQL> CREATE DATABASE LINK excl
2 USING 'excl'
3 /
Database link created.
Now you can perform query against this database like you would for any remote database.
SQL> SELECT table_name FROM all_tables@excl;
TABLE_NAME
DEPT
EMPI've tried it and it works, although your data has to be in a flat(ish) format with the first row on each sheet being the column headings.
;) -
Importing Data From XLS File to SQL Server
Dear All,
I want to import the data from Excel(.xls) file to SQL Server (2008 R2). But due to some problem (may be data), an error is occurring when I am going to import using Import Data Wizard. I want the rows to ignore those are creating issues and to keep track
of those records. That's why I need to process rows one by one. How can I do it? Any idea?
Thanks & Regards,
Anujit Karmakar
Anujit Karmakar Sr. Software EngineerWhats the error? Have you mapped the source-destination data types in column mappings?
Below is a link to video to guide you through the Steps of Import/Export Wizard
SSIS Wizard Video: http://www.youtube.com/watch?v=9Wmdhnx1niU
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other
forum members can benefit from it -
Read from xls file and put it in a table
Hi,
I've an xls file while is having 8 cells with some thousands of rows. i've to write a procedure to read that file and put it in a table(each cell as each column). pls help me how to proceed. i'm using oracle 9i
Regards
Abdul Muthalefas Gasparotto said, copy the csv file to the database server.
create a directory object on the database.
create directory dir_temp as 'e:\mydir'
grant read, write on directory dir_Temp to <user>
and then map this csv file to the external table using the below syntax.
CREATE TABLE tab_hierarchy
node_id NUMBER,
parent_id NUMBER,
description VARCHAR2(255)
ORGANIZATIOn EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dir_temp
ACCESS PARAMETERS
records delimited by newline
fields terminated by ','
(node_id,parent_id,description)
LOCATION ('tree.csv')
PARALLEL
REJECT LIMIT UNLIMITED;in the above code, replace the filename under the LOCATION with your csv file name.
now you should be just able to do select on this table and insert to the other main tbale. -
Uploading data from xls file to internal table
Hello,
I have an excel file with just one column that has phone numbers. I want to upload these phone numbers into an internal table.
Now my question is: What is the method/function to do this? I tried GUI_UPLOAD but after upload the values in the internal table shows lots of # signs instead of the expected phone numbers.
Regards,
Prafful.Hello Prafful,
If you successed to upload XLS into Internal Table and the only problem you have is a # signs try to the following:
1) instead of the XLS file try to use CSV file (it's a TEXT file - C omma S eperated V alues).
2) Check your Encoding (your FILE Encoding should be a same as GUI_UPLOAD encoding)
Good Luck
Eli Steklov -
Exporting specific columns from XLS file to a new XLS or XLSX file using powershell
The scenario is that i have a file that our server is constantly dumping data to on a daily basis and out of all the data i only need 2 columns. I need to be a able to automate this because i need to generate a monthly report based on those two columns.
That being said, i need to be able to extract two full columns from datafile1.xls to newdatafile.xlsx. If it would be easier if the original file is CSV i can easily save the data in CSV format instead of XLS.
Thanks in advance.I see, im having a hard time executing the script, i keep getting the following error:
'""Microsoft.Jet.OLEDB.4.0"
has not been registered.";'
and
when i try to run it like this i dont get any errors BUT nothing happens:
C:\Windows\syswow64\rundll32.exe "C:\Program Files\Common Files\System\Ole DB\oledb32.dll",c:\temp\t.ps1
This is the code, which to tell you the truth im not really that familiar with :\
$strFileName = "C:\temp\original\styles.xls"
$strSheetName = 'STYLES$'
$strProvider = "Provider=Microsoft.Jet.OLEDB.4.0"
$strDataSource = "Data Source = $strFileName"
$strExtend = "Extended Properties=Excel 8.0"
$strQuery = "Select STYLE CODE , LAST UPDATE from [$strSheetName]"
$objConn = New-Object System.Data.OleDb.OleDbConnection("$strProvider;$strDataSource;$strExtend")
$sqlCommand = New-Object System.Data.OleDb.OleDbCommand($strQuery)
$sqlCommand.Connection = $objConn
$objConn.open()
$DataReader = $sqlCommand.ExecuteReader()
While($DataReader.read())
$ComputerName = $DataReader[0].Tostring()
"Querying $computerName ..."
Get-WmiObject -Class Win32_Bios -computername $ComputerName
$dataReader.close()
$objConn.close()
For both PowerShell or VBScript you are missing the libraries. You need to download and install the ACE drivers.
Search for ACE drivers.
¯\_(ツ)_/¯ -
SEEKING: Simple searchable content or database from XLS file
I have a client I am creating a site for on BC (eMarketing Plan) who has a simple xls/asp driven database. They do not wish to upgrade to eCommerce - too much of a price jump for the WebApp feature.
Basically, it would be a searchable list with roughly three categories. I thought of a custom search, but it would be a bugger to create a page for each entry.
Is there a simple solution that could be used within the eMarketing plan to do what I am in need of? Something that might bring in the xls information and have it be searchable with a result?First thing to remember is that if you host the CSV file anyone could potentially download the entire thing so you'll have to make sure there are no privacy issues with that.
You'll need something like this Papa Parse - Powerful CSV Parser for JavaScript it will load the CSV into something that is *more easily* searchable with JavaScript. Keeping costs down I would assume your search would be a "from start to finish" type as you could have mulitple records, and sorting will start to get expensive so you might want to order the CSV initally by date or name or something like that.
There are with liquid other ways to do this with BC and JSON but I think the above solution might be easier to implement if you just want an export -> upload type of system.
Info on sorting: Sorting algorithm - Wikipedia, the free encyclopedia -
How to print a particular cell data from .xls file
InputStream inputStream =new FileInputStream("D:\\test.xls");
POIFSFileSystem fileSystem=new POIFSFileSystem (inputStream);
HSSFWorkbook workBook = new HSSFWorkbook (fileSystem);
HSSFSheet sheet = workBook.getSheetAt (0);
Iterator<HSSFRow> rows = sheet.rowIterator ();
HSSFRow row = rows.next ();
Iterator<HSSFCell> cells = row.cellIterator ();
HSSFCell cell = cells.next ();
can any get me answer to print the particular cell from the excel sheet.
Regards
PraveenThank you for your response
when i written the in following way
HSSFWorkbook workbook = new HSSFWorkbook(new
FileInputStream("D:\\sam.xls"));
HSSFSheet sheet = workbook.getSheetAt(1);
HSSFRow row = sheet.getRow(0);
HSSFCell cell = row.getCell((short)3);
int as= sheet.getFirstRowNum();
int bs=sheet.getLastRowNum();
System.out.println("Begin of row"+as);
System.out.println("End of row"+bs);
Is Displayed as
Begin of row 0
End of row 0
can any one plz let me know the procedures to print first and last row number of a .xls sheet
ans also the column number please. -
Convert an excel (*.xls) file to a xml file with Java Beans
Hi to all............
I am new to this ,
I have a requirement that
i want to read excel (*.xls ) file which is having some data going to be persist in database. Before going to persist process i want to read that data from xls file and convert those data into xml file.
Can any one help me how can i do this using java classes?
Please guide me what are the necessary libraries and requirements to do this?
If any one have an idea then help me with some example code
Thanks in advance for your great replay
Sathish Athis is the full stack trace i am getting jboss server console
09:57:17,922 ERROR [application] org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
javax.faces.el.EvaluationException: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source)
at org.domain.DigesterDemo.session.ViewList.generateXML(ViewList.java:275)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
at org.domain.DigesterDemo.session.ViewList_$$_javassist_2.generateXML(ViewList_$$_javassist_2.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 51 more
Thanks for your replay -
Acrobat 11 doesn't create pdf. files from doc. files
I tried to create a pdf. file from a doc. file (Office 2003). Acrobat 11 instead opens a warning message with the following contents (translated from German):
A high security level has been chosen. Start the application that created the document, activate the dialogue "safety warning", choose "always trust macros from this resource, activate ... from Adobe Systems Inc. (the message aborts there).
I selected "Extras/Macro/Safety/Safety level" , there I selected "low". The above mentioned message still comes up.
What do you suggest to do in order to finally create pdf. files from doc. files?
Additional information: Creating pdf. files from xls. files (Excel), txt. files (Editor) and saving a webpage as a pdf. file all work fine.
Thanks for your input!Although Office 2003 is old compared to Acrobat XI, according to Compatible web browsers and PDFMaker applications it should work, though support has passed end of life.
So my first test (if it were me) would be to see if PDFMaker works if run in the simplest way (the only way I ever use it, this right click conversion stuff isn't in my worldview). That is, does the Acrobat menu appear in Word and does it work? If it does not work, no other method based on it can work. -
How to Read data From Excel File in Labview 8.5?
We can read it from xls file, but it is encrypted..... we need exact data...
i have attached that excel file...i want to extract the full data from that file..how i can read it...when i read by using "Read from spreadsheet file" function, data was in encrypted form....so please send me the correct way...
Attachments:
stn_auto.xls 40 KB -
Query regarding data loading from xls
Hi
I want to read data ( integers , only one column) from xls file. I donot want to load it in a table otherwise I could have tried using loader. But what I need to do is I have lakhs of rows in excel sheet and I need to pick them up in a query . I cannot create a table also as working on production . I s there any way I can pick it directly from the excel sheet as I it large volume and I cannot keep them in ( in.. clause) also .I want to read data ( integers , only one column)
from xls file. I donot want to load it in a table
otherwise I could have tried using loader. But what
I need to do is I have lakhs of rows in excel sheet
and I need to pick them up in a query . I cannot
create a table also as working on production . I s
there any way I can pick it directly from the excel
sheet as I it large volume and I cannot keep them
in ( in.. clause) also .Lakhs of rows!!!! You do realise that an excel spreadsheet is limited to 65536 rows? I'm right in thinking 1lakh = 100000 aren't I? -
Help! Read raw Image data from a file and display on the JPanel or JFrame.
PLEASE HELP, I want to Read Binary(Raw Image)data (16 bit integer) from a file and display on the JPanel or JFrame.
Hey,
I need to do the same thing. Did you find a way to do that?
Could you sent me the code?
It's urgent, please.
My e-mail is [email protected]
Maybe you are looking for
-
Classic enviornment not starting
When I try to start classic I get a message that I haven't come across in the troubleshooting section. It says "Cassic was unable to update it's files in "System Folder" This problem is very recent, and classic has worked perfectly up till now. Any i
-
NW 7.3 Installation - Oracle Database connection issue.
Dear SDN, I am trying to install the SAP NW 7.3 but fail due the connection to oracle database. (My System details : Windows 7, 64 bit, 4gb ram - copyied NW7.3 server for 64 bit) I hvae installed the Oracle database and client. I have checked and sta
-
Reg: Calling Function Module
Hi to all, I have created a Function module, Which working fine and giving results which i expected and also i called that function module in programme in SE38, and giving correct results. BUT when i used in Transformation it giving ERROR. Routine no
-
If I enter 3 letters or more in the Find funtion in my TX, it immediately does a soft reset. If I enter 2 letters, for example "Jo" for "Joe", it will show entries for "Jo". When I tap on Find More, I continue to get results until after a few more ta
-
Insp lot required while transfering qty from blocked stock to unrestricted
Hi, say when we recieve 10 qty of goods from vendor, 5 are ok and remaining are not ok, so inspection done and 5 qty putit in blocked stock. now with some minor rework by the vendor (vendor came to our premises and reworked) made it ok, accordingly