PopupInvWasteDlg Method
- Last UpdatedNov 06, 2025
- 2 minute read
The PopupInvWasteDlg method opens the Reject form dialog to display the waste items in the inventory.
'Declaration
Public Function PopupInvWasteDlg( _
ByVal rowId As Integer, _
ByVal entId As Integer, _
ByVal itemId As String, _
ByVal lotNo As String, _
ByVal gradeCd As Integer, _
ByVal statusCd As Integer, _
ByVal qtyleft As Double, _
ByVal units As String, _
ByVal itemDesc As String, _
ByVal woId As String, _
ByVal operId As String, _
ByVal seqNo As Integer _
) As Boolean
public bool PopupInvWasteDlg(
int rowId,
int entId,
string itemId,
string lotNo,
int gradeCd,
int statusCd,
double qtyleft,
string units,
string itemDesc,
string woId,
string operId,
int seqNo
)
Parameters
- rowId
- Required. Holds the ID of the row in the item_inv table.
- entId
Required. Holds the ID of the entity.
- itemId
- Required. Holds the ID of the item.
- lotNo
Required. Holds the lot number of the item.
- gradeCd
Required. Holds the grade code of the item.
- statusCd
Required. Holds the status code of the item.
- qtyleft
Required. Holds the quantity left in the inventory.
- units
Optional. Holds the description of the units that are used by the item.
- itemDesc
- Required. Holds the description of the item.
- woId
Required. Holds the ID of the work order. Pass an empty string if not used.
- operId
Required. Holds the ID of the operation number. Not used if the work order is empty.
- seqNo
Required. Holds the sequence number of the operation. Not used it the work order is empty.
Return Value
Returns true if the user wastes some inventory.