Correcion en recepcion de compras con usados
This commit is contained in:
@@ -978,8 +978,17 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
CargaAlmacenes(DtRecepcion.Rows(0)("CveSubProyecto").ToString.ToEntero, "22", CveTipoCompra)
|
CargaAlmacenes(DtRecepcion.Rows(0)("CveSubProyecto").ToString.ToEntero, "22", CveTipoCompra)
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
SumarImporteUsados = False
|
|
||||||
DtRecepcion = ObjInventario.DtResultados.Copy()
|
DtRecepcion = ObjInventario.DtResultados.Copy()
|
||||||
|
|
||||||
|
'VERIFICA LOS QUE TENGAN LAS CLASIFICACION DE USADOS
|
||||||
|
If ObjCompras.GetCompraDetalle(pCveCompra) Then
|
||||||
|
If ObjCompras.DtResultados.COUNT("Cantidad", "CveClasificacion=20519") > 0 Then
|
||||||
|
SumarImporteUsados = True
|
||||||
|
Else
|
||||||
|
SumarImporteUsados = False
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
CveAlmacenDevolucionProveedor = DtRecepcion.Rows(0)("CveAlmacenDevolucionProveedor").ToString.ToEntero
|
CveAlmacenDevolucionProveedor = DtRecepcion.Rows(0)("CveAlmacenDevolucionProveedor").ToString.ToEntero
|
||||||
|
|||||||
Reference in New Issue
Block a user