Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gmihaylov/netsuite-saved-search-export-excel-xlsx
Proof of concept Suitelet that exports Saved Search rows to Excel (XLSX file format) using xlsx.js library
https://github.com/gmihaylov/netsuite-saved-search-export-excel-xlsx
netsuite suitelet suitescript2 xlsxwriter
Last synced: about 2 months ago
JSON representation
Proof of concept Suitelet that exports Saved Search rows to Excel (XLSX file format) using xlsx.js library
- Host: GitHub
- URL: https://github.com/gmihaylov/netsuite-saved-search-export-excel-xlsx
- Owner: gmihaylov
- License: mit
- Created: 2023-12-22T23:39:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-29T02:17:16.000Z (about 1 year ago)
- Last Synced: 2023-12-29T03:48:17.310Z (about 1 year ago)
- Topics: netsuite, suitelet, suitescript2, xlsxwriter
- Language: JavaScript
- Homepage:
- Size: 664 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# NetSuite Saved Search Export in Excel (XLSX)
Proof of concept Suitelet that exports Saved Search rows to Excel (XLSX file format) using xlsx.js library## Script flow
- Rows & Column data is taken from saved search
- Array of sheets is created, each sheet has feed array (see Example feed array)## Options / Features
- Saved search column labels are used for sheet headers
- xlsx.js & jszip libraries are used for excel file generation (both located in sheetjs folder)
- Concept can be used in Scheduled / MAP Reduce Scripts## Performance
- Tested up to ~50k rows (5 columns)## More info
Check SheetJS https://docs.sheetjs.com/docs/demos/cloud/netsuite/## Example feed array (array of arrays):
```javascript
[["Name","Document Number"],["1221","1"],["267","1"],["998","1"],["1249","1"],["83","1"],["472","1"],["842","1"],["1149","1"],["824","1"],["748","1"],["907","1"],["631","1"],["92","1"],["1044","1"],["823","1"],["630","1"],["1508","1"],["1049","1"],["1036","1"],["562","1"],["512","1"],["1670","2"],["1668","2"],["-5","2"]]
```## Screenshots
![App Screenshot](src/FileCabinet/SuiteScripts/NetSuite%20Saved%20Search%20Export%20Excel%20XLSX/screenshots/screenshot3.png)
![App Screenshot](src/FileCabinet/SuiteScripts/NetSuite%20Saved%20Search%20Export%20Excel%20XLSX/screenshots/screenshot2.png)
![App Screenshot](src/FileCabinet/SuiteScripts/NetSuite%20Saved%20Search%20Export%20Excel%20XLSX/screenshots/screenshot1.png)