PopupEditConsDlg Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupEditConsDlg() method opens the Reclassify Consumption dialog. This dialog allows the user to reclassify a portion of the consumption quantity entered for the item to a different item reason. The quantity entered is removed from the current consumption amount with the original item reason and reclassified as consumption under a new item reason.
public bool PopupEditConsDlg(
string itemID,
string itemDesc,
int rowID,
double qty,
string lotNo,
int storageID
)
Parameters
- itemID
- Required. Holds the ID of the item that is being consumed.
- itemDesc
- Required. Holds the description of the item that is being consumed.
- rowID
- Required. Holds the ID of the row in the Item_Cons table that contains the consumption that is being reclassified.
- qty
- Required. Holds the quantity of consumption that can be split and reclassified.
- lotNo
- Required. Holds the lot number that contains the item that is being consumed. Pass an empty string ("") if this parameter is not used.
- storageID
Required. Holds the ID of the entity in which the material is stored. Set this parameter to -1 if it is not used.
Return Value
Returns true if the user adjusts the consumption quantity; otherwise, it returns
false.