filtrado de usos segun tabla de mesegarantias
This commit is contained in:
@@ -2916,6 +2916,11 @@ Partial Class Inventarios_RecepcionUsados
|
|||||||
'CvePrecioLista = CvePrecioListaPS
|
'CvePrecioLista = CvePrecioListaPS
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
DdlTipoUso.Items.Clear()
|
||||||
|
DdlTipoUso.DataSource = GlobalDTAcumGarantiasMesesTipoUso(UsuarioActual.CveEmpresa, CveMarca)
|
||||||
|
DdlTipoUso.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
|
DdlTipoUso.DataBind()
|
||||||
|
|
||||||
Dim MarcaPorcentaje As DataRow = DtPorcentajeMarcas.FiltroPrimero(String.Format("CveMarca = {0}", drPS("CveMarca").ToString))
|
Dim MarcaPorcentaje As DataRow = DtPorcentajeMarcas.FiltroPrimero(String.Format("CveMarca = {0}", drPS("CveMarca").ToString))
|
||||||
If MarcaPorcentaje IsNot Nothing Then
|
If MarcaPorcentaje IsNot Nothing Then
|
||||||
Dim PorcentajeProducto As Decimal = MarcaPorcentaje("PorcentajeProducto").ToString.ToDecimal / 100
|
Dim PorcentajeProducto As Decimal = MarcaPorcentaje("PorcentajeProducto").ToString.ToDecimal / 100
|
||||||
|
|||||||
Reference in New Issue
Block a user