-- activación para considerar Series
This commit is contained in:
@@ -3281,7 +3281,7 @@ Partial Class OS_OrdenesServicios
|
|||||||
Exit For
|
Exit For
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Dim Serie As String = "" 'GvRow.DataKey("Serie")
|
Dim Serie As String = drr("Serie").ToString
|
||||||
Dim Lote As String = drr("Lote").ToString
|
Dim Lote As String = drr("Lote").ToString
|
||||||
Dim FechaCaducidad As DateTime = drr("FechaCaducidad").ToString.ToDate
|
Dim FechaCaducidad As DateTime = drr("FechaCaducidad").ToString.ToDate
|
||||||
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoSalida, Cantidad, CveUM, CvePS, PU, CveVentaDetalle:=CveVentaDetalle, CveMovimientoDetalleEntrada:=CveMovimientoDetalle, Lote:=Lote, Serie:=Serie, FechaCaducidad:=FechaCaducidad) Then
|
If Not ObjInventario.AddMovimientoDetalle(CveMovimientoSalida, Cantidad, CveUM, CvePS, PU, CveVentaDetalle:=CveVentaDetalle, CveMovimientoDetalleEntrada:=CveMovimientoDetalle, Lote:=Lote, Serie:=Serie, FechaCaducidad:=FechaCaducidad) Then
|
||||||
@@ -3541,6 +3541,7 @@ Partial Class OS_OrdenesServicios
|
|||||||
TmpDTMat.Columns.Add("CveUM", GetType(Integer))
|
TmpDTMat.Columns.Add("CveUM", GetType(Integer))
|
||||||
TmpDTMat.Columns.Add("Cantidad", GetType(Integer))
|
TmpDTMat.Columns.Add("Cantidad", GetType(Integer))
|
||||||
TmpDTMat.Columns.Add("PU", GetType(Decimal))
|
TmpDTMat.Columns.Add("PU", GetType(Decimal))
|
||||||
|
TmpDTMat.Columns.Add("Serie", GetType(String))
|
||||||
TmpDTMat.Columns.Add("Lote", GetType(String))
|
TmpDTMat.Columns.Add("Lote", GetType(String))
|
||||||
TmpDTMat.Columns.Add("FechaCaducidad", GetType(Date))
|
TmpDTMat.Columns.Add("FechaCaducidad", GetType(Date))
|
||||||
TmpDTMat.Columns.Add("CveVentaDetalle", GetType(Integer))
|
TmpDTMat.Columns.Add("CveVentaDetalle", GetType(Integer))
|
||||||
@@ -3560,6 +3561,7 @@ Partial Class OS_OrdenesServicios
|
|||||||
drp("CvePS") = CvePS
|
drp("CvePS") = CvePS
|
||||||
drp("Cantidad") = CantidadRegistro
|
drp("Cantidad") = CantidadRegistro
|
||||||
drp("PU") = PU
|
drp("PU") = PU
|
||||||
|
drp("Serie") = GvRow.DataKey("Serie")
|
||||||
drp("Lote") = GvRow.DataKey("Lote")
|
drp("Lote") = GvRow.DataKey("Lote")
|
||||||
drp("FechaCaducidad") = GvRow.DataKey("FechaCaducidad").ToDate
|
drp("FechaCaducidad") = GvRow.DataKey("FechaCaducidad").ToDate
|
||||||
TmpDTMat.Rows.Add(drp)
|
TmpDTMat.Rows.Add(drp)
|
||||||
|
|||||||
Reference in New Issue
Block a user