PopupAddProdDlg(String,String,Boolean,Double,Double,Double,String,DateTime,Int32) Method
- Last UpdatedNov 06, 2025
- 1 minute read
This overload of the PopUpAddProdDlg() method opens one of two versions of the Add Production dialog, either for a serialized or unserialized part. The dialog allows the user to enter production for the current job.
'Declaration
Public Overloads Function PopupAddProdDlg( _
ByVal itemID As String, _
ByVal itemDesc As String, _
ByVal is_serialized As Boolean, _
ByVal qtyGood As Double, _
ByVal rejQty As Double, _
ByVal startQty As Double, _
ByVal jobDesc As String, _
ByVal shiftStartTime As Date, _
ByVal shiftId As Integer _
) As Boolean
public bool PopupAddProdDlg(
string itemID,
string itemDesc,
bool is_serialized,
double qtyGood,
double rejQty,
double startQty,
string jobDesc,
DateTime shiftStartTime,
int shiftId
)
Parameters
- itemID
- Required. Holds the ID of the item being produced.
- itemDesc
- Required. Holds the description of the item being produced.
- is_serialized
- Required. Holds the flag that, if set to true, indicates that the item being produced is serialized, and thus determining which version of the Add Production dialog to open.
- qtyGood
- Required. Holds the quantity of good production entered.
- rejQty
- Required. Holds the quantity of rejected production entered.
- startQty
- Required. Holds the starting quantity for the job.
- jobDesc
- Required. Holds the description of the job.
- shiftStartTime
- Required. Holds the start time of the current shift.
- shiftId
- Required. Holds the ID of the current shift.
Return Value
Returns true if the user enters production; otherwise, it returns false.