Ventas Tasa 0 , CatProyectos proyectos duplciados, IE improte de Anticipo de OC
This commit is contained in:
@@ -2516,7 +2516,7 @@ Partial Class Bancos_IE
|
||||
|
||||
Dim ObjOC As New ClsOC
|
||||
If ObjOC.GetOCAnticipoSaldo(CveOCSolicitudAnticipo, UsuarioActual.CveEmpresa) Then
|
||||
SaldoOCAnticipo = ObjOC.DtResultados(0)("Saldo").ToString.ToDecimal
|
||||
SaldoOCAnticipo = ObjOC.DtResultados(0)("Saldo").ToString.ToDecimal.Round(2)
|
||||
Else
|
||||
SaldoOCAnticipo = 0
|
||||
End If
|
||||
@@ -5465,7 +5465,7 @@ Partial Class Bancos_IE
|
||||
Dim ObjOC As New ClsOC
|
||||
|
||||
If ObjOC.GetOCAnticipoSaldo(CveOCSolicitudAnticipo, UsuarioActual.CveEmpresa) Then
|
||||
SaldoOCAnticipo = ObjOC.DtResultados(0)("Saldo").ToString.ToDecimal
|
||||
SaldoOCAnticipo = ObjOC.DtResultados(0)("Saldo").ToString.ToDecimal.RoundSQL(2)
|
||||
Else
|
||||
SaldoOCAnticipo = 0
|
||||
End If
|
||||
@@ -5477,7 +5477,7 @@ Partial Class Bancos_IE
|
||||
If DrOC("TipoTermino").ToString.ToEntero.Contiene(0, 3) Then
|
||||
TxtObservaciones.Text = DrOC("Descripcion").ToString
|
||||
|
||||
If DrOC("ImporteAnticipo").ToString.ToDecimal > SaldoOCAnticipo Then
|
||||
If DrOC("ImporteAnticipo").ToString.ToDecimal.RoundSQL(2) > SaldoOCAnticipo Then
|
||||
|
||||
'TxtImporte.Text = SaldoOCAnticipo.ToString().FormatoNumero
|
||||
'TxtImporteLetra.Text = SaldoOCAnticipo.ToString().FormatoNumero.ToDouble.Texto2Letras(DrOC("CveMoneda").ToString.ToEntero)
|
||||
|
||||
Reference in New Issue
Block a user