- ajuste cuando tiene otros ingrsos sobre personal
This commit is contained in:
@@ -495,8 +495,12 @@ Partial Class Compras_ReembolsosComprobaciones
|
||||
MsgError = "Error al registrar detalle de concepto bancario"
|
||||
End If
|
||||
Else
|
||||
Dim Importe28 As Decimal = TxtImporte.Text.ToDecimal
|
||||
If chkajusteoi.checked Then
|
||||
Importe28 = txttotal.text.todecimal
|
||||
End If
|
||||
'AGREGO PREPOLIZA FyE
|
||||
If Not ObjMov.AddPrePolizasDetalle(CvePrePolizaIERegistrado, False, TxtImporte.Text.ToDecimal, TxtObservaciones.Text, 28, TxtObservaciones.Text, TxtFechaDocumento.Text.ToDate, IdCtaPersonal, -1, CvePersonal:=CvePersonal, CveIE:=CveIERegistrado, ImporteME:=If(tipoCambio = 1, 0, TxtImporte.Text.ToDecimal), ImporteMX:=TxtImporte.Text.ToDecimal * 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
|
||||
MsgError = "Error al registrar detalle de concepto bancario"
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user