Skip to content

stephenmcgurrin/Saved-Search-Deployment-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

NetSuite Script Formatter 🧾

A simple Python GUI application that helps format NetSuite Saved Search scripts. Designed for consultants, developers, and NetSuite admins, this tool makes it easy to generate a properly structured search.create. It is based on the wonderful work by Chidi Okwudire on his NetSuite Insights Blog

✨ Features

  • πŸ“ Paste your NetSuite Saved Search creation code
  • πŸ”€ Add a custom search name, ID, and description
  • πŸ”„ Automatically generate a formatted require(['N/search'], function(search) { ... }) script
  • πŸ’Ύ Save the result as a JavaScript file
  • πŸ‘€ Preview the formatted script before saving
  • 🧹 Clear the form easily for multiple use cases

πŸ–₯️ Screenshot

image

πŸš€ Getting Started

Requirements

  • Python 3.x
  • Tkinter (usually comes pre-installed with Python)

Installation

Clone the repo:

git clone https://github.com/stephenmcgurrin/Saved-Search-Deployment-Generator.git

Navigate to folder:

cd Saved-Search-Deployment-Generator

Run the script:

python SavedSearchScriptGenerator.py

πŸ§‘β€πŸ’» Usage

  1. Open the app.
  2. Paste your search.create script (as generated by NetSuite).
  3. Enter:
    • Search Name
    • Search ID Suffix – only the part after customsearch
    • Description – brief notes about the saved search
  4. Click Preview to see the formatted script.
  5. Click Process and Save to export the JavaScript file.

Alternative Usage:

  1. Install Pyinstaller
pip install pyinstaller
  1. Navigate to folder above
cd Saved-Search-Deployment-Generator
  1. Run the following command:
pyinstaller --onefile --windowed --noconsole SavedSearchScriptGenerator.py
  1. In the dist folder created - you now have a single executable file. This can be used from start, desktop, or other shortcuts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages