Class NSProductFamily
The built-in product family list. Used by the SuperOffice Quote Connector to categorize products.
Syntax
Constructors
NSProductFamily()
Initializes a new instance of the NSProductFamily class.
Declaration
NSProductFamily
Methods
GetId()
Gets the primary key (ID) for the NSProductFamily.
Declaration
Integer GetId()
Returns
Type | Description |
---|---|
Integer | NSProductFamily Id. |
Examples
NSProductFamily thing;
Integer id = thing.GetId();
GetTooltip()
Gets the tooltip description for the NSProductFamily list item.
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String | NSProductFamily tooltip description. |
Examples
NSProductFamily thing;
String descr = thing.GetTooltip();
GetValue()
Gets the name of the NSProductFamily.
Declaration
String GetValue()
Returns
Type | Description |
---|---|
String | NSProductFamily name. |
Examples
NSProductFamily thing;
String name = thing.GetValue();
SetId(Integer)
Sets the primary key (ID) for the NSProductFamily
Declaration
Void SetId(Integer id)
Parameters
Type | Name | Description |
---|---|---|
Integer | id |
Returns
Type | Description |
---|---|
Void |
Examples
NSProductFamily thing;
thing.SetId(123);
SetTooltip(String)
Sets the tooltip description for the NSProductFamily list item.
Declaration
Void SetTooltip(String tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip |
Returns
Type | Description |
---|---|
Void |
Examples
NSProductFamily thing;
String descr = "something new";
thing.SetTooltip(descr);
SetValue(String)
Sets the name of the NSProductFamily item.
Declaration
Void SetValue(String value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
Void |
Examples
NSProductFamily thing;
thing.SetValue("frotz");