Connect Biometric Device output to Open ERP 6.1 - odoo

Is it possible to Connect Biometric Device output directly to openERP?
Our company has a Biometric FingerPrint Machine and at the end of day, we have an excel sheet which contains all the attendance records of the Employees. We import this excel sheet into openERP.
But is there anyway that whenever a Employee uses their fingerprint-reader, then the record is added in openERP or database. Then we will not have to import excel sheets one by one daily.
Thank you for your time

That needs a development on the time & attendance side, so it depends a lot on what it's software allows you to do. Usually, entry level solutions don't allow you to do a lot.
To write to OpenERP you can use a XML-RPC call, or write directly to a table in OpenERPs database.
The import_sqlpush module could also be an option. I use it with Pentaho PDI (aka Kettle) to schedule frequent data exchanges between OpenERP and other databases. It can even regularly check for excel files in a folder and import them if found.

The same question has been posted at https://www.odoo.com/forum/help-1/question/is-it-possible-to-connect-biometric-device-output-directly-to-openerp-75132
As per the latest update in that post, for connecting the biometric machine with openERP directly is possible, if the device supports the WebAPI. Otherwise, you will have to develop the middleware which will read the attendance records from machine and update with openERP.

Related

How can I extract bank data and import it into Excel in OneDrive?

I'm currently manually entering data from my bank accounts into a spreadsheet in OneDrive.
I would like to be able to automate this process in some way.
The two issues I am facing in automating this are:
How do I extract transactions from my bank account?
How do I enter data into a spreadsheet in OneDrive?
If I had Excel installed I could probably enter the data using VBScript or VBA, but I only have the web version of Excel that comes with OneDrive.
I want to extract the transaction data direct from the bank account and not do screen scraping or manually download statements and parse these.
NB: If a makes a difference, the bank account is in https://www.bmo.com and one of the online accounting applications I tried seemed to be connecting with plaid.
I don't know a whole lot about the OneDrive piece, but Plaid should work for pulling transactions. For inspiration, this script (https://github.com/hirefrank/plaid-txns-google-sheets) is an example of a similar app but using Google Sheets instead of OneDrive.
You could use a finance data import tool like Fintable. It automatically syncs transactions to Airtable, and from there you could export to Excel. BMO is supported, and the monthly plan is $12.

Uipath automation

I want to take the report of last one download details from the mysql database and sent to my project manager on every monday through the email so the process remains same only date would be change dynamically so, I would like to automate this process using RPA UIpath.
Anyone could you help me to achieve this process.
Thanks
Use 'Database' package to connect to sql db and and run the query.
Schedule the program to run every Monday using Orchestrator.
Create the report with current date using DateTime function
There will be some extra steps like transforming data as necessary etc, but the basic outline of this process is as follows
Download MySQL ODBC Drivers MySQL site
Control Panel -> Setup ODBC Data Sources (32-bit) setup User or System DSN, make sure to test your connection to see if it works OK (it's similar to how you set it up in MySQL Workbench or read about it here)
In your UiPath Studio Package Manager, add Database Activities Pack.
Get your data using UiPath.Database.Activities.ExecuteQuery activity to a DataTable
Write your data to an Excel file using Write Range activity
Send your mail through SMTP using UiPath.Mail.SMTP.Activities.SendMail including freshly created Excel file as attachment
First step Take the data using database activity
Create an automation in UiPath to attach and send to your respective email
Schedule it own orchestrator.
Though not exactly but atleast sending a mail by taking credential from Orchestrator is shown in this article
https://www.c-sharpcorner.com/article/create-a-sequence-project-for-sending-a-mail-using-smtp-activity-by-taking-crede/

Odoo v10 HR payroll community version

Hello guys i am working on odooV10 community version. I have installed my own module for HR payroll and leave management with a DB consisting of records. My question is MY created module wants to install on another machine. How can i achieve that.??? is that database entries stored in the same module folder???
I hope someone can clear my doubt..
for more clarity:
I will install payroll in my system
edit all entries as i want
copying this payroll module in another machine
These are the steps that i planning to do.
Are you wanting to have a set of default records that always install with your module?
If so, you want to load these into a data file that will make these a permanent part of your module.
You can read about data files in the documentation and/or review how Odoo does this in the core code.
If you're only needing to get the records into another database, you can Export from the first database and Import into the next.
You have several options, you must choose the one that best fits your situation:
If you want to pass information from one database to another you can use the export option of odoo:
1) Go to the tree view of the model you want to export and select the record (s).
2) Expand the More option and click on Export.
3) Select the fields you want to export and save the csv file that will be used to import.
To import: you must go to the tree view and select the Import button that should appear next to the Create option and follow the steps indicated.
If you want to keep the data in your modules to be created every time you install you must create data.xml files
You can export the database directly. You can visit this page to know the steps to do it from odoo
Create-backup
I hope I've helped

How do I access netsuite data using SQL language

A company uses netsuites to make purchase orders and store sales information. The only way this company is able to access this information at the moment is through building netsuites reports
Is there a way SQL language could be written to access the netsuites data as some of the questions asked by the business need something a bit more complex than what netsuites reporting provides - and sound very easy using SQL language
I have experience in Oracle, mysql, and many other SQL languages so I would like to know how to set up a connection to the companies netsuites data so I can help write custom queries
Netsuite has SuiteAnalytics Connect, which is ODBC. It can be downloaded from a link at the very bottom the home screen of your Netsuite account.
After installation of the application bundle and connecting it to your Netsuite, you can write ORACLE SQL queries via Excel, Access, etc. My experience is that Netsuite uses Oracle SQL in ODBC queries and in Saved Search custom queries.
The way I understand it, the ODBC driver is a separately priced item from NetSuite. Once you have that, you could use Excel, Access, Crystal Reports or anything else that can use the ODBC driver to read the data and write queries against it.
The normal way to access NetSuite data is with SuiteScript -- javascript code that uses the nlapi* calls to get to the data.
You can access Netsuite backend using a number of different tools and it allows running Oracle SQL directly.
Netsuite provides JDBC, ADO.NET and ODBC if it was included in your licensing purchase. You can find the downloads from the main menu - lower left hand of the screen in Settings - Set Up SuiteAnalytics Connect.
ADO.net however is pretty worthless in SSIS as it doesn't allow parameter mapping or SQL from a variable value. I have yet to get the ODBC driver to work correctly - it can connect and show columns of a table but it won't validate saying "The ODBC Source.Outputs[ODBC Source Error Output].Columns[...] on the error output has properties that do not match the properties of its corresponding data source column."
The other options I'm looking into are Cozyroc and Kinsgwaysoft adapters for Netsuite. You could also do SOAP or REST connections if desired.
I've not used this, but there should as of 2014.2 there is an ODBC driver available for read access.
http://www.netsuite.com/portal/landing/2014-2/suiteanalytics.shtml
As previously mentioned, if you have it licensed you can download the ODBC driver from the Netsuite application. I tested some other adapters but found Netsuite's at least as good as the competitors and they provide timely security updates to the drivers as well as both 64 and 32 bit versions.
There are also metadata browsers that are on the net (example is URL below), the type of browser being based on which kind of access you are looking at (web services, verses ODBC, etc).
https://system.sandbox.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2017_2/odbc/record/account.html
Within the application GUI there is information you need to connect using their ODBC connection (you need the account id and the role id). The URL is just odbcserver.xxxx.netsuite.com where xxx is specific to your environment you are accessing. Note that other adapters such as Cozyroc, etc. require the admin to setup connections in Netsuite for those.
Here is a list of the main metadata tables:
OA_FKEYS
OA_TABLES
OA_COLUMNS
In addition, note that the URL above does NOT include customization. Plus its not easily consumed by automation tools. But Netsuite provides a set of metadata views within the repository which you can use ODBC to pull from which includes all keys - foreign and primary. AND it does include customizations! I built simple set of ETL jobs that use standard ADO.NET driver within SSIS and the ODBC DSN to pull all the metadata and then use BIML to automatically generate all the extract ETL and related staging tables. You can also easily then use the metadata to detect changes in the underlying database.
Let me know if I can be any help with doing any of this.
There are 3rd party tools, like CData ODBC Adapter for NetSuite: http://www.cdata.com/drivers/netsuite/odbc/ . This tool allows you to run standard SQL against the NetSuite API. Note that the NetSuite API presents a very different data model from that of the native NetSuite ODBC.
With this tool, you install in onto your machine (Win in my case) and then after you configure the driver, you can run SQL against it (the driver config is where you specify your NS credentials, etc.).
It revolutionizes access to NetSuite data IMHO.
Download the Netsuite ODBC drivers, set up your DSN locally with server/credentials, Use SSIS pkgs to automate data extract and load onto you local DB. Use ADO.NET drivers if preferred. Then utilize those tables to create/deliver your complex reports using SQL (stored procedures) and Reporting Services. This will require SQL Standard license at minimum though.
Only API call can access the NetSuite data
You can't access to Netsuite data using sql language.
The only way to gain access to Netsuite from third party systems is to use SOAP request or PHP toolkit.

Unable to record Excel sheet in Loadrunner

I am trying to do a Performance test with Loadrunner on Excel based application which is redirect from SAP GUI.
Loadrunner able to record all the activity perform in SAP application but it's not recording anything for EXCEL.
My main target is to record the excel , For testing the performance of the application.
I also try with QTP and succeed but as I want to conduct performance test, so the script is no use for me.
Any suggestions what protocol to use Or any other scripting language for performance test on excel based application with SAP GUI.
And just what protocol is the excel spreadsheet using to communicate to what type of server? Only when you answer that can you then answer how to reproduce the server communication behavior of your excel application.
On the other hand, if you are simply downloading a spreadsheet, modifying it locally and then uploading the changes without any server communication then you had better dust off your programming skills, download the current excel file format and prepare to make the modifications to the file in code (or have another static one to upload)