@servicenow/sdk - v4.4.1
Preparing search index...
@servicenow/sdk/core
sys_relationship
Variable sys_relationship
Const
sys_relationship
:
{
extends
:
"sys_metadata"
;
name
:
"sys_relationship"
;
schema
:
{
advanced
:
Typed
<
boolean
,
{
active
:
true
;
default
:
false
;
label
:
"Advanced"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
apply_to
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Apply to"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
basic_apply_to
:
Typed
<
keyof
Tables
,
{
active
:
true
;
label
:
"Applies to table"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
basic_query_from
:
Typed
<
keyof
Tables
,
{
active
:
true
;
label
:
"Queries from table"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
insert_callback
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Insert callback"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
name
:
Typed
<
string
,
{
active
:
true
;
label
:
"Name"
;
mandatory
:
false
;
read_only
:
false
}
,
>
;
query_from
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Query from"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
query_with
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
default
:
"(function refineQuery(current, parent) {\n\n\t// Add your code here, such as current.addQuery(field, value);\n\n})(current, parent);"
;
label
:
"Query with"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
reference_field
:
Typed
<
string
,
{
active
:
true
;
label
:
"Reference field"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
related_list
:
Typed
<
string
,
{
active
:
true
;
dropdown
:
"none"
;
label
:
"Related list"
;
mandatory
:
false
;
maxLength
:
32
;
read_only
:
true
;
}
,
>
;
simple_reference
:
Typed
<
boolean
,
{
active
:
true
;
label
:
"Simple reference"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
sys_id
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"GUID"
;
label
:
"Sys ID"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
}
;
}
= ...
Type Declaration
Readonly
extends
:
"sys_metadata"
Readonly
name
:
"sys_relationship"
Readonly
schema
:
{
advanced
:
Typed
<
boolean
,
{
active
:
true
;
default
:
false
;
label
:
"Advanced"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
apply_to
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Apply to"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
basic_apply_to
:
Typed
<
keyof
Tables
,
{
active
:
true
;
label
:
"Applies to table"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
basic_query_from
:
Typed
<
keyof
Tables
,
{
active
:
true
;
label
:
"Queries from table"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
insert_callback
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Insert callback"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
name
:
Typed
<
string
,
{
active
:
true
;
label
:
"Name"
;
mandatory
:
false
;
read_only
:
false
}
,
>
;
query_from
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
label
:
"Query from"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
query_with
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"script_plain"
;
default
:
"(function refineQuery(current, parent) {\n\n\t// Add your code here, such as current.addQuery(field, value);\n\n})(current, parent);"
;
label
:
"Query with"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
reference_field
:
Typed
<
string
,
{
active
:
true
;
label
:
"Reference field"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
related_list
:
Typed
<
string
,
{
active
:
true
;
dropdown
:
"none"
;
label
:
"Related list"
;
mandatory
:
false
;
maxLength
:
32
;
read_only
:
true
;
}
,
>
;
simple_reference
:
Typed
<
boolean
,
{
active
:
true
;
label
:
"Simple reference"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
sys_id
:
Typed
<
string
|
number
,
{
active
:
true
;
column_type
:
"GUID"
;
label
:
"Sys ID"
;
mandatory
:
false
;
read_only
:
false
;
}
,
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@servicenow/sdk - v4.4.1
Loading...