Guardar Modelo y BCI
This commit is contained in:
@@ -3608,14 +3608,14 @@ Partial Class PV
|
||||
RegistraScript(String.Format("$('#{0}').modal('show');", "DivAddVenta"))
|
||||
End Sub
|
||||
Private Sub CargaBCI()
|
||||
Dim ObjGral As New ClsGenerales
|
||||
'Dim ObjGral As New ClsGenerales
|
||||
|
||||
If ObjGral.BCIUsadoGet(UsuarioActual.CveEmpresa) Then
|
||||
DdlBCIUsado.DataSource = ObjGral.DtResultados
|
||||
End If
|
||||
DdlBCIUsado.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||
DdlBCIUsado.SelectedValueExist(-1)
|
||||
DdlBCIUsado.DataBind()
|
||||
'If ObjGral.BCIUsadoGet(UsuarioActual.CveEmpresa) Then
|
||||
' DdlBCIUsado.DataSource = ObjGral.DtResultados
|
||||
'End If
|
||||
'DdlBCIUsado.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||
'DdlBCIUsado.SelectedValueExist(-1)
|
||||
'DdlBCIUsado.DataBind()
|
||||
End Sub
|
||||
Public Sub Edit_Click(sender As Object, e As EventArgs)
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
@@ -5277,6 +5277,8 @@ Partial Class PV
|
||||
TmpDTRecepcionUsados.Columns.Add("CveUM", GetType(Integer))
|
||||
TmpDTRecepcionUsados.Columns.Add("CveVentaDetalle", GetType(Integer))
|
||||
TmpDTRecepcionUsados.Columns.Add("PU", GetType(Double))
|
||||
TmpDTRecepcionUsados.Columns.Add("CveBCIUsado", GetType(Integer))
|
||||
TmpDTRecepcionUsados.Columns.Add("CveModeloAuto", GetType(Integer))
|
||||
End Sub
|
||||
|
||||
Protected Sub BtnRecepcionUsados_Click(sender As Object, e As EventArgs)
|
||||
@@ -5319,6 +5321,8 @@ Partial Class PV
|
||||
Row("CveUM") = Gvr.DataKey("CveUM").ToEntero
|
||||
Row("CveVentaDetalle") = -1
|
||||
Row("PU") = Gvr.DataKey("Cargo").ToDouble
|
||||
Row("CveBCIUsado") = -1
|
||||
Row("CveModeloAuto") = -1
|
||||
TmpDTRecepcionUsados.Rows.Add(Row)
|
||||
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user