Class NSProductExtraDataField
A way to show some simple extra data on a product, typically to hep the user to identify the correct product. Basically a bucket of additional info that the ERP system would like to store and show in the user interface. Information placed here is shown in the GUI if the provide-extra-data capability is true.
Constructors
NSProductExtraDataField()
Initializes a new instance of the NSProductExtraDataField class.
Declaration
NSProductExtraDataField Methods
GetName()
Declaration
String GetName() Examples
NSProductExtraDataField thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | Label for the field. |
GetType()
Declaration
Integer GetType() Examples
NSProductExtraDataField thing;
Integer type = thing.GetType();
Returns
| Type | Description |
| Integer | String, URL, image. How the value should be interpreted. See <xref href="CRMScript.NetServer.ExtraDataFieldType" data-throw-if-not-resolved="false"></xref> |
GetValue()
Declaration
String GetValue() Examples
NSProductExtraDataField thing;
String value = thing.GetValue();
Returns
| Type | Description |
| String | Value for the field. If type is string, it can contain format specifiers (use this for displaying numbers correctly as the user's computer is set up). |
SetName(String)
Declaration
Void SetName(String name) Examples
NSProductExtraDataField thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | Label for the field. |
Returns
| Type | Description |
| Void |
SetType(Integer)
Declaration
Void SetType(Integer type) Examples
NSProductExtraDataField thing;
Integer type;
thing.SetType(type);
Parameters
| Type | Name | Description |
| Integer | type | String, URL, image. How the value should be interpreted. See <xref href="CRMScript.NetServer.ExtraDataFieldType" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetValue(String)
Declaration
Void SetValue(String value) Examples
NSProductExtraDataField thing;
String value;
thing.SetValue(value);
Parameters
| Type | Name | Description |
| String | value | Value for the field. If type is string, it can contain format specifiers (use this for displaying numbers correctly as the user's computer is set up). |
Returns
| Type | Description |
| Void |