Agregar total en concepto 29
This commit is contained in:
@@ -496,8 +496,8 @@ Partial Class Compras_ReembolsosComprobaciones
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
Dim Importe28 As Decimal = TxtImporte.Text.ToDecimal
|
Dim Importe28 As Decimal = TxtImporte.Text.ToDecimal
|
||||||
If chkajusteoi.checked Then
|
If ChkAjusteOI.Checked Then
|
||||||
Importe28 = txttotal.text.todecimal
|
Importe28 = TxtTotal.Text.ToDecimal
|
||||||
End If
|
End If
|
||||||
'AGREGO PREPOLIZA FyE
|
'AGREGO PREPOLIZA FyE
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePolizaIERegistrado, False, Importe28, TxtObservaciones.Text, 28, TxtObservaciones.Text, TxtFechaDocumento.Text.ToDate, IdCtaPersonal, -1, CvePersonal:=CvePersonal, CveIE:=CveIERegistrado, ImporteME:=If(tipoCambio = 1, 0, TxtImporte.Text.ToDecimal), ImporteMX:=Importe28 * tipoCambio, Contabilizable:=If(CveCajaChica > 0 Or CvePersonal > 0, Not UsaSimplificacionCajaChica, True)) Then
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePolizaIERegistrado, False, Importe28, TxtObservaciones.Text, 28, TxtObservaciones.Text, TxtFechaDocumento.Text.ToDate, IdCtaPersonal, -1, CvePersonal:=CvePersonal, CveIE:=CveIERegistrado, ImporteME:=If(tipoCambio = 1, 0, TxtImporte.Text.ToDecimal), ImporteMX:=Importe28 * tipoCambio, Contabilizable:=If(CveCajaChica > 0 Or CvePersonal > 0, Not UsaSimplificacionCajaChica, True)) Then
|
||||||
@@ -524,7 +524,7 @@ Partial Class Compras_ReembolsosComprobaciones
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
'AGREGO PREPOLIZA FyE
|
'AGREGO PREPOLIZA FyE
|
||||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePolizaIERegistrado, True, TxtImporte.Text.ToDecimal, TxtObservaciones.Text, 29, TxtObservaciones.Text, TxtFechaDocumento.Text.ToDate, IdCtaPersonal, -1, CvePersonal:=CvePersonal, CveIE:=CveIERegistrado, ImporteME:=If(tipoCambio = 1, 0, TxtImporte.Text.ToDecimal), ImporteMX:=TxtImporte.Text.ToDecimal * tipoCambio) Then
|
If Not ObjMov.AddPrePolizasDetalle(CvePrePolizaIERegistrado, True, TxtImporteVinculado.Text.ToDecimal, TxtObservaciones.Text, 29, TxtObservaciones.Text, TxtFechaDocumento.Text.ToDate, IdCtaPersonal, -1, CvePersonal:=CvePersonal, CveIE:=CveIERegistrado, ImporteME:=If(tipoCambio = 1, 0, TxtImporte.Text.ToDecimal), ImporteMX:=TxtImporte.Text.ToDecimal * tipoCambio) Then
|
||||||
MsgError = "Error al registrar detalle de concepto bancario"
|
MsgError = "Error al registrar detalle de concepto bancario"
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -2643,7 +2643,7 @@ Partial Class Inventarios_RecepcionUsados
|
|||||||
Protected Sub CargaTipoDefecto()
|
Protected Sub CargaTipoDefecto()
|
||||||
DdlTipoDefecto.DataSource = GlobalDTAcumTiposDefecto.FiltraParametros($"CveEmpresa = {UsuarioActual.CveEmpresa}")
|
DdlTipoDefecto.DataSource = GlobalDTAcumTiposDefecto.FiltraParametros($"CveEmpresa = {UsuarioActual.CveEmpresa}")
|
||||||
DdlTipoDefecto.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
DdlTipoDefecto.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
DdlTipoDefecto.DataBind
|
DdlTipoDefecto.DataBind()
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub CalculaPorcentajeAjuste()
|
Private Sub CalculaPorcentajeAjuste()
|
||||||
Try
|
Try
|
||||||
|
|||||||
Reference in New Issue
Block a user