updatecustomrecordwithinstances
Updates the SDF custom object and its instances.
Only the first 100 instances are updated based on their order of creation.
Syntax
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 must start with customrecord. |
-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 that contains the SuiteCloud project. |
-h or -help |
Optional |
Prints the help for this command. |
Example
The following command updates the SDF custom object and all instances of it, 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 the 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