update

Updates the existing SDF custom objects in the SuiteCloud project folder with their matching objects imported from your NetSuite account.

Syntax

          update <-scriptid scriptID1 [scriptID2] [...]>
    [-authid AuthId]
    [-p FolderOrZipFile] 

        

Options

Option

Required / Optional

Description

-scriptid

Required

Lists the script IDs of the SDF custom objects to update.

-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 checks for updates to an object in a NetSuite account, if it exists, and updates the SDF custom object in the SuiteCloud project:

sdfcli update -scriptid customrecord_test1 customrecord_test2 -authid AuthId -p c:/project/

When executed, the command produces output that is similar to the following:

          SuiteCloud Development Framework CLI (com.netsuite.ide.core_2021.1.0)
customrecord_test1 updated.
customrecord_test2 updated. 

        

Related Topics

General Notices