PopupInventorySplitCombineLot(String,String,Int32,String,String,Int32,String,Int32,String,Object,Double,Int32,Int32,String,Boolean,Boolean) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The PopupInventorySplitCombineLot() method opens the dialog to display the Split/Combine dialog for the selected item in the specified mode. This overload of the method includes a flag that can be set to make the attributes view-only.
If optionally filtering the results by a specific entity, overload of the method specifies the entity by its supplied input parameters.
'Declaration
Public Overloads Shared Function PopupInventorySplitCombineLot( _
ByVal itemID As String, _
ByVal itemDesc As String, _
ByVal numDecimals As Integer, _
ByVal units As String, _
ByVal lotNo As String, _
ByVal gradeCd As Integer, _
ByVal gradeDesc As String, _
ByVal statusCd As Integer, _
ByVal statusDesc As String, _
ByVal expiryDate As Object, _
ByVal qtyLeft As Double, _
ByVal rowID As Integer, _
ByVal entID As Integer, _
ByVal entName As String, _
ByVal combineFlag As Boolean, _
ByVal fromSupervisor As Boolean _
) As Boolean
public static bool PopupInventorySplitCombineLot(
string itemID,
string itemDesc,
int numDecimals,
string units,
string lotNo,
int gradeCd,
string gradeDesc,
int statusCd,
string statusDesc,
object expiryDate,
double qtyLeft,
int rowID,
int entID,
string entName,
bool combineFlag,
bool fromSupervisor
)
Parameters
- itemID
- Required. Holds the ID of the item to be split or combined.
- itemDesc
- Required. Holds the description of the item to be split or combined.
- numDecimals
- Required. Holds the number of decimal places.
- units
- Required. Holds the description of the units.
- lotNo
- Required. Holds the lot number of the selected item.
- gradeCd
- Required. Holds the grade of the selected item.
- gradeDesc
- Required. Holds the description of the grade.
- statusCd
- Required. Holds the status of the selected item.
- statusDesc
- Required. Holds the description of status.
- expiryDate
- Optional. Holds the expiry date and time of the selected item in the local time of the storage entity.
- qtyLeft
- Required. Holds the quantity left of the selected item.
- rowID
- Required. Holds the ID of the row in the database table for the selected item.
- entID
- Required. Holds the ID of the entity at which the selected item is stored.
- entName
- Required. Holds the name of the entity.
- combineFlag
- Required. Holds the flag specifying a combine (true) or a split (false).
- fromSupervisor
- Required. Holds the flag specifying whether the method is being called from Supervisor (true).
Return Value
Returns true if the split or combine is successful, otherwise it
returns false.