-- tomar en cuanta el proceso 121, de entrega almacen, que sugiera el primer almacen que tiene el usuario.
This commit is contained in:
@@ -11328,8 +11328,8 @@ Partial Class Compras_Compras
|
||||
End If
|
||||
e.Row.FCCheckBox("cbInv").Enabled = False
|
||||
End If
|
||||
'que no sea recepcion alamcen adelatnado. DdlOCVinculaInv
|
||||
If UsuarioActual.Empresa.Funcionalidad(567) = "1" AndAlso DdlOCVinculaInv.SelectedValue <> "176" Then
|
||||
'que no sea recepcion alamcen adelantado. DdlOCVinculaInv
|
||||
If (UsuarioActual.Empresa.Funcionalidad(567) = "1" OrElse UsuarioActual.TienePermisoProceso(121)) AndAlso DdlOCVinculaInv.SelectedValue <> "176" Then
|
||||
If e.Row.FCDropDownList("ddlEAlmacen").Items.Count > 1 Then
|
||||
e.Row.FCDropDownList("ddlEAlmacen").SelectedIndex = 1
|
||||
e.Row.FCCheckBox("cbInv").Checked = True
|
||||
@@ -11462,12 +11462,10 @@ Partial Class Compras_Compras
|
||||
e.Row.FCDropDownList("ddlAlmacenConsignacionGeneral").DataBind()
|
||||
|
||||
'que no sea recepcion almacen adelantado. DdlOCVinculaInv
|
||||
If UsuarioActual.Empresa.Funcionalidad(567) = "1" AndAlso DdlOCVinculaInv.SelectedValue <> "176" Then
|
||||
If (UsuarioActual.Empresa.Funcionalidad(567) = "1" OrElse UsuarioActual.TienePermisoProceso(121)) AndAlso DdlOCVinculaInv.SelectedValue <> "176" Then
|
||||
If e.Row.FCDropDownList("ddlAlmacen").Items.Count > 1 Then
|
||||
e.Row.FCDropDownList("ddlAlmacen").SelectedIndex = 1
|
||||
e.Row.FCCheckBox("cbAll").Checked = True
|
||||
cbAll_CheckedChanged(e.Row.FCCheckBox("cbAll"), Nothing)
|
||||
ddlAlmacen_SelectedIndexChanged(e.Row.FCDropDownList("ddlAlmacen"), Nothing)
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user