getConfigList

getConfigList(options)

Method Description

This function allows retrieve all configs per record type

Supported Script Types

SuiteScript 2.1
Server-side Scripts: User Event, Suitelet, RESTlet, Map/Reduce, Scheduled, Workflow Action

Returns

ConfigObject[]

Module

b4cd-file-api-lib.js
See notes on how to load this module: FileSync API for SuiteScript

Since

FileSync 0.5.0

Parameters

Note: The options parameter is a JavaScript object.

ParameterTypeRequiredDescriptionSince
options.recordType
stringrequiredThe string representation of the record type being referred to. 0.5.0

Returns

ParameterTypeDescription
Since
devReferenceCode

string

The unique developer reference code on the record config

0.5.0

recordTypeConfigId
integer
The internal ID of the record config Id. 0.5.0
connectionId

integer
The internal ID of the connection record0.5.0
recordType

string
The string representation of the record type listed for the record config type. 0.5.0

Errors

Error CodeDetails
MISSING_REQD_ARGUMENT

A required argument is missing or undefined.

Example Usage

var params = {
                recordType: scriptContext.newRrecord.type
             };
fileapi.getConfigList(params)

Was this article helpful?