by William Tom | Oct 30, 2019 | NetSuite
Netsuite error: Cannot fetch a row from OLE DB provider “MSDASQL” for linked server. Say you have sql job calling a stored procedure on a local SQL server that is pulling data from NS scheduled at 8pm daily. It’s been running fine for a while. Then you move the time...
by William Tom | Jul 5, 2019 | How To
Say you need a date range on gathering data for a report starting from Friday to Thursday based on the current date. Example dates July 5 to 11, July 12 to 18, July 19 to 25 and July 26 to Aug 1. So for July 5 to 11, you want the report to run this range of dates if...
by William Tom | Mar 27, 2019 | How To, NetSuite
Say you want to look at an item’s memo field but you can’t login to NetSuite as all the users license are taken. The next best thing to do is do a query in MSSQL with a linked server connection NetSuite. In the query window, you type the following. select item_id,...
by William Tom | Feb 1, 2019 | How To
Reading a narrow pivot table to create a new wide dynamic pivot table using the values from a field of narrow table in sql server. (SQL Server skill level: Advanced/Expert) Example: Narrow table. Docnum description amt 100 ...
by William Tom | Jan 30, 2018 | Technology
Here’s a good trick to create a line sequence number for each invoice # that I found on the internet which help me on one of my projects. First create a table. The seq column is used as the seed in building the sequence number for each invoice # line sequence number...