BDH. Validacion de proceso de Apoyo Logistico,AL2
This commit is contained in:
@@ -350,7 +350,7 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<%--ADVERTENCIA--%>
|
<%--ADVERTENCIA--%>
|
||||||
<asp:UpdatePanel runat="server">
|
<asp:UpdatePanel runat="server" ID="UpAdvertencias" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12" style="vertical-align: middle;" align="center">
|
<div class="col-md-12" style="vertical-align: middle;" align="center">
|
||||||
|
|||||||
@@ -977,11 +977,7 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
SumarImporteUsados = True
|
SumarImporteUsados = True
|
||||||
DtRecepcion = ObjInventario.DtResultados.Copy()
|
DtRecepcion = ObjInventario.DtResultados.Copy()
|
||||||
If TipoMovimiento <> 3 Then 'sino es devolucion/NC
|
If TipoMovimiento <> 3 Then 'sino es devolucion/NC
|
||||||
If UsuarioActual.CveRol = 1 Then
|
CargaAlmacenes(DtRecepcion.Rows(0)("CveSubProyecto").ToString.ToEntero, "22", CveTipoCompra)
|
||||||
CargaAlmacenes(-1, "22", CveTipoCompra)
|
|
||||||
Else
|
|
||||||
CargaAlmacenes(DtRecepcion.Rows(0)("CveSubProyecto").ToString.ToEntero, "22", CveTipoCompra)
|
|
||||||
End If
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
@@ -1009,6 +1005,12 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
DivVirtualAdvertencia.Visible = False
|
DivVirtualAdvertencia.Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
'SI LA COMPRA ES DE TIPO "APOYO LOGISTICO" NO DEBE GENERAR VIRTUAL
|
||||||
|
If Not SumarImporteUsados AndAlso CveTipoCompra = 9 Then
|
||||||
|
RealizarMovimientoVirtual = False
|
||||||
|
DivVirtualAdvertencia.Visible = False
|
||||||
|
End If
|
||||||
|
|
||||||
If TipoMovimiento = 2 AndAlso CveAlmacenDevolucionProveedor > 0 Then
|
If TipoMovimiento = 2 AndAlso CveAlmacenDevolucionProveedor > 0 Then
|
||||||
RealizarTraspasoAlmacenDevolucion = True
|
RealizarTraspasoAlmacenDevolucion = True
|
||||||
|
|
||||||
@@ -1142,6 +1144,7 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
|
|
||||||
CargaGVInv()
|
CargaGVInv()
|
||||||
|
|
||||||
|
UpAdvertencias.Update()
|
||||||
UpDocumentos.Update()
|
UpDocumentos.Update()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -4687,6 +4690,13 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Public Class MMovimientoAlmacen
|
||||||
|
Public Property CveMovimiento As Integer
|
||||||
|
Public Property Folio As Integer
|
||||||
|
|
||||||
|
End Class
|
||||||
|
|
||||||
'Private Function GuardaDocumentoBitacora(ObjEventoBitacora As ClsOIEventos, CveMovimiento As Integer) As Boolean
|
'Private Function GuardaDocumentoBitacora(ObjEventoBitacora As ClsOIEventos, CveMovimiento As Integer) As Boolean
|
||||||
' Dim Retorno = True
|
' Dim Retorno = True
|
||||||
' Dim Archivo As System.IO.FileInfo = Nothing
|
' Dim Archivo As System.IO.FileInfo = Nothing
|
||||||
@@ -4717,8 +4727,3 @@ Partial Class Inventarios_RecepcionAlmacen
|
|||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
'Public Class MMovimientoAlmacen
|
|
||||||
' Public Property CveMovimiento As Integer
|
|
||||||
' Public Property Folio As Integer
|
|
||||||
|
|
||||||
'End Class
|
|
||||||
|
|||||||
Reference in New Issue
Block a user