Tax Reporting Framework CLI is a tool for generating boilerplate codes to quickly setup and deploy your reports using Tax Reporting Framework SuiteApp in NetSuite.
Tax Reporting Framework is a powerful reporting framework that uses JSON schema for report definition, freemarker templates for report output and supports Saved Searches and SuiteQL as data source. It was previously named SuiteTax Reports but with the recent support for Legacy environment it was renamed to Tax Reporting Framework.
npm install -g @oracle/tax-reporting-framework-cli
npx @oracle/tax-reporting-framework-cli create
Usage: trf [options] [command]
🚀 TRF CLI 🚀
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
create create new TRF project 😎
trf create
? Select project type. TAF
? Select search type. suiteql
? Enter project name. (The project ID must not be empty and can contain only lowercase alphabetic and numeric characters)
localization-ireland
? Enter report country. IE
------------------
🚀 TRF CLI 🚀
------------------
Project Name: localization-ireland
Project Type: TAF
Country: IE
✨ Done in 0.005s!
Since run tag in deploy.xml is not supported in SDF Account Customization Project
Manually run the installation scripts to install the localization Bundle, Report, SavedSearch in TRF
Go to Customization > Scripting > Scripts
- Go to filters type select Scheduled
- View STR Bundle Installer SS
- Go to Deployments tab
- Select 1 deployment and edit
- Go to Parameters tab
- Populate the parameters as follows: GUID: Project GUID, Filename: str_localized_bundle.json
- Trigger Save and Execute
Go to Customization > Scripting > Scripts
- Go to filters type select Map/Reduce
- View ReportSchema Installer MR
- Go to Deployments tab
- Select 1 deployment and edit
- Go to Parameters tab
- Populate the parameters as follows: UUID: Project GUID, Filename: str_localized_report_list.json
- Trigger Save and Execute
Go to Customization > Scripting > Scripts
- Go to filters type select Map/Reduce
- View STR Search Installer MR
- Go to Deployments tab
- Select 1 deployment and edit
- Go to Parameters tab
- Populate the parameters as follows: UUID: Project GUID, Filename: str_localized_searches.json
- Trigger Save and Execute
Tax Reporting Framework CLI is an open source project. Pull Requests are currently not being accepted. See CONTRIBUTING for details.
Copyright (c) 2021 Oracle and/or its affiliates The Universal Permissive License (UPL), Version 1.0.