getConfigList
getConfigList(options)
Method Description | This function allows retrieve all configs per record type |
Supported Script Types | SuiteScript 2.1 |
Returns | ConfigObject[] |
Module | b4cd-file-api-lib.js |
Since | FileSync 0.5.0 |
Parameters
Note: The options
parameter is a JavaScript object.
Parameter | Type | Required | Description | Since |
---|---|---|---|---|
| string | required | The string representation of the record type being referred to. | 0.5.0 |
Returns
Parameter | Type | Description | Since |
---|---|---|---|
| string | The unique developer reference code on the record config | 0.5.0 |
| integer | The internal ID of the record config Id. | 0.5.0 |
| integer | The internal ID of the connection record | 0.5.0 |
| string | The string representation of the record type listed for the record config type. | 0.5.0 |
Errors
Error Code | Details |
---|---|
| A required argument is missing or undefined. |
Example Usage
var params = {
recordType: scriptContext.newRrecord.type
};
fileapi.getConfigList(params)