Is it possible to create a sales order in Exact Online using REST API of Invantive Control - exact-online

I want to create a Sales Order in Exact Online in the table SalesOrders.
This works using the REST API controlled by Invantive Control.
However, Exact Online reports that the sales order lines are missing.
How can I create the salesorder, since in Exact Online a salesorder as well as salesorderlines have to be created.
Or is this best done by XML API?

For high volume loads across multiple divisions: use scenario described on stackoverflow

Related

I want to create a service that allows my company's products to move pages only for the products that customers have

This article was written using a translator.
There are many products in my company.
Like Atlasian, I want to create a service that allows my company's products to move pages only for the products that customers have.
In order to do so, you need to know the products of each customer, and I need to make sure that only those products can be clicked, but can you not use the database?
Using the database makes it so complicated that I want to implement it as simple as possible.
You need to know a programming language/ framework that allows you to create a service/api.
There are various ones available.
Search on the internet.
The architecture of a service is slightly different from directly having a data entry form that stores into a database.
Most apis'/ service entails you creating classes to do CRUD operations(i.e create,read,update and delete operations) by coding classes and then consuming the API into the application.
So yes you can have within the API classes that can be called and then used to store information that the customer has installed into a database, and also retrieve product values specific to a specific customer.
See API as mid layer between front end,and database

How do I pull all the data found in a multi-page website table into Power BI?

Using Power BI, I am attempting to extract all the data in a table found on NBA Player Stats. I'm able to extract the data just fine, but the table only lists the 50 rows that are found on the first page of the table out of what should be a grand total 484 rows. In my very limited html knowledge, I have tried changing the page number to "All" and then seeing if that changes the URL, but the URL does not change. To summarize, I would like to extract all 484 rows of data rather than just the default 50 that appear when using the URL in Power BI.
Thanks in advance!
This doesn't answer the question in the title but for that particular site you can use the raw JSON data that feeds the table on the site:
https://stats.nba.com/stats/leaguedashplayerstats?College=&Conference=&Country=&DateFrom=&DateTo=&Division=&DraftPick=&DraftYear=&GameScope=&GameSegment=&Height=&LastNGames=0&LeagueID=00&Location=&MeasureType=Base&Month=0&OpponentTeamID=0&Outcome=&PORound=0&PaceAdjust=N&PerMode=PerGame&Period=0&PlayerExperience=&PlayerPosition=&PlusMinus=N&Rank=N&Season=2019-20&SeasonSegment=&SeasonType=Regular+Season&ShotClockRange=&StarterBench=&TeamID=0&TwoWay=0&VsConference=&VsDivision=&Weight=
In Power BI use Get Data -> Other -> Web and then you'll need to transform the JSON from a series of Lists to a table.
Unfortunately there is no straight forward way to do this. From the looks of it, the webpage is using java scripting to get the information. This is a problem you would have run into irrespective of what platform you use. I am not sure if this can be done in Power BI, but I would suggest you use tools like RStudio to manipulate the data before ingesting it into Power BI. The following link is a similar discussion where the user is trying to extract information using r:
Using R to scrape tables when URL does not change
This should give you some further clarity. Hope this helps.
Note: If its a one time thing, copying and pasting the information into an excel file would work as well

Updating a table in Google Cloud SQL using a third party API

This feels like a noobish question to which I should be able to find the answer on the web, but after hours of searching, I still came up empty handed. The problem probably lays in the fact that I don't know exactly what I'm looking for.
What I'm trying to achieve seems simple enough: update a specific table in database that I successfully migrated to a 2nd Gen CloudSQL Instance using a suppliers API.
This table contains product information from products from this particular supplier. Constructing the correct URL (with username, password and language) returns me the data in XML format (in my browser)
So, basically my question is which path I should follow to get this data in the Google hosted database ?
Do I have to programmatically parse the XML file (i.e. using python) in the Cloud Console, updating the database table this way ?
I've also been looking in google-cloud-firestore direction...
I assume there is a more direct way doing this ?
I suppose all I need is a useful link that will get me on my way.
Thanks !
GCP console doesn't have a way to manage your data inside of your database instance.
But, you can do that using any database tools like DBVisualizer + Cloud SQL Proxy.

Export my analytics data and put them in a database

I am looking to export the analytics data towards a database sql. Do you know one tools who could help me?
Do you know how I can see on Google analytics the traffic resulting from a particular URL??
Thank you all!
You have several options:
UI export: in the top/right corner of your reports you should have an option to download data in various formats (XLS, CSV...)
API: you can use the reporting API to get it out in a programmatic/automated way
One thing you won't be able to do with the free version no matter what you try:
Reconstruct the entire analytics data: whether with the UI or API, you're limited to querying only 7 dimensions maximum at a time (eg ga:country, ga:deviceCategory etc...), and cannot combine certain dimensions together (no official list available, it's trial and error to find out), whereas there are dozens of dimensions available.
So the question for you becomes:
How much resources do I want to invest into partially reverse-engineering Google Analytics vs. the value it brings me vs. what it would cost to get alternative analytics solutions?
I found a cloud based solution which exports raw google analytics data to MySQL database. Setup is simple, all you need to do is add your Google Analytics connection and a database to which the data needs to be exported.
MySQL, PostgreSQL, SQL Server and BigQuery are the supported destinations. It creates a few custom dimensions in your Google Analytics account and Tag in Google Tag Manager to send hits to Google Analytics. Data is exported from Google Analytics to the selected destination every day.
I have been using it for last three months now. Hope this helps.
Exporting the analytics data is a thorny one.
My understanding is that paid GA usage allows the export of all collected GA data.
But free usage does not.
For free usage, all you are going to be able to do, realistically, is to create a report over your GA data (in Data Studio or Google Sheets) that contains the rows and columns you want, and then collect this information and squirt it into a SQL table. You are also liable to come up against sampling.
Re traffic from particular URL, the news is better: just filter on Hostname and Page.

Manually input orders in woocommerce databases?

I have a question about manually inputting information in a MySQL databases (specifically in meaning Woocommerce order databases). I have some orders, that I get from another database and have to input them in in a Woocommerce database, which by now I found out that it consists out of several different ones, and not from just one. The Woocommerce is a plugin in Wordpress. Does anybody have any idea on how that could be done?
Some additional information: I am working with Wordpress 4.4.2 and Woocommerce 2.5.5.
I would not try to directly insert data into woocommerce's database because this method is not really documented and would require intricate knowledge of woocommerce's database.
I would rather use woocommerce's rest api to create the orders. The documentation has examples for various programming languages. There is another bulk creation api as well, but found no examples on how exactly to use that one, since the example in the documentation is on bulk updates only.