Show / Hide Table of Contents

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.

Syntax

Constructors

NSProductExtraDataField()

Initializes a new instance of the NSProductExtraDataField class.

Declaration
NSProductExtraDataField

Methods

GetName()

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.

Declaration
String GetName()
Returns
Type Description
String

Label for the field.

Examples
NSProductExtraDataField thing;
String name = thing.GetName();

GetType()

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.

Declaration
Integer GetType()
Returns
Type Description
Integer

String, URL, image. How the value should be interpreted. See ExtraDataFieldType

Examples
NSProductExtraDataField thing;
Integer type = thing.GetType();

GetValue()

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.

Declaration
String 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).

Examples
NSProductExtraDataField thing;
String value = thing.GetValue();

SetName(String)

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.

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Label for the field.

Returns
Type Description
Void
Examples
NSProductExtraDataField thing;
String name;
thing.SetName(name);

SetType(Integer)

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.

Declaration
Void SetType(Integer type)
Parameters
Type Name Description
Integer type

String, URL, image. How the value should be interpreted. See ExtraDataFieldType.

Returns
Type Description
Void
Examples
NSProductExtraDataField thing;
Integer type;
thing.SetType(type);

SetValue(String)

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.

Declaration
Void SetValue(String 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
Examples
NSProductExtraDataField thing;
String value;
thing.SetValue(value);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top