-- importeme, en concepto 30
This commit is contained in:
@@ -295,7 +295,7 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
If UsuarioActual.TienePermisoProceso(98) Then
|
If UsuarioActual.TienePermisoProceso(98) Then
|
||||||
PermiteModificarImporte = False
|
PermiteModificarImporte = False
|
||||||
End If
|
End If
|
||||||
Calendario.StartDate = Now.AddMonths(-8)
|
Calendario.StartDate = Now.AddMonths(-18)
|
||||||
'proceso que restringue solo el pago de apartir del dia de hoy y como limite fin de mes
|
'proceso que restringue solo el pago de apartir del dia de hoy y como limite fin de mes
|
||||||
If UsuarioActual.TienePermisoProceso(105) Then
|
If UsuarioActual.TienePermisoProceso(105) Then
|
||||||
Calendario.StartDate = Now
|
Calendario.StartDate = Now
|
||||||
@@ -898,12 +898,13 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
|
|
||||||
Else
|
Else
|
||||||
Dim ImporteME As Decimal = 0
|
Dim ImporteME As Decimal = 0
|
||||||
|
If Pago.CveMonedaPago = 2 Then ImporteME = Pago.ImportePago
|
||||||
If Not UsaComplementariaBancos And Pago.CveMonedaPago = 2 Then
|
If Not UsaComplementariaBancos And Pago.CveMonedaPago = 2 Then
|
||||||
ImporteME = tImporteMN
|
ImporteME = tImporteMN
|
||||||
tImporteMN = (tImporteMN * Pago.TCPago).RoundSQL
|
tImporteMN = (tImporteMN * Pago.TCPago).RoundSQL
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If MsgError = "" AndAlso Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, True, Pago.ImportePago, tImporteMN, 30, Referencia, ConceptoMovimiento, IdCuenta, CveIE:=CveIE, CveProveedor:=CveProveedor, TipoCambio:=Pago.TCPago, CveSubProyecto:=CveSubProyecto, ImporteME:=tImporteMN) Then
|
If MsgError = "" AndAlso Not ObjMov.AddPrePolizasDetalle(CvePrePoliza, True, Pago.ImportePago, tImporteMN, 30, Referencia, ConceptoMovimiento, IdCuenta, CveIE:=CveIE, CveProveedor:=CveProveedor, TipoCambio:=Pago.TCPago, CveSubProyecto:=CveSubProyecto, ImporteME:=ImporteME) Then
|
||||||
MsgError = "No se pudo insertar la póliza"
|
MsgError = "No se pudo insertar la póliza"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -2032,7 +2033,7 @@ Partial Class Bancos_ProveedoresAbonar
|
|||||||
|
|
||||||
Private Sub RVTxtFechaDocumento_Init(sender As Object, e As EventArgs) Handles RVTxtFechaDocumento.Init
|
Private Sub RVTxtFechaDocumento_Init(sender As Object, e As EventArgs) Handles RVTxtFechaDocumento.Init
|
||||||
RVTxtFechaDocumento.MaximumValue = DateTime.Now.ToShortDateString
|
RVTxtFechaDocumento.MaximumValue = DateTime.Now.ToShortDateString
|
||||||
RVTxtFechaDocumentoMenor.MinimumValue = DateTime.Now.AddMonths(-12).ToShortDateString
|
RVTxtFechaDocumentoMenor.MinimumValue = DateTime.Now.AddMonths(-18).ToShortDateString
|
||||||
RVTxtFechaDocumentoMenor.MaximumValue = DateTime.Now.ToShortDateString
|
RVTxtFechaDocumentoMenor.MaximumValue = DateTime.Now.ToShortDateString
|
||||||
Calendario.EndDate = DateTime.Now
|
Calendario.EndDate = DateTime.Now
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user