Пример #1
0
 public bool RegistrarTercerosempresatercero(Terceros per)
 {
     return(data.OperarDatos("SELECT * from public.pr_insertarterceroempresacliente('" + per.estrato + "','" + per.estado + "','" + per.tiporesidencia_idtiporesidencia + "','" + per.tipofactura_idtipofactura + "','" + per.identificacion + "','" + per.nombre + "','" + per.correo + "','" + per.direccion + "','" + per.barrios_idbarrios + "','" + per.fechanatcimiento + "','" + per.tipodoc_idtipodoc + "');"));
 }
Пример #2
0
 public DataTable ConsultarPersonaIdentifall(Terceros ter)
 {
     return(data.ConsultarDatos("SELECT * from pr_consultarterceroidall('" + ter.identificacion + "');"));
 }
Пример #3
0
 public DataTable ConsultarRecuperacion(Terceros ter)
 {
     return(data.ConsultarDatos("select * from pr_consultarrecuperacion('" + ter.identificacion + "', '" + ter.correo + "');"));
 }
Пример #4
0
 public DataTable ConsultarTerceroCargos(Terceros terc)
 {
     return(data.ConsultarDatos("select * from pr_consultarcargotercero('" + terc.identificacion + "')"));
 }
Пример #5
0
 public bool RegitrarTerceroegreso(Terceros per)
 {
     return(data.OperarDatos("SELECT * from public.pr_insertarterceroegreso('" + per.tipotercero_idtipotercero + "','" + per.tipodoc_idtipodoc + "','" + per.identificacion + "','" + per.nombre + "','" + per.correo + "','" + per.telefono + "');"));
 }
Пример #6
0
 public DataTable ConsultarTercerosId(Terceros terc)
 {
     return(data.ConsultarDatos("SELECT * from public.pr_consultarterceroidapk(" + terc.idterceros + ");"));
 }
Пример #7
0
 public DataTable ConsultarTerceroAvanzado(Terceros ter)
 {
     return(data.ConsultarDatos("select * from pr_consultarterceroavanzado('" + identificacion.ToUpper() + "')"));
 }
Пример #8
0
 public DataTable ConsultarTerceroDos(Terceros ter)
 {
     return(data.ConsultarDatos("select * from pr_consultartercerodos('" + identificacion + "')"));
 }
Пример #9
0
 public bool RegistrarTerceroGeneral(Terceros ter)
 {
     return(data.OperarDatos("select * from pr_insertartercero(" + ter.estrato + ", '" + ter.estado + "'," + ter.tiporesidencia_idtiporesidencia + "," + ter.tipofactura_idtipofactura + ",'" + ter.identificacion + "','" + ter.nombre + "'," + ter.apellido + ",'" + ter.correo + "','" + ter.direccion + "'," + ter.barrios_idbarrios + "," + ter.fechanatcimiento + "," + ter.tipodoc_idtipodoc + "," + ter.rh + ")"));
 }
Пример #10
0
 public bool RegitrarTerceros2(Terceros per)
 {
     return(data.OperarDatos("SELECT * from public.pr_insertartercero('" + per.identificacion + "','" + per.estrato + "','" + per.estado + "','" + per.tipotercero_idtipotercero + "','" + per.tiporesidencia_idtiporesidencia + "','" + per.tipofactura_idtipofactura + "');"));
 }
Пример #11
0
 public bool RegistrarTipoDoc(Terceros per)
 {
     return(data.OperarDatos(""));
 }