updatecustomrecordwithinstances
SuiteCloud CLI for Java has reached end of support. The final available version is 2025.2. Oracle no longer provides new releases, features, or issue fixes. The CLI will remain available for download until the NetSuite 2027.1 release. Transition to SuiteCloud CLI for Node.js, SuiteCloud Extension for Visual Studio Code, or SuiteCloud IDE Plug-in for WebStorm.
Updates the SDF custom object and its instances.
Only the first 100 instances are updated, based on their order of creation.
Syntax
sdfcli updatecustomrecordwithinstances <-authid AuthId>
[-p FolderOrZipFile]
<-scriptid ScriptID>
Options
|
Option |
Required / Optional |
Description |
|
-scriptid |
Required |
The script ID of the SDF custom object. The script ID has to start with |
|
-authid |
Required |
References the custom alias you give to a specific account-role combination. |
|
-p |
Required when a default project has not been specified by the project command or when you want to specify a project other than the default. For more information, see project. |
References the folder or ZIP file with your SuiteCloud project. |
|
-h or -help |
Optional |
Prints the help for this command. |
Example
Here's a command that updates the SDF custom object and all its instances, if they exist:
sdfcli updatecustomrecordwithinstances -scriptid customrecord10 -authid AuthId -p c:/project
When you run the command, it prompts you to overwrite any existing SDF custom objects in your SuiteCloud project and produces output that is similar to the following:
SuiteCloud Development Framework CLI (com.netsuite.ide.core_2021.1.0)
Existing Custom Record will be overwritten, do you want to continue? Type YES to continue.
YES
Custom record "customrecord10" has been updated with custom record instances included.
Related Topics
- SuiteCloud CLI for Java Commands
- adddependencies
- authenticate
- authenticateci
- createfile
- createproject
- deploy
- importbundle
- importconfiguration
- importfiles
- importobjects
- listbundles
- listconfiguration
- listfiles
- listmissingdependencies
- listobjects
- manageauth
- package
- preview
- project
- update
- uploadfiles
- uploadfolders
- validate