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 has to 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 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

General Notices