GlobalDTOCEstatusUsuarios, GlobalDTBancosCuentas, OC anticpos
This commit is contained in:
@@ -41,7 +41,7 @@ Partial Class Bancos_RepProgramaciones
|
||||
End If
|
||||
'inserto el movimiento en creditos
|
||||
Dim CveCuenta As Integer
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimero("CveTipoCuenta = 7")
|
||||
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)
|
||||
@@ -96,7 +96,7 @@ Partial Class Bancos_RepProgramaciones
|
||||
|
||||
'inserto el movimiento en creditos
|
||||
Dim CveCuenta As Integer
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimero("CveTipoCuenta = 7")
|
||||
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,
|
||||
@@ -149,7 +149,7 @@ Partial Class Bancos_RepProgramaciones
|
||||
End If
|
||||
'inserto el movimiento en creditos
|
||||
Dim CveCuenta As Integer
|
||||
Dim drBC As DataRow = GlobalDTBancosCuentas(UsuarioActual.CveUsuario).FiltroPrimero("CveTipoCuenta = 7")
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user