PopupEditProdDlg(String,String,Int32,String,Int32,Int32,DateTime,Boolean,Double) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupEditProdDlg() method opens the Reject Production dialog to allow the user to change the reported production reason for some or all of the reported quantity for a row in the Item_Prod table.
'Declaration
Public Overloads Function PopupEditProdDlg( _
ByVal itemID As String, _
ByVal itemDesc As String, _
ByVal rowID As Integer, _
ByVal lotNo As String, _
ByVal reasCd As Integer, _
ByVal storageID As Integer, _
ByVal shiftStart As Date, _
ByVal goodProd As Boolean, _
ByVal qty As Double _
) As Boolean
public bool PopupEditProdDlg(
string itemID,
string itemDesc,
int rowID,
string lotNo,
int reasCd,
int storageID,
DateTime shiftStart,
bool goodProd,
double qty
)
Parameters
- itemID
- Required. Holds the ID of the item being produced.
- itemDesc
- Required. Holds the description of the item being produced.
- rowID
- Required. Holds the ID of the row in the Item_Prod table.
- lotNo
- Required. Holds the lot number.
- reasCd
- Required. Holds the reason code for the production.
- storageID
- Required. Holds the ID of the entity in which the material is stored.
- shiftStart
- Required. Holds the start of the shift during which the production occurred.
- goodProd
- Required. Holds a flag that, if set to true, indicates that the production represents good production.
- qty
- Required. Holds the amount reported.
Return Value
Returns true if the user adjusts the production quantity; otherwise, it returns
false.