Class NSFieldInfoRelation

Relation to other table database field.

Constructors

NSFieldInfoRelation()

Initializes a new instance of the NSFieldInfoRelation class.

Declaration

NSFieldInfoRelation

Methods

GetDefaultValue()

Declaration

Integer GetDefaultValue()

Examples

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

Returns

Type Description
Integer Default record ID.

GetMdoListName()

Declaration

String GetMdoListName()

Examples

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

Returns

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

GetTargetLabel()

Declaration

String GetTargetLabel()

Examples

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

Returns

Type Description
String Display name on target entity.

GetTargetTable()

Declaration

String GetTargetTable()

Examples

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

Returns

Type Description
String Name of target table 'contact', 'y_equipment'

GetUseDropDown()

Declaration

Bool GetUseDropDown()

Examples

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

Returns

Type Description
Bool Show as dropdown list on target?

SetDefaultValue(Integer)

Declaration

Void SetDefaultValue(Integer defaultValue)

Examples

NSFieldInfoRelation thing;
Integer defaultValue;
thing.SetDefaultValue(defaultValue);

Parameters

Type Name Description
Integer defaultValue Default record ID.

Returns

Type Description
Void

SetMdoListName(String)

Declaration

Void SetMdoListName(String mdoListName)

Examples

NSFieldInfoRelation thing;
String mdoListName;
thing.SetMdoListName(mdoListName);

Parameters

Type Name Description
String mdoListName MDO list name used to populate this list. (Read-only, derived from TargetTable).

Returns

Type Description
Void

SetTargetLabel(String)

Declaration

Void SetTargetLabel(String targetLabel)

Examples

NSFieldInfoRelation thing;
String targetLabel;
thing.SetTargetLabel(targetLabel);

Parameters

Type Name Description
String targetLabel Display name on target entity.

Returns

Type Description
Void

SetTargetTable(String)

Declaration

Void SetTargetTable(String targetTable)

Examples

NSFieldInfoRelation thing;
String targetTable;
thing.SetTargetTable(targetTable);

Parameters

Type Name Description
String targetTable Name of target table 'contact', 'y_equipment'

Returns

Type Description
Void

SetUseDropDown(Bool)

Declaration

Void SetUseDropDown(Bool useDropDown)

Examples

NSFieldInfoRelation thing;
Bool useDropDown;
thing.SetUseDropDown(useDropDown);

Parameters

Type Name Description
Bool useDropDown Show as dropdown list on target?

Returns

Type Description
Void