Class NSQuoteLineConfiguration
Contains information about which configuration fields that is visible in the GUI. Read only and mandatory fields are also specified.
Syntax
Constructors
NSQuoteLineConfiguration()
Initializes a new instance of the NSQuoteLineConfiguration class.
Introduced or updated in version: 7.5
Declaration
NSQuoteLineConfiguration
Methods
GetEditable()
Introduced or updated in version: 7.5
Declaration
Bool GetEditable()
Returns
Type | Description |
---|---|
Bool | Is this a read only field? |
Examples
NSQuoteLineConfiguration thing;
Bool editable = thing.GetEditable();
GetFieldName()
Introduced or updated in version: 7.5
Declaration
String GetFieldName()
Returns
Type | Description |
---|---|
String | The name of the field being configured, from data dictionary. |
Examples
NSQuoteLineConfiguration thing;
String fieldName = thing.GetFieldName();
GetInUse()
Introduced or updated in version: 7.5
Declaration
Bool GetInUse()
Returns
Type | Description |
---|---|
Bool | Should this field be displayed in the GUI? |
Examples
NSQuoteLineConfiguration thing;
Bool inUse = thing.GetInUse();
GetLabel()
Introduced or updated in version: 7.5
Declaration
String GetLabel()
Returns
Type | Description |
---|---|
String | Label resource string. |
Examples
NSQuoteLineConfiguration thing;
String label = thing.GetLabel();
GetMandatory()
Introduced or updated in version: 7.5
Declaration
Bool GetMandatory()
Returns
Type | Description |
---|---|
Bool | Is this a mandatory field? |
Examples
NSQuoteLineConfiguration thing;
Bool mandatory = thing.GetMandatory();
GetQuoteLineConfigurationId()
Introduced or updated in version: 7.5
Declaration
Integer GetQuoteLineConfigurationId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSQuoteLineConfiguration thing;
Integer quoteLineConfigurationId = thing.GetQuoteLineConfigurationId();
GetRank()
Introduced or updated in version: 7.5
Declaration
Integer GetRank()
Returns
Type | Description |
---|---|
Integer | Rank of the field. |
Examples
NSQuoteLineConfiguration thing;
Integer rank = thing.GetRank();
GetRestrictEdit()
Introduced or updated in version: 7.5
Declaration
Bool GetRestrictEdit()
Returns
Type | Description |
---|---|
Bool | If true, then this field cannot be set readwrite or mandatory It's bound to be readonly. |
Examples
NSQuoteLineConfiguration thing;
Bool restrictEdit = thing.GetRestrictEdit();
GetTooltip()
Introduced or updated in version: 7.5
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String | Tooltip resource string. |
Examples
NSQuoteLineConfiguration thing;
String tooltip = thing.GetTooltip();
SetEditable(Bool)
Introduced or updated in version: 7.5
Declaration
Void SetEditable(Bool editable)
Parameters
Type | Name | Description |
---|---|---|
Bool | editable | Is this a read only field? |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Bool editable;
thing.SetEditable(editable);
SetFieldName(String)
Introduced or updated in version: 7.5
Declaration
Void SetFieldName(String fieldName)
Parameters
Type | Name | Description |
---|---|---|
String | fieldName | The name of the field being configured, from data dictionary. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
String fieldName;
thing.SetFieldName(fieldName);
SetInUse(Bool)
Introduced or updated in version: 7.5
Declaration
Void SetInUse(Bool inUse)
Parameters
Type | Name | Description |
---|---|---|
Bool | inUse | Should this field be displayed in the GUI? |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Bool inUse;
thing.SetInUse(inUse);
SetLabel(String)
Introduced or updated in version: 7.5
Declaration
Void SetLabel(String label)
Parameters
Type | Name | Description |
---|---|---|
String | label | Label resource string. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
String label;
thing.SetLabel(label);
SetMandatory(Bool)
Introduced or updated in version: 7.5
Declaration
Void SetMandatory(Bool mandatory)
Parameters
Type | Name | Description |
---|---|---|
Bool | mandatory | Is this a mandatory field? |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Bool mandatory;
thing.SetMandatory(mandatory);
SetQuoteLineConfigurationId(Integer)
Introduced or updated in version: 7.5
Declaration
Void SetQuoteLineConfigurationId(Integer quoteLineConfigurationId)
Parameters
Type | Name | Description |
---|---|---|
Integer | quoteLineConfigurationId | Primary key. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Integer quoteLineConfigurationId;
thing.SetQuoteLineConfigurationId(quoteLineConfigurationId);
SetRank(Integer)
Introduced or updated in version: 7.5
Declaration
Void SetRank(Integer rank)
Parameters
Type | Name | Description |
---|---|---|
Integer | rank | Rank of the field. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Integer rank;
thing.SetRank(rank);
SetRestrictEdit(Bool)
Introduced or updated in version: 7.5
Declaration
Void SetRestrictEdit(Bool restrictEdit)
Parameters
Type | Name | Description |
---|---|---|
Bool | restrictEdit | If true, then this field cannot be set readwrite or mandatory. It's bound to be readonly. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
Bool restrictEdit;
thing.SetRestrictEdit(restrictEdit);
SetTooltip(String)
Introduced or updated in version: 7.5
Declaration
Void SetTooltip(String tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip | Tooltip resource string. |
Returns
Type | Description |
---|---|
Void |
Examples
NSQuoteLineConfiguration thing;
String tooltip;
thing.SetTooltip(tooltip);