Show / Hide Table of Contents

Class NSFieldInfoRelation

Relation to other table database field.

Syntax

Constructors

NSFieldInfoRelation()

Initializes a new instance of the NSFieldInfoRelation class.

Declaration
NSFieldInfoRelation

Methods

GetDefaultValue()

Relation to other table database field.

Declaration
Integer GetDefaultValue()
Returns
Type Description
Integer

Default record ID.

Examples
NSFieldInfoRelation thing;
Integer defaultValue = thing.GetDefaultValue();

GetMdoListName()

Relation to other table database field.

Declaration
String GetMdoListName()
Returns
Type Description
String

MDO list name used to populate this list. (Read-only, derived from TargetTable).

Examples
NSFieldInfoRelation thing;
String mdoListName = thing.GetMdoListName();

GetTargetLabel()

Relation to other table database field.

Declaration
String GetTargetLabel()
Returns
Type Description
String

Display name on target entity.

Examples
NSFieldInfoRelation thing;
String targetLabel = thing.GetTargetLabel();

GetTargetTable()

Relation to other table database field.

Declaration
String GetTargetTable()
Returns
Type Description
String

Name of target table 'contact', 'y_equipment'

Examples
NSFieldInfoRelation thing;
String targetTable = thing.GetTargetTable();

GetUseDropDown()

Relation to other table database field.

Declaration
Bool GetUseDropDown()
Returns
Type Description
Bool

Show as dropdown list on target?

Examples
NSFieldInfoRelation thing;
Bool useDropDown = thing.GetUseDropDown();

SetDefaultValue(Integer)

Relation to other table database field.

Declaration
Void SetDefaultValue(Integer defaultValue)
Parameters
Type Name Description
Integer defaultValue

Default record ID.

Returns
Type Description
Void
Examples
NSFieldInfoRelation thing;
Integer defaultValue;
thing.SetDefaultValue(defaultValue);

SetMdoListName(String)

Relation to other table database field.

Declaration
Void SetMdoListName(String mdoListName)
Parameters
Type Name Description
String mdoListName

MDO list name used to populate this list. (Read-only, derived from TargetTable).

Returns
Type Description
Void
Examples
NSFieldInfoRelation thing;
String mdoListName;
thing.SetMdoListName(mdoListName);

SetTargetLabel(String)

Relation to other table database field.

Declaration
Void SetTargetLabel(String targetLabel)
Parameters
Type Name Description
String targetLabel

Display name on target entity.

Returns
Type Description
Void
Examples
NSFieldInfoRelation thing;
String targetLabel;
thing.SetTargetLabel(targetLabel);

SetTargetTable(String)

Relation to other table database field.

Declaration
Void SetTargetTable(String targetTable)
Parameters
Type Name Description
String targetTable

Name of target table 'contact', 'y_equipment'

Returns
Type Description
Void
Examples
NSFieldInfoRelation thing;
String targetTable;
thing.SetTargetTable(targetTable);

SetUseDropDown(Bool)

Relation to other table database field.

Declaration
Void SetUseDropDown(Bool useDropDown)
Parameters
Type Name Description
Bool useDropDown

Show as dropdown list on target?

Returns
Type Description
Void
Examples
NSFieldInfoRelation thing;
Bool useDropDown;
thing.SetUseDropDown(useDropDown);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top