SystemAttr Constructor(Int32,String,String,Int32,Int32,Int32,String,String)
- Last UpdatedNov 06, 2025
- 2 minute read
The SystemAttr() method is a constructor for the SystemAttr class that passes the initial values from which the object can be initialized. This overload of the method passes the values as a set of integers and strings.
public SystemAttr(
int attrId,
string attrDesc,
string attrValue,
int grpId,
int attrSeq,
int editType,
string constraints,
string reqdLicense
)
Parameters
- attrId
- Required. Holds the ID for the system attribute to which this object refers.
- attrDesc
- Holds the description of this specified system attribute.
- attrValue
- Holds the value of this specified system attribute.
- grpId
- Holds the ID of the system attribute group to which this system attribute belongs.
- attrSeq
- Holds the sequence number of the system attribute within its group.
- editType
Holds an integer representing the type of data this attribute contains and thus how to edit the attribute. The edit types are:
0 = string
1 = drop down
2 = integer
3 = currency
4 = color
5 = date/time
6 = floating point number
7 = percent
8 = checkbox
9 = non-editable
10 = time of day
11 = item reason
12 = long string (>80 chars)
13 = drop down with possible values from a table.- constraints
- Holds the data-editing constraints of the system attribute.
- reqdLicense
- Required. Holds a list of license requirements for the system attribute.