About Kinetic ERP in the cloud.
I need your help to make a script that takes the grid from a dashboard and transfers to a CSV file.
I have seen few examples, I am stopped because those examples mention an “oTrans” reference but when compiling the script it says that this reference does not exist.
Hi Aaron, in that example you mentioned, the problem I have is that the “oTrans” object tells me that it does not exist in the layer, do you know which one to invoke?
Hi Clint, I need to create a CSV file with a specific header, will it be possible to access the dashboard grid to write each line to the file? Regards.
Normally, a simple right click to invoke the Epicor context menu in a DataGrid will provide you with a Copy To Excel option which will create an Excel file using the data in the grid that you can then save to a different format (CSV).
Based on that, my understanding is that you wish to automate the process of copying the DawaView to Excel with additional headings prepended to the DataView.
Simple break down you will need a modified version of that chunk of code in thread @aarong posted and to prepend the data to write with your customized header data. Something like (based on post above) this: