object srvFacturasCliente: TsrvFacturasCliente OldCreateOrder = True OnCreate = DARemoteServiceCreate RequiresSession = True SessionManager = dmServer.SessionManager AcquireConnection = True ConnectionName = 'IBX' ServiceSchema = schFacturasCliente ServiceAdapter = DABINAdapter OnBeforeAcquireConnection = DARemoteServiceBeforeAcquireConnection OnBeforeGetDatasetData = DARemoteServiceBeforeGetDatasetData Height = 180 Width = 386 object schFacturasCliente: TDASchema ConnectionManager = dmServer.ConnectionManager DataDictionary = DataDictionary Diagrams = Diagrams Datasets = < item Params = < item Name = 'CODIGO' DataType = datString Size = 50 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'EMPRESA' BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'REFERENCIAS' SQL = 'SELECT VALOR'#10'FROM REFERENCIAS'#10'WHERE CODIGO = :CODIGO'#10'AND ID_EMPR' + 'ESA = :EMPRESA' StatementType = stSQL ColumnMappings = < item DatasetField = 'VALOR' TableField = 'VALOR' end> end> Name = 'DarReferencia' Fields = < item Name = 'VALOR' DataType = datString Size = 255 BlobType = dabtUnknown DisplayWidth = 0 Alignment = taLeftJustify InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end> BusinessRulesClient.ScriptLanguage = rslPascalScript BusinessRulesServer.ScriptLanguage = rslPascalScript end item Params = <> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE' SQL = 'SELECT '#10' CASE WHEN (IMPORTE_TOTAL < 0) then -1 else 1 end as ' + 'ICONO,'#10' ID, ID_EMPRESA, ID_CONTRATO, REFERENCIA, FECHA_FACTUR' + 'A, VENCIMIENTO,'#10' SITUACION, BASE_IMPONIBLE, DESCUENTO, IMPORT' + 'E_DESCUENTO, IVA, IMPORTE_IVA,'#10' IMPORTE_TOTAL, OBSERVACIONES,' + ' FORMA_PAGO, ID_CLIENTE, NIF_CIF, NOMBRE,'#10' CALLE, POBLACION, ' + 'PROVINCIA, CODIGO_POSTAL, FECHA_ALTA, FECHA_MODIFICACION,'#10' US' + 'UARIO, FECHA_PAGADO, FECHA_FACTURA + VENCIMIENTO AS FECHA_VENCIM' + 'IENTO'#10#10'FROM FACTURAS_CLIENTE' StatementType = stSQL ColumnMappings = < item DatasetField = 'USUARIO' TableField = 'USUARIO' end item DatasetField = 'DESCUENTO' TableField = 'DESCUENTO' end item DatasetField = 'IVA' TableField = 'IVA' end item DatasetField = 'OBSERVACIONES' TableField = 'OBSERVACIONES' end item DatasetField = 'NOMBRE' TableField = 'NOMBRE' end item DatasetField = 'CALLE' TableField = 'CALLE' end item DatasetField = 'PROVINCIA' TableField = 'PROVINCIA' end item DatasetField = 'POBLACION' TableField = 'POBLACION' end item DatasetField = 'REFERENCIA' TableField = 'REFERENCIA' end item DatasetField = 'ID' TableField = 'ID' end item DatasetField = 'ID_EMPRESA' TableField = 'ID_EMPRESA' end item DatasetField = 'ID_CONTRATO' TableField = 'ID_CONTRATO' end item DatasetField = 'FECHA_FACTURA' TableField = 'FECHA_FACTURA' end item DatasetField = 'VENCIMIENTO' TableField = 'VENCIMIENTO' end item DatasetField = 'SITUACION' TableField = 'SITUACION' end item DatasetField = 'BASE_IMPONIBLE' TableField = 'BASE_IMPONIBLE' end item DatasetField = 'IMPORTE_DESCUENTO' TableField = 'IMPORTE_DESCUENTO' end item DatasetField = 'IMPORTE_IVA' TableField = 'IMPORTE_IVA' end item DatasetField = 'IMPORTE_TOTAL' TableField = 'IMPORTE_TOTAL' end item DatasetField = 'FORMA_PAGO' TableField = 'FORMA_PAGO' end item DatasetField = 'ID_CLIENTE' TableField = 'ID_CLIENTE' end item DatasetField = 'NIF_CIF' TableField = 'NIF_CIF' end item DatasetField = 'CODIGO_POSTAL' TableField = 'CODIGO_POSTAL' end item DatasetField = 'FECHA_ALTA' TableField = 'FECHA_ALTA' end item DatasetField = 'FECHA_MODIFICACION' TableField = 'FECHA_MODIFICACION' end item DatasetField = 'FECHA_PAGADO' TableField = 'FECHA_PAGADO' end item DatasetField = 'ICONO' TableField = 'ICONO' end> end> Name = 'FacturasCliente' Fields = < item Name = 'ICONO' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 Alignment = taLeftJustify InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID' DataType = datAutoInc BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID' InPrimaryKey = True Calculated = False Lookup = False LookupCache = False end item Name = 'ID_EMPRESA' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_EMPRESA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID_CONTRATO' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_CONTRATO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'REFERENCIA' DataType = datString Size = 20 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_REFERENCIA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_FACTURA' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_FACTURA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'VENCIMIENTO' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_VENCIMIENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'SITUACION' DataType = datString Size = 255 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_SITUACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'BASE_IMPONIBLE' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_BASE_IMPONIBLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'DESCUENTO' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_DESCUENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_DESCUENTO' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_DESCUENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IVA' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IVA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_IVA' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_IVA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_TOTAL' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'OBSERVACIONES' DataType = datMemo BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_OBSERVACIONES' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FORMA_PAGO' DataType = datMemo BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FORMA_PAGO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID_CLIENTE' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_CLIENTE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'NIF_CIF' DataType = datString Size = 15 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_NIF_CIF' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'NOMBRE' DataType = datString Size = 100 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_NOMBRE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CALLE' DataType = datString Size = 150 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_CALLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'POBLACION' DataType = datString Size = 150 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_POBLACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'PROVINCIA' DataType = datString Size = 30 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_PROVINCIA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CODIGO_POSTAL' DataType = datString Size = 10 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_CODIGO_POSTAL' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_ALTA' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_ALTA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_MODIFICACION' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_MODIFICACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'USUARIO' DataType = datString Size = 100 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_USUARIO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_PAGADO' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_PAGADO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_VENCIMIENTO' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_VENCIMIENTO' InPrimaryKey = False Calculated = True Lookup = False LookupCache = False end> BusinessRulesClient.ScriptLanguage = rslPascalScript BusinessRulesServer.ScriptLanguage = rslPascalScript end item Params = < item Name = 'ID_FACTURA' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE_DETALLES' SQL = 'SELECT'#10' ID, ID_FACTURA, POSICION, TIPO_DETALLE, CONCEPTO, CAN' + 'TIDAD,'#10' IMPORTE_UNIDAD, IMPORTE_TOTAL, VISIBLE'#10'FROM FACTURAS_' + 'CLIENTE_DETALLES'#10'WHERE ID_FACTURA = :ID_FACTURA'#10'ORDER BY POSICIO' + 'N;' StatementType = stSQL ColumnMappings = < item DatasetField = 'CANTIDAD' TableField = 'CANTIDAD' end item DatasetField = 'POSICION' TableField = 'POSICION' end item DatasetField = 'ID' TableField = 'ID' end item DatasetField = 'ID_FACTURA' TableField = 'ID_FACTURA' end item DatasetField = 'TIPO_DETALLE' TableField = 'TIPO_DETALLE' end item DatasetField = 'CONCEPTO' TableField = 'CONCEPTO' end item DatasetField = 'IMPORTE_UNIDAD' TableField = 'IMPORTE_UNIDAD' end item DatasetField = 'IMPORTE_TOTAL' TableField = 'IMPORTE_TOTAL' end item DatasetField = 'VISIBLE' TableField = 'VISIBLE' end> end> Name = 'FacturasCliente_Detalles' Fields = < item Name = 'ID' DataType = datAutoInc BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_ID' InPrimaryKey = True Calculated = False Lookup = False LookupCache = False end item Name = 'ID_FACTURA' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_ID_FACTURA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'POSICION' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_POSICION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'TIPO_DETALLE' DataType = datString Size = 10 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_TIPO_DETALLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CONCEPTO' DataType = datString Size = 2000 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_CONCEPTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CANTIDAD' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_CANTIDAD' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_UNIDAD' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_IMPORTE_UNIDAD' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_IMPORTE_TOTAL' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'VISIBLE' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_Detalles_VISIBLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end> BusinessRulesClient.ScriptLanguage = rslPascalScript BusinessRulesServer.ScriptLanguage = rslPascalScript end item Params = < item Name = 'ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE' SQL = 'SELECT '#10' CASE WHEN (IMPORTE_TOTAL < 0) then -1 else 1 end as ' + 'ICONO,'#10' ID, ID_EMPRESA, ID_CONTRATO, REFERENCIA, FECHA_FACTUR' + 'A, VENCIMIENTO,'#10' SITUACION, BASE_IMPONIBLE, DESCUENTO, IMPORT' + 'E_DESCUENTO, IVA, IMPORTE_IVA,'#10' IMPORTE_TOTAL, OBSERVACIONES,' + ' FORMA_PAGO, ID_CLIENTE, NIF_CIF, NOMBRE,'#10' CALLE, POBLACION, ' + 'PROVINCIA, CODIGO_POSTAL, FECHA_ALTA, FECHA_MODIFICACION,'#10' US' + 'UARIO, FECHA_PAGADO, FECHA_FACTURA + VENCIMIENTO AS FECHA_VENCIM' + 'IENTO'#10'FROM FACTURAS_CLIENTE'#10'WHERE ID = :ID' StatementType = stSQL ColumnMappings = < item DatasetField = 'USUARIO' TableField = 'USUARIO' end item DatasetField = 'DESCUENTO' TableField = 'DESCUENTO' end item DatasetField = 'IVA' TableField = 'IVA' end item DatasetField = 'OBSERVACIONES' TableField = 'OBSERVACIONES' end item DatasetField = 'NOMBRE' TableField = 'NOMBRE' end item DatasetField = 'CALLE' TableField = 'CALLE' end item DatasetField = 'PROVINCIA' TableField = 'PROVINCIA' end item DatasetField = 'POBLACION' TableField = 'POBLACION' end item DatasetField = 'REFERENCIA' TableField = 'REFERENCIA' end item DatasetField = 'ID' TableField = 'ID' end item DatasetField = 'ID_EMPRESA' TableField = 'ID_EMPRESA' end item DatasetField = 'ID_CONTRATO' TableField = 'ID_CONTRATO' end item DatasetField = 'FECHA_FACTURA' TableField = 'FECHA_FACTURA' end item DatasetField = 'VENCIMIENTO' TableField = 'VENCIMIENTO' end item DatasetField = 'SITUACION' TableField = 'SITUACION' end item DatasetField = 'BASE_IMPONIBLE' TableField = 'BASE_IMPONIBLE' end item DatasetField = 'IMPORTE_DESCUENTO' TableField = 'IMPORTE_DESCUENTO' end item DatasetField = 'IMPORTE_IVA' TableField = 'IMPORTE_IVA' end item DatasetField = 'IMPORTE_TOTAL' TableField = 'IMPORTE_TOTAL' end item DatasetField = 'FORMA_PAGO' TableField = 'FORMA_PAGO' end item DatasetField = 'ID_CLIENTE' TableField = 'ID_CLIENTE' end item DatasetField = 'NIF_CIF' TableField = 'NIF_CIF' end item DatasetField = 'CODIGO_POSTAL' TableField = 'CODIGO_POSTAL' end item DatasetField = 'FECHA_ALTA' TableField = 'FECHA_ALTA' end item DatasetField = 'FECHA_MODIFICACION' TableField = 'FECHA_MODIFICACION' end item DatasetField = 'FECHA_PAGADO' TableField = 'FECHA_PAGADO' end item DatasetField = 'ICONO' TableField = 'ICONO' end> end> Name = 'FacturasCliente_Refresh' Fields = < item Name = 'ICONO' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 Alignment = taLeftJustify InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID' DataType = datAutoInc BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID' InPrimaryKey = True Calculated = False Lookup = False LookupCache = False end item Name = 'ID_EMPRESA' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_EMPRESA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID_CONTRATO' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_CONTRATO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'USUARIO' DataType = datString Size = 100 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_USUARIO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_FACTURA' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_FACTURA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'VENCIMIENTO' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_VENCIMIENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'SITUACION' DataType = datString Size = 255 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_SITUACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'BASE_IMPONIBLE' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_BASE_IMPONIBLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'REFERENCIA' DataType = datString Size = 20 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_REFERENCIA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_DESCUENTO' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_DESCUENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IVA' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IVA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'DESCUENTO' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_DESCUENTO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_IVA' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_IVA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_IMPORTE_TOTAL' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FORMA_PAGO' DataType = datMemo BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FORMA_PAGO' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'ID_CLIENTE' DataType = datInteger BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_ID_CLIENTE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'NIF_CIF' DataType = datString Size = 15 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_NIF_CIF' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'OBSERVACIONES' DataType = datMemo BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_OBSERVACIONES' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'NOMBRE' DataType = datString Size = 100 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_NOMBRE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CALLE' DataType = datString Size = 150 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_CALLE' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'PROVINCIA' DataType = datString Size = 30 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_PROVINCIA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'CODIGO_POSTAL' DataType = datString Size = 10 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_CODIGO_POSTAL' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_ALTA' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_ALTA' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_MODIFICACION' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_MODIFICACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'POBLACION' DataType = datString Size = 150 BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_POBLACION' InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_PAGADO' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 Alignment = taLeftJustify InPrimaryKey = False Calculated = False Lookup = False LookupCache = False end item Name = 'FECHA_VENCIMIENTO' DataType = datDateTime BlobType = dabtUnknown DictionaryEntry = 'FacturasCliente_FECHA_VENCIMIENTO' InPrimaryKey = False Calculated = True Lookup = False LookupCache = False end> BusinessRulesClient.ScriptLanguage = rslPascalScript BusinessRulesServer.ScriptLanguage = rslPascalScript end> Commands = < item Params = < item Name = 'VALOR' BlobType = dabtUnknown Value = '' ParamType = daptUnknown end item Name = 'CODIGO' BlobType = dabtUnknown Value = '' ParamType = daptUnknown end item Name = 'EMPRESA' BlobType = dabtUnknown Value = '' ParamType = daptUnknown end> Statements = < item Connection = 'IBX' SQL = 'UPDATE REFERENCIAS'#10'SET VALOR = :VALOR'#10'WHERE CODIGO = :CODIGO'#10'AND' + ' ID_EMPRESA = :EMPRESA' StatementType = stSQL ColumnMappings = <> end> Name = 'ModificarReferencia' end item Params = < item Name = 'ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'USUARIO' DataType = datString Size = 20 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'DESCUENTO' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IVA' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'OBSERVACIONES' DataType = datMemo BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'NOMBRE' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CALLE' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'PROVINCIA' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'POBLACION' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'REFERENCIA' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_EMPRESA' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_CONTRATO' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_FACTURA' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'VENCIMIENTO' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'SITUACION' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'BASE_IMPONIBLE' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_DESCUENTO' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_IVA' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FORMA_PAGO' DataType = datMemo BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_CLIENTE' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'NIF_CIF' DataType = datString Size = 15 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CODIGO_POSTAL' DataType = datString Size = 10 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_ALTA' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_MODIFICACION' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE' SQL = 'INSERT'#10' INTO FACTURAS_CLIENTE'#10' (ID, USUARIO, DESCUENTO, IVA,' + ' OBSERVACIONES, NOMBRE, CALLE,'#10' PROVINCIA, POBLACION, REFERE' + 'NCIA, ID_EMPRESA, ID_CONTRATO, '#10' FECHA_FACTURA, VENCIMIENTO,' + ' SITUACION, BASE_IMPONIBLE, '#10' IMPORTE_DESCUENTO, IMPORTE_IVA' + ', IMPORTE_TOTAL, FORMA_PAGO, '#10' ID_CLIENTE, NIF_CIF, CODIGO_P' + 'OSTAL, FECHA_ALTA, FECHA_MODIFICACION)'#10' VALUES'#10' (:ID, :USUAR' + 'IO, :DESCUENTO, :IVA, :OBSERVACIONES, :NOMBRE,'#10' :CALLE, :PRO' + 'VINCIA, :POBLACION, :REFERENCIA, :ID_EMPRESA, '#10' :ID_CONTRATO' + ', :FECHA_FACTURA, :VENCIMIENTO, :SITUACION, '#10' :BASE_IMPONIBL' + 'E, :IMPORTE_DESCUENTO, :IMPORTE_IVA, '#10' :IMPORTE_TOTAL, :FORM' + 'A_PAGO, :ID_CLIENTE, :NIF_CIF, '#10' :CODIGO_POSTAL, :FECHA_ALTA' + ', :FECHA_MODIFICACION)' StatementType = stSQL ColumnMappings = <> end> Name = 'Insert_FacturasCliente' end item Params = < item Name = 'OLD_ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE' SQL = 'DELETE '#10' FROM'#10' FACTURAS_CLIENTE'#10' WHERE'#10' (ID = :OLD_ID)' StatementType = stSQL ColumnMappings = <> end> Name = 'Delete_FacturasCliente' end item Params = < item Name = 'USUARIO' DataType = datString Size = 20 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'DESCUENTO' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IVA' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'OBSERVACIONES' DataType = datMemo BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'NOMBRE' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CALLE' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'PROVINCIA' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'POBLACION' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'REFERENCIA' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_EMPRESA' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_CONTRATO' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_FACTURA' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'VENCIMIENTO' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'SITUACION' DataType = datString Size = 255 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'BASE_IMPONIBLE' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_DESCUENTO' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_IVA' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FORMA_PAGO' DataType = datMemo BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_CLIENTE' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'NIF_CIF' DataType = datString Size = 15 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CODIGO_POSTAL' DataType = datString Size = 10 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_ALTA' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'FECHA_MODIFICACION' DataType = datDateTime BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'OLD_ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE' SQL = 'UPDATE FACTURAS_CLIENTE'#10' SET '#10' USUARIO = :USUARIO, '#10' DESC' + 'UENTO = :DESCUENTO, '#10' IVA = :IVA, '#10' OBSERVACIONES = :OBSER' + 'VACIONES, '#10' NOMBRE = :NOMBRE, '#10' CALLE = :CALLE, '#10' PROVI' + 'NCIA = :PROVINCIA, '#10' POBLACION = :POBLACION, '#10' REFERENCIA ' + '= :REFERENCIA, '#10' ID_EMPRESA = :ID_EMPRESA, '#10' ID_CONTRATO =' + ' :ID_CONTRATO, '#10' FECHA_FACTURA = :FECHA_FACTURA, '#10' VENCIMI' + 'ENTO = :VENCIMIENTO, '#10' SITUACION = :SITUACION, '#10' BASE_IMPO' + 'NIBLE = :BASE_IMPONIBLE, '#10' IMPORTE_DESCUENTO = :IMPORTE_DESCU' + 'ENTO, '#10' IMPORTE_IVA = :IMPORTE_IVA, '#10' IMPORTE_TOTAL = :IMP' + 'ORTE_TOTAL, '#10' FORMA_PAGO = :FORMA_PAGO, '#10' ID_CLIENTE = :ID' + '_CLIENTE, '#10' NIF_CIF = :NIF_CIF, '#10' CODIGO_POSTAL = :CODIGO_' + 'POSTAL, '#10' FECHA_ALTA = :FECHA_ALTA, '#10' FECHA_MODIFICACION =' + ' :FECHA_MODIFICACION'#10' WHERE'#10' (ID = :OLD_ID)' StatementType = stSQL ColumnMappings = <> end> Name = 'Update_FacturasCliente' end item Params = < item Name = 'ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CANTIDAD' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'POSICION' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_FACTURA' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'TIPO_DETALLE' DataType = datString Size = 10 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CONCEPTO' DataType = datString Size = 2000 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_UNIDAD' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'VISIBLE' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE_DETALLES' SQL = 'INSERT'#10' INTO FACTURAS_CLIENTE_DETALLES'#10' (ID, CANTIDAD, POSIC' + 'ION, ID_FACTURA, TIPO_DETALLE, CONCEPTO,'#10' IMPORTE_UNIDAD, IM' + 'PORTE_TOTAL, VISIBLE)'#10' VALUES'#10' (:ID, :CANTIDAD, :POSICION, :' + 'ID_FACTURA, :TIPO_DETALLE, :CONCEPTO,'#10' :IMPORTE_UNIDAD, :IMP' + 'ORTE_TOTAL, :VISIBLE)' StatementType = stSQL ColumnMappings = <> end> Name = 'Insert_FacturasCliente_Detalles' end item Params = < item Name = 'OLD_ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE_DETALLES' SQL = 'DELETE '#10' FROM'#10' FACTURAS_CLIENTE_DETALLES'#10' WHERE'#10' (ID = :' + 'OLD_ID)' StatementType = stSQL ColumnMappings = <> end> Name = 'Delete_FacturasCliente_Detalles' end item Params = < item Name = 'CANTIDAD' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'POSICION' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'ID_FACTURA' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'TIPO_DETALLE' DataType = datString Size = 10 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'CONCEPTO' DataType = datString Size = 2000 BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_UNIDAD' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'VISIBLE' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end item Name = 'OLD_ID' DataType = datInteger BlobType = dabtUnknown Value = '' ParamType = daptInput end> Statements = < item Connection = 'IBX' TargetTable = 'FACTURAS_CLIENTE_DETALLES' SQL = 'UPDATE FACTURAS_CLIENTE_DETALLES'#10' SET '#10' CANTIDAD = :CANTIDAD' + ', '#10' POSICION = :POSICION, '#10' ID_FACTURA = :ID_FACTURA, '#10' ' + ' TIPO_DETALLE = :TIPO_DETALLE, '#10' CONCEPTO = :CONCEPTO, '#10' I' + 'MPORTE_UNIDAD = :IMPORTE_UNIDAD, '#10' IMPORTE_TOTAL = :IMPORTE_T' + 'OTAL, '#10' VISIBLE = :VISIBLE'#10' WHERE'#10' (ID = :OLD_ID)' StatementType = stSQL ColumnMappings = <> end> Name = 'Update_FacturasCliente_Detalles' end> RelationShips = <> UpdateRules = < item Name = 'Insert FacturasCliente' DoUpdate = False DoInsert = True DoDelete = False DatasetName = 'FacturasCliente' FailureBehaviour = fbRaiseException end item Name = 'Insert DetallesFacturasCliente' DoUpdate = False DoInsert = True DoDelete = False DatasetName = 'DetallesFacturasCliente' FailureBehaviour = fbRaiseException end item Name = 'Update FacturasCliente' DoUpdate = True DoInsert = False DoDelete = False DatasetName = 'FacturasCliente' FailureBehaviour = fbRaiseException end item Name = 'Update DetallesFacturasCliente' DoUpdate = True DoInsert = False DoDelete = False DatasetName = 'DetallesFacturasCliente' FailureBehaviour = fbRaiseException end item Name = 'Delete DetallesFacturasCliente' DoUpdate = False DoInsert = False DoDelete = True DatasetName = 'DetallesFacturasCliente' FailureBehaviour = fbRaiseException end item Name = 'Delete FacturasCliente' DoUpdate = False DoInsert = False DoDelete = True DatasetName = 'FacturasCliente' FailureBehaviour = fbRaiseException end> Left = 48 Top = 24 end object DABINAdapter: TDABINAdapter Left = 48 Top = 72 end object Diagrams: TDADiagrams Left = 150 Top = 74 DiagramData = ''#13#10''#13#10 end object DataDictionary: TDADataDictionary Fields = < item Name = 'FacturasCliente_ID' DataType = datAutoInc BlobType = dabtUnknown Required = True DisplayWidth = 0 DisplayLabel = 'ID' Alignment = taLeftJustify end item Name = 'FacturasCliente_ID_EMPRESA' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'ID_EMPRESA' Alignment = taLeftJustify end item Name = 'FacturasCliente_ID_CONTRATO' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'ID_CONTRATO' Alignment = taLeftJustify end item Name = 'FacturasCliente_FECHA_FACTURA' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Fecha de las factura' Alignment = taLeftJustify end item Name = 'FacturasCliente_VENCIMIENTO' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Vencimiento' Alignment = taLeftJustify end item Name = 'FacturasCliente_SITUACION' DataType = datString Size = 255 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Situaci'#243'n' Alignment = taLeftJustify end item Name = 'FacturasCliente_BASE_IMPONIBLE' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Base imponible' Alignment = taRightJustify end item Name = 'FacturasCliente_IMPORTE_DESCUENTO' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Importe dto.' Alignment = taRightJustify end item Name = 'FacturasCliente_IMPORTE_IVA' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Importe IVA' Alignment = taRightJustify end item Name = 'FacturasCliente_IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Importe total' Alignment = taRightJustify end item Name = 'FacturasCliente_FORMA_PAGO' DataType = datMemo BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Forma de pago' Alignment = taLeftJustify end item Name = 'FacturasCliente_ID_CLIENTE' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'ID_CLIENTE' Alignment = taLeftJustify end item Name = 'FacturasCliente_NIF_CIF' DataType = datString Size = 15 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'NIF/CIF' Alignment = taLeftJustify end item Name = 'FacturasCliente_CODIGO_POSTAL' DataType = datString Size = 10 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'C'#243'd. postal' Alignment = taLeftJustify end item Name = 'FacturasCliente_FECHA_ALTA' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'FECHA_ALTA' Alignment = taLeftJustify end item Name = 'FacturasCliente_FECHA_MODIFICACION' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'FECHA_MODIFICACION' Alignment = taLeftJustify end item Name = 'FacturasCliente_OBSERVACIONES' DataType = datMemo BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Observaciones' Alignment = taLeftJustify end item Name = 'FacturasCliente_NOMBRE' DataType = datString Size = 100 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Cliente' Alignment = taLeftJustify end item Name = 'FacturasCliente_CALLE' DataType = datString Size = 150 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Direcci'#243'n' Alignment = taLeftJustify end item Name = 'FacturasCliente_PROVINCIA' DataType = datString Size = 30 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Provincia' Alignment = taLeftJustify end item Name = 'FacturasCliente_POBLACION' DataType = datString Size = 150 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Poblaci'#243'n' Alignment = taLeftJustify end item Name = 'FacturasCliente_IVA' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'IVA' Alignment = taLeftJustify end item Name = 'FacturasCliente_USUARIO' DataType = datString Size = 100 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'USUARIO' Alignment = taLeftJustify end item Name = 'FacturasCliente_REFERENCIA' DataType = datString Size = 20 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Referencia' Alignment = taLeftJustify ServerAutoRefresh = True end item Name = 'FacturasCliente_DESCUENTO' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Dto.' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_ID' DataType = datAutoInc BlobType = dabtUnknown Required = True DisplayWidth = 0 DisplayLabel = 'ID' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_ID_FACTURA' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'ID_FACTURA' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_TIPO_DETALLE' DataType = datString Size = 10 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Tipo detalle' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_CONCEPTO' DataType = datString Size = 2000 BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Concepto' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_IMPORTE_UNIDAD' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Importe unidad' Alignment = taRightJustify end item Name = 'FacturasCliente_Detalles_IMPORTE_TOTAL' DataType = datFloat BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Importe total' Alignment = taRightJustify end item Name = 'FacturasCliente_Detalles_VISIBLE' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = #191'Visible?' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_POSICION' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Posici'#243'n' Alignment = taLeftJustify end item Name = 'FacturasCliente_Detalles_CANTIDAD' DataType = datInteger BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Cantidad' Alignment = taLeftJustify end item Name = 'FacturasCliente_FECHA_PAGADO' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Fecha de pago' Alignment = taLeftJustify end item Name = 'FacturasCliente_FECHA_VENCIMIENTO' DataType = datDateTime BlobType = dabtUnknown DisplayWidth = 0 DisplayLabel = 'Fecha de vencimiento' Alignment = taLeftJustify ServerAutoRefresh = True end> Left = 150 Top = 22 end object bpFacturasCliente: TDABusinessProcessor Schema = schFacturasCliente InsertCommandName = 'Insert_FacturasCliente' DeleteCommandName = 'Delete_FacturasCliente' UpdateCommandName = 'Update_FacturasCliente' RefreshDatasetName = 'FacturasCliente_Refresh' ReferencedDataset = 'FacturasCliente' ProcessorOptions = [poAutoGenerateInsert, poAutoGenerateUpdate, poAutoGenerateDelete, poPrepareCommands] UpdateMode = updWhereKeyOnly Left = 280 Top = 16 end object bpFacturasCliente_Detalles: TDABusinessProcessor Schema = schFacturasCliente InsertCommandName = 'Insert_FacturasCliente_Detalles' DeleteCommandName = 'Delete_FacturasCliente_Detalles' UpdateCommandName = 'Update_FacturasCliente_Detalles' ReferencedDataset = 'FacturasCliente_Detalles' ProcessorOptions = [poAutoGenerateInsert, poAutoGenerateUpdate, poAutoGenerateDelete, poAutoGenerateRefreshDataset, poPrepareCommands] UpdateMode = updWhereKeyOnly Left = 280 Top = 72 end end