ItemReasons.ItemReasData Constructor
- Last UpdatedNov 06, 2025
- 1 minute read
The ItemReasData() method is the constructor for the ItemReasData class.
public ItemReasons.ItemReasData(
int stateCd,
string stateDesc,
int stateColor,
int gradeCd,
string gradeDesc,
int gradeColor,
bool goodProd,
bool scrapped
)
Parameters
- stateCd
- Required. Holds the item state code.
- stateDesc
- Required. Holds the item state description.
- stateColor
- Required. Holds the item state color.
- gradeCd
- Required. Holds the item grade code.
- gradeDesc
- Required. Holds the item grade description.
- gradeColor
- Required. Holds the item grade color.
- goodProd
- Required. Holds a flag that, if set to true, indicates good production and, if set to false, indicates production reject.
- scrapped
- Required. Holds a flag that, if set to true, indicates the item is scrapped and, if set to false, the item is for normal consumption.