Empresas Zona Horaria
This commit is contained in:
@@ -44,10 +44,10 @@ Partial Class Bancos_RepProgramaciones
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa:=UsuarioActual.CveEmpresa).FiltroPrimero("CveTipoCuenta = 7")
|
||||
If drBC IsNot Nothing Then CveCuenta = drBC("CveCuenta").ToString.ToEntero
|
||||
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, Now, Now, 0, 0, 0.16, 0, -1, Gvr.DataKey("Total").ToDouble, 0, 0, -1, Gvr.DataKey("CveProveedor").ToEntero, 1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, NowADS(), NowADS(), 0, 0, 0.16, 0, -1, Gvr.DataKey("Total").ToDouble, 0, 0, -1, Gvr.DataKey("CveProveedor").ToEntero, 1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
|
||||
If CveCredito > 0 Then
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, Now,
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, NowADS(),
|
||||
Gvr.DataKey("Total").ToDouble, 0, 0.0, 0, 0.0, 0.0, 101) Then
|
||||
ErrorCompra = True
|
||||
End If
|
||||
@@ -99,11 +99,11 @@ Partial Class Bancos_RepProgramaciones
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa:=UsuarioActual.CveEmpresa).FiltroPrimero("CveTipoCuenta = 7")
|
||||
If drBC IsNot Nothing Then CveCuenta = drBC("CveCuenta").ToString.ToEntero
|
||||
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, Now, Now, 0, 0, 0.16, 0,
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, NowADS(), NowADS(), 0, 0, 0.16, 0,
|
||||
-1, Gvr.DataKey("Total").ToDouble, 0, 0, -1, Gvr.DataKey("CveProveedor").ToEntero, 1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
|
||||
If CveCredito > 0 Then
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, Now,
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, NowADS(),
|
||||
Gvr.DataKey("Total").ToDouble, 0, 0.0, 0, 0.0, 0.0, 101) Then
|
||||
ErrorCompra = True
|
||||
End If
|
||||
@@ -152,11 +152,11 @@ Partial Class Bancos_RepProgramaciones
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario, CveEmpresa:=UsuarioActual.CveEmpresa).FiltroPrimero("CveTipoCuenta = 7")
|
||||
If drBC IsNot Nothing Then CveCuenta = drBC("CveCuenta").ToString.ToEntero
|
||||
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, Now, Now, 0, 0, 0.16, 0,
|
||||
Dim CveCredito As Integer = ObjCredito.AddCreditos(1, Gvr.DataKey("Folio"), "", CveCuenta, Gvr.DataKey("CveCompra").ToEntero, -1, 1, NowADS(), NowADS(), 0, 0, 0.16, 0,
|
||||
-1, Gvr.DataKey("Total").ToDouble, 0, 0, -1, Gvr.DataKey("CveProveedor").ToEntero, 1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||
|
||||
If CveCredito > 0 Then
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, Now,
|
||||
If Not ObjCredito.AddCreditosDetalle(CveCredito, NowADS(),
|
||||
Gvr.DataKey("Total").ToDouble, 0, 0.0, 0, 0.0, 0.0, 101) Then
|
||||
ErrorCompra = True
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user