UpdateSpecific Method (ShipmentLot)
- Last UpdatedNov 06, 2025
- 3 minute read
The UpdateSpecific() method updates all columns for the specified shipment lot record in Shipment_Lot table.
A shipment lot record is uniquely identified by the row ID or by the combination of the customer ID, purchase order ID, sales order line number, date shipped, and lot number.
'Declaration
Public Shared Sub UpdateSpecific( _
ByVal sessionId As Integer, _
ByVal rowId As Integer, _
ByVal custId As String, _
ByVal poId As String, _
ByVal soLineNumber As Nullable(Of Integer), _
ByVal shipDateUtc As Nullable(Of Date), _
ByVal lotNo As DBString, _
ByVal sublotNo As DBString, _
ByVal quantityShipped As Nullable(Of Double), _
ByVal uomId As DBInt, _
ByVal transId As DBInt, _
ByRef lastEditAt As Nullable(Of Date) _
)
'Usage
Dim sessionId As Integer
Dim rowId As Integer
Dim custId As String
Dim poId As String
Dim soLineNumber As Nullable(Of Integer)
Dim shipDateUtc As Nullable(Of Date)
Dim lotNo As DBString
Dim sublotNo As DBString
Dim quantityShipped As Nullable(Of Double)
Dim uomId As DBInt
Dim transId As DBInt
Dim lastEditAt As Nullable(Of Date)
ShipmentLot.UpdateSpecific(sessionId, rowId, custId, poId, soLineNumber, shipDateUtc, lotNo, sublotNo, quantityShipped, uomId, transId, lastEditAt)
public static void UpdateSpecific(
int sessionId,
int rowId,
string custId,
string poId,
Nullable<int> soLineNumber,
Nullable<DateTime> shipDateUtc,
DBString lotNo,
DBString sublotNo,
Nullable<double> quantityShipped,
DBInt uomId,
DBInt transId,
ref Nullable<DateTime> lastEditAt
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- rowId
- Required. Holds the unique row ID for the record that is being updated.
- custId
- Optional. Holds the customer ID.
- poId
- Optional. Holds the ID of a purchase order with which the goods shipped are associated.
- soLineNumber
- Optional. Holds the sales order line number of the goods shipped.
- shipDateUtc
- Optional. Holds the date and time when the goods were shipped, in UTC.
- lotNo
- Optional. Holds the lot number of the goods shipped.
- sublotNo
- Optional. Holds the sublot number of the goods shipped.
- quantityShipped
- Optional. Holds the quantity of the goods shipped.
- uomId
- Optional. Holds the identifier of the unit of measure for the goods shipped.
- transId
- Optional. Holds the transfer identifier for the goods shipped.
- lastEditAt
Required. Holds the date/time when this record was added or last updated, for optimistic concurrency control. The passed value must match the lastEditAt value in the record for the update to succeed.
Output. Holds the date/time value when the record was updated by this called method.
The following parameters are used to uniquely identify the corresponding record in the Shipment table: custId, poId, soLineNumber, and shipDateUtc. When changing any of these parameters, make sure that you are still specifying the target shipment record that you want to update.
Observe the following input parameter rules:
- Required non-DB* parameters: Must pass a value. Cannot be empty or null.
- Optional non-DB* parameters: Either enter a value or pass a null. If passing a null and a default value has been defined, the default value will be used for the parameter.
- Required DB* parameters: Must pass a value. To enter an empty value for the parameter, pass DB*.null (e.g., DBInt.null).
- Optional DB* parameters: To enter no value for the parameter, pass DB*.null (e.g., DBInt.null). To use the default value for the parameter if one has been defined for the object being added, pass a null.