Descripción del Modelo de Datos VentaInfoSolicitud

VentaInfoSolicitud

Licenciado bajo la Licencia Apache, Versión 2.0; Usted no puede usar este archivo excepto en conformidad con la Licencia. Usted puede obtener una copia de la Licencia en: http://www.php.net/license/3_01.txt. A menos que sea requerido por la ley aplicable o acordado por escrito, el software Distribuido bajo la licencia se distribuye en una "AS IS" o "COMO ESTA" BASE, SIN GARANTÍAS NI CONDICIONES DE NINGÚN TIPO, expresas o implícitas. Consulte la Licencia para los permisos y Limitaciones bajo la Licencia.

package Modelos\Datos\ventasinformacion
author Kevin Fonseca Isaza
author SICAM 20180612
copyright 2018 Cámara de Comercio de Santa Marta para el Magdalena
license PHP License 3.01
version 201809281015
link modelos/datos/ventasinformacion/VentaInfoSolicitud/
inherited_from \ModeloDatos

 Methods

Devuelve los registros de VentasInfoSolicitudes en estado ACTIVO.

activos() : Array
Static

Returns

Arrayde Objetos VentasInfoSolicitudes

Recibe los todos los datos del registro para ser actualizados, junto con el identificador del registro que se va ha actualizar.

actualizar(integer $ventaInfoSolicitudID, integer $categoriaID, String $ventaInfoSolicitudCODIGO, String $ventaInfoSolicitudTITULO, \Texto $ventaInfoSolicitudDESCRIPCION, \Url $ventaInfoSolicitudURL, String $ventaInfoSolicitudESTADO) : integer
Static

Parameters

$ventaInfoSolicitudID

integer

Identificador del Registro de VentasInfoSolicitudes

$categoriaID

integer

Identificador de la Categoria

$ventaInfoSolicitudCODIGO

String

Código de VentasInfoSolicitudes

$ventaInfoSolicitudTITULO

String

Titulo de VentasInfoSolicitudes

$ventaInfoSolicitudDESCRIPCION

\Texto

Descripción de VentasInfoSolicitudes

$ventaInfoSolicitudURL

\Url

Url del archivo asociado al VentasInfoSolicitudes

$ventaInfoSolicitudESTADO

String

Estado del registro de VentasInfoSolicitudes

Returns

integercantidad de registros actualziados en la operacion

Recibe un identificador y el Estado y actualiza el estado del registro

cambiarEstado(integer $ventaInfoSolicitudID, String $ventaInfoSolicitudESTADO) : integer
Static

Parameters

$ventaInfoSolicitudID

integer

Identificador del registro

$ventaInfoSolicitudESTADO

String

Nuevo estado del registro.

Returns

integerCantidad de registros desactivados

Recibe el Identificador del registro de VentaInfoSolicitud y devuelve un objeto con sus datos.

datos(integer $ventaInfoSolicitudID) : \Objeto
Static

Parameters

$ventaInfoSolicitudID

integer

Returns

\ObjetoVentaInfoSolicitud

Recibe el Identificador del registro de VentaInfoSolicitud y devuelve un objeto con sus datos completos con todas sus relacion.

datosCompletos(integer $ventaInfoSolicitudID) : \Objeto
Static

Parameters

$ventaInfoSolicitudID

integer

Returns

\ObjetoVentaInfoSolicitud

datosTabla()

datosTabla($ventaInfoSolicitudID) 
Static

Parameters

$ventaInfoSolicitudID

datosTabla2()

datosTabla2($ventaInfoSolicitudID = null
Static

Parameters

$ventaInfoSolicitudID

Recibe un identificador de VentasInfoSolicitudes y desactiva el registro.

desactivar(integer $ventaInfoSolicitudID) : integer
Static

Parameters

$ventaInfoSolicitudID

integer

Identificador del registro

Returns

integerCantidad de registros desactivados

Recibe un identificador de VentasInfoSolicitudes y elimina el registro.

eliminar(integer $ventaInfoSolicitudID) : integer
Static

Parameters

$ventaInfoSolicitudID

integer

Identificador del registro ha eliminar.

Returns

integerCantidad de registros eliminados

Recibe Todos los datos de necesarios para la creación de un nuevo registro de VentasInfoSolicitudes.

guardar(integer $PersonaID, $ventaInfoTipoClienteID, integer $ventasInfoSolicitudOTRAPERSONA, $ventaInfoSolicitudMATRICULA, $ventaInfoSolicitudCOMENTARIO, String $ventaInfoSolicitudESTADO, $ventaInfoSolicitudUSRCREO, $ventaInfoSolicitudFCHCREADO, $ventaInfoSolicitudUSREDITO, $ventaInfoSolicitudFCHEDITADO, $ventaInfoSolicitudCONSECUTIVO) : integer
Static

Parameters

$PersonaID

integer

Identificador de la persona

$ventaInfoTipoClienteID

$ventasInfoSolicitudOTRAPERSONA

integer

identificador de persona

$ventaInfoSolicitudMATRICULA

$ventaInfoSolicitudCOMENTARIO

$ventaInfoSolicitudESTADO

String

Estado del registro de VentasInfoSolicitudes

$ventaInfoSolicitudUSRCREO

$ventaInfoSolicitudFCHCREADO

$ventaInfoSolicitudUSREDITO

$ventaInfoSolicitudFCHEDITADO

$ventaInfoSolicitudCONSECUTIVO

Returns

integercon el Identificador del Registro VentasInfoSolicitudes

guardarTelemercadeo()

guardarTelemercadeo($PersonaID, $ventaInfoTipoClienteID, $ventasInfoSolicitudOTRAPERSONA, $ventaInfoSolicitudMATRICULA, $ventaInfoSolicitudCOMENTARIO, $ventaInfoSolicitudESTADO, $ventaInfoSolicitudUSRCREO, $ventaInfoSolicitudFCHCREADO, $ventaInfoSolicitudUSREDITO, $ventaInfoSolicitudFCHEDITADO, $ventaInfoSolicitudCONSECUTIVO, $colaboradorID) 
Static

Parameters

$PersonaID

$ventaInfoTipoClienteID

$ventasInfoSolicitudOTRAPERSONA

$ventaInfoSolicitudMATRICULA

$ventaInfoSolicitudCOMENTARIO

$ventaInfoSolicitudESTADO

$ventaInfoSolicitudUSRCREO

$ventaInfoSolicitudFCHCREADO

$ventaInfoSolicitudUSREDITO

$ventaInfoSolicitudFCHEDITADO

$ventaInfoSolicitudCONSECUTIVO

$colaboradorID

Recibe un identificador de VentasInfoSolicitudes y reactiva el registro.

reactivar(integer $ventaInfoSolicitudID) : integer
Static

Parameters

$ventaInfoSolicitudID

integer

Identificador del registro

Returns

integerCantidad de registros reactivados

Devuelve todos los registros de VentasInfoSolicitudes, según el estado.

todos() : Array
Static

Si no se envia el estado devuelve todos los registros sin importar su estado.

Returns

Arrayde Objetos VentasInfoSolicitudes

 Constants

 

ACTIVO

ACTIVO = 'ACTIVO' 
 

DESACTIVO

DESACTIVO = 'DESACTIVO' 
 

SUSPENDIDO

SUSPENDIDO = 'SUSPENDIDO'