git-svn-id: https://192.168.0.254/svn/Proyectos.ConstruccionesCNJ_FactuGES/trunk@4 6cb6b671-b4a0-dd4c-8bdc-3006503d97e9
1604 lines
49 KiB
Plaintext
1604 lines
49 KiB
Plaintext
object srvFacturasCliente: TsrvFacturasCliente
|
|
OldCreateOrder = True
|
|
OnCreate = DARemoteServiceCreate
|
|
AcquireConnection = True
|
|
ConnectionName = 'IBX'
|
|
ServiceSchema = schFacturasCliente
|
|
OnBeforeAcquireConnection = DARemoteServiceBeforeAcquireConnection
|
|
OnBeforeGetDatasetData = DARemoteServiceBeforeGetDatasetData
|
|
Height = 428
|
|
Width = 372
|
|
object schFacturasCliente: TDASchema
|
|
ConnectionManager = dmServer.ConnectionManager
|
|
DataDictionary = DataDictionary
|
|
Diagrams = Diagrams
|
|
Datasets = <
|
|
item
|
|
Params = <>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'FACTURASCLIENTE'
|
|
SQL = 'SELECT * FROM DAR_REFERENCIA_FACTURACLIENTE'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'REFERENCIA'
|
|
TableField = 'REFERENCIA'
|
|
end>
|
|
end>
|
|
Name = 'DarReferenciaFactura'
|
|
Fields = <
|
|
item
|
|
Name = 'REFERENCIA'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'Referencia'
|
|
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' ID, ID_EMPRESA, ID_CONTRATO, REFERENCIA, FECHA_FACTU' +
|
|
'RA, VENCIMIENTO,'#10' SITUACION, BASE_IMPONIBLE, DESCUENTO, IMPOR' +
|
|
'TE_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' U' +
|
|
'SUARIO'#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>
|
|
end>
|
|
Name = 'FacturasCliente'
|
|
Fields = <
|
|
item
|
|
Name = 'ID'
|
|
DataType = datInteger
|
|
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 = '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 = 'IVA'
|
|
DataType = datString
|
|
Size = 150
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'FacturasCliente_IVA'
|
|
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>
|
|
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 = datInteger
|
|
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 = 'CODIGO'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'FACTURASCLIENTE'
|
|
SQL =
|
|
'SELECT '#10' CODIGOEMPRESA, CODIGO, FECHAALTA, USUARIO, FECHAFACT' +
|
|
'URA, REFERENCIA,'#10' BASEIMPONIBLE, DESCUENTO, IMPORTEDESCUENTO,' +
|
|
' IVA, IMPORTEIVA, '#10' IMPORTETOTAL, OBSERVACIONES, FORMAPAGO, C' +
|
|
'ODIGOCONTACTO, '#10' NIFCIF, NOMBRE, CALLE, PROVINCIA, CODIGOPOST' +
|
|
'AL, POBLACION'#10' FROM'#10' FACTURASCLIENTE'#10' WHERE CODIGO = :CODIG' +
|
|
'O'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'CODIGOEMPRESA'
|
|
TableField = 'CODIGOEMPRESA'
|
|
end
|
|
item
|
|
DatasetField = 'CODIGO'
|
|
TableField = 'CODIGO'
|
|
end
|
|
item
|
|
DatasetField = 'FECHAALTA'
|
|
TableField = 'FECHAALTA'
|
|
end
|
|
item
|
|
DatasetField = 'USUARIO'
|
|
TableField = 'USUARIO'
|
|
end
|
|
item
|
|
DatasetField = 'CODIGOCONTACTO'
|
|
TableField = 'CODIGOCONTACTO'
|
|
end
|
|
item
|
|
DatasetField = 'BASEIMPONIBLE'
|
|
TableField = 'BASEIMPONIBLE'
|
|
end
|
|
item
|
|
DatasetField = 'DESCUENTO'
|
|
TableField = 'DESCUENTO'
|
|
end
|
|
item
|
|
DatasetField = 'IMPORTEDESCUENTO'
|
|
TableField = 'IMPORTEDESCUENTO'
|
|
end
|
|
item
|
|
DatasetField = 'IVA'
|
|
TableField = 'IVA'
|
|
end
|
|
item
|
|
DatasetField = 'IMPORTEIVA'
|
|
TableField = 'IMPORTEIVA'
|
|
end
|
|
item
|
|
DatasetField = 'IMPORTETOTAL'
|
|
TableField = 'IMPORTETOTAL'
|
|
end
|
|
item
|
|
DatasetField = 'OBSERVACIONES'
|
|
TableField = 'OBSERVACIONES'
|
|
end
|
|
item
|
|
DatasetField = 'FORMAPAGO'
|
|
TableField = 'FORMAPAGO'
|
|
end
|
|
item
|
|
DatasetField = 'NOMBRE'
|
|
TableField = 'NOMBRE'
|
|
end
|
|
item
|
|
DatasetField = 'NIFCIF'
|
|
TableField = 'NIFCIF'
|
|
end
|
|
item
|
|
DatasetField = 'CALLE'
|
|
TableField = 'CALLE'
|
|
end
|
|
item
|
|
DatasetField = 'CODIGOPOSTAL'
|
|
TableField = 'CODIGOPOSTAL'
|
|
end
|
|
item
|
|
DatasetField = 'POBLACION'
|
|
TableField = 'POBLACION'
|
|
end
|
|
item
|
|
DatasetField = 'FECHAFACTURA'
|
|
TableField = 'FECHAFACTURA'
|
|
end
|
|
item
|
|
DatasetField = 'PROVINCIA'
|
|
TableField = 'PROVINCIA'
|
|
end
|
|
item
|
|
DatasetField = 'REFERENCIA'
|
|
TableField = 'REFERENCIA'
|
|
end>
|
|
end>
|
|
Name = 'InformeCabeceraFacturaCliente'
|
|
Fields = <
|
|
item
|
|
Name = 'CODIGOEMPRESA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'CODIGOEMPRESA'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'CODIGO'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'CODIGOFACTURACLIENTE'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'FECHAALTA'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'FECHAALTA'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'USUARIO'
|
|
DataType = datString
|
|
Size = 100
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'FECHAFACTURA'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'FECHAFACTURACLIENTE'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'REFERENCIA'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'Referencia'
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'CODIGOCONTACTO'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'CODIGOCONTACTO'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BASEIMPONIBLE'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'BASEIMPONIBLE'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'DESCUENTO'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'Dto.'
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'IMPORTEDESCUENTO'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'IMPORTEDESCUENTO'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'IVA'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'IMPORTEIVA'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'IMPORTEIVA'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'IMPORTETOTAL'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'IMPORTETOTAL'
|
|
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 = 'FORMAPAGO'
|
|
DataType = datMemo
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'FORMAPAGO'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'NIFCIF'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'NIFCIF'
|
|
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 = 'CODIGOPOSTAL'
|
|
DataType = datString
|
|
Size = 5
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'CODIGOPOSTAL'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'POBLACION'
|
|
DataType = datString
|
|
Size = 40
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'CODIGOFACTURA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'DETALLESFACTURASCLIENTE'
|
|
SQL =
|
|
'SELECT '#10' CODIGOFACTURA, NUMCONCEPTO, DESCRIPCION, CANTIDAD, '#10 +
|
|
' IMPORTEUNIDAD, IMPORTETOTAL, POSICION, TIPO'#10' FROM'#10' DETAL' +
|
|
'LESFACTURASCLIENTE'#10' WHERE CODIGOFACTURA = :CODIGOFACTURA'#10' ORDE' +
|
|
'R BY POSICION'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'NUMCONCEPTO'
|
|
TableField = 'NUMCONCEPTO'
|
|
end
|
|
item
|
|
DatasetField = 'DESCRIPCION'
|
|
TableField = 'DESCRIPCION'
|
|
end
|
|
item
|
|
DatasetField = 'CANTIDAD'
|
|
TableField = 'CANTIDAD'
|
|
end
|
|
item
|
|
DatasetField = 'IMPORTEUNIDAD'
|
|
TableField = 'IMPORTEUNIDAD'
|
|
end
|
|
item
|
|
DatasetField = 'IMPORTETOTAL'
|
|
TableField = 'IMPORTETOTAL'
|
|
end
|
|
item
|
|
DatasetField = 'TIPO'
|
|
TableField = 'TIPO'
|
|
end
|
|
item
|
|
DatasetField = 'POSICION'
|
|
TableField = 'POSICION'
|
|
end
|
|
item
|
|
DatasetField = 'CODIGOFACTURA'
|
|
TableField = 'CODIGOFACTURA'
|
|
end>
|
|
end>
|
|
Name = 'InformeDetallesFacturaCliente'
|
|
Fields = <
|
|
item
|
|
Name = 'CODIGOFACTURA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'CODIGOFACTURACLIENTE'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'NUMCONCEPTO'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'NUMCONCEPTO'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'DESCRIPCION'
|
|
DataType = datString
|
|
Size = 100
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'DESCRIPCION'
|
|
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 = 'IMPORTEUNIDAD'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'IMPORTEUNIDAD'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'IMPORTETOTAL'
|
|
DataType = datCurrency
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'IMPORTETOTAL'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'TIPO'
|
|
DataType = datString
|
|
Size = 1
|
|
Description = 'Cap'#237'tulo, etc'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'TIPODETALLESFACTURACLIENTE'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'POSICION'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
DictionaryEntry = 'POSICIONCONCEPTO'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end>
|
|
Commands = <>
|
|
RelationShips = <
|
|
item
|
|
Name = 'FK_DetallesFacturasCliente_FacturasCliente'
|
|
MasterDatasetName = 'FacturasCliente_Refresh'
|
|
MasterFields = 'ID'
|
|
DetailDatasetName = 'FacturasCliente_Detalles'
|
|
DetailFields = 'ID_FACTURA'
|
|
end
|
|
item
|
|
Name = 'FK_InformeDetallesFacturaCliente_InformeCabeceraFacturaCliente'
|
|
MasterDatasetName = 'InformeCabeceraFacturaCliente'
|
|
MasterFields = 'CODIGO'
|
|
DetailDatasetName = 'InformeDetallesFacturaCliente'
|
|
DetailFields = 'CODIGOFACTURA'
|
|
end>
|
|
UpdateRules = <
|
|
item
|
|
Name = 'Insert FacturasCliente'
|
|
DoUpdate = False
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'FacturasCliente'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Update FacturasCliente'
|
|
DoUpdate = True
|
|
DoInsert = False
|
|
DoDelete = False
|
|
DatasetName = 'FacturasCliente'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete DetallesFacturasCliente'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'DetallesFacturasCliente'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert DetallesFacturasCliente'
|
|
DoUpdate = False
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'DetallesFacturasCliente'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Update DetallesFacturasCliente'
|
|
DoUpdate = True
|
|
DoInsert = False
|
|
DoDelete = False
|
|
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 frxDBDetalles: TfrxDBDataset
|
|
UserName = 'frxDBDetalles'
|
|
CloseDataSource = False
|
|
DataSource = DADataDetalles
|
|
Left = 208
|
|
Top = 208
|
|
end
|
|
object frxDBCabecera: TfrxDBDataset
|
|
UserName = 'frxDBCabecera'
|
|
CloseDataSource = False
|
|
DataSource = DADataCabecera
|
|
Left = 128
|
|
Top = 208
|
|
end
|
|
object DADataCabecera: TDADataSource
|
|
DataTable = tbl_FacturaCliente
|
|
Left = 128
|
|
Top = 256
|
|
end
|
|
object DADataDetalles: TDADataSource
|
|
DataTable = tbl_DetallesFacturaCliente
|
|
Left = 208
|
|
Top = 256
|
|
end
|
|
object frxReport1: TfrxReport
|
|
Version = '3.23.7'
|
|
DotMatrixReport = False
|
|
EngineOptions.DoublePass = True
|
|
IniFile = '\Software\Fast Reports'
|
|
PreviewOptions.Buttons = [pbPrint, pbLoad, pbSave, pbExport, pbZoom, pbFind, pbOutline, pbPageSetup, pbTools, pbEdit, pbNavigator]
|
|
PreviewOptions.OutlineWidth = 180
|
|
PreviewOptions.Zoom = 1.000000000000000000
|
|
PrintOptions.Printer = 'Default'
|
|
ReportOptions.CreateDate = 37871.995398692100000000
|
|
ReportOptions.Description.Strings = (
|
|
'Demonstrates how to create simple list report.')
|
|
ReportOptions.LastChange = 38763.819912650500000000
|
|
ReportOptions.VersionBuild = '1'
|
|
ReportOptions.VersionMajor = '12'
|
|
ReportOptions.VersionMinor = '13'
|
|
ReportOptions.VersionRelease = '1'
|
|
ScriptLanguage = 'PascalScript'
|
|
ScriptText.Strings = (
|
|
'begin'
|
|
''
|
|
'end.')
|
|
StoreInDFM = False
|
|
Left = 48
|
|
Top = 208
|
|
Datasets = <
|
|
item
|
|
DataSet = frxDBCabecera
|
|
DataSetName = 'frxDBCabecera'
|
|
end
|
|
item
|
|
DataSet = frxDBDetalles
|
|
DataSetName = 'frxDBDetalles'
|
|
end>
|
|
Variables = <>
|
|
Style = <
|
|
item
|
|
Name = 'Concepto normal'
|
|
Color = clNone
|
|
Font.Charset = ANSI_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -13
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
end
|
|
item
|
|
Name = 'Concepto subtotal'
|
|
Color = 15790320
|
|
Font.Charset = ANSI_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -13
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = [fsBold]
|
|
end
|
|
item
|
|
Name = 'Cabecera de columna'
|
|
Color = 15790320
|
|
Font.Charset = ANSI_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = [fsBold]
|
|
Frame.Typ = [ftLeft, ftRight, ftTop, ftBottom]
|
|
end
|
|
item
|
|
Name = 'Concepto titulo'
|
|
Color = clNone
|
|
Font.Charset = ANSI_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -13
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = [fsBold]
|
|
end>
|
|
end
|
|
object tbl_FacturaCliente: TDACDSDataTable
|
|
RemoteUpdatesOptions = []
|
|
Fields = <>
|
|
Params = <>
|
|
MasterMappingMode = mmDataRequest
|
|
StreamingOptions = [soDisableEventsWhileStreaming]
|
|
RemoteFetchEnabled = False
|
|
SchemaCall.Params = <>
|
|
DataRequestCall.Params = <>
|
|
DataUpdateCall.Params = <>
|
|
ScriptCall.Params = <>
|
|
ReadOnly = False
|
|
Adapter = DABINAdapter
|
|
DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
|
|
MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
|
|
IndexDefs = <>
|
|
Left = 128
|
|
Top = 312
|
|
end
|
|
object tbl_DetallesFacturaCliente: TDACDSDataTable
|
|
RemoteUpdatesOptions = []
|
|
Fields = <>
|
|
Params = <>
|
|
MasterMappingMode = mmDataRequest
|
|
StreamingOptions = [soDisableEventsWhileStreaming]
|
|
RemoteFetchEnabled = False
|
|
SchemaCall.Params = <>
|
|
DataRequestCall.Params = <>
|
|
DataUpdateCall.Params = <>
|
|
ScriptCall.Params = <>
|
|
ReadOnly = False
|
|
Adapter = DABINAdapter
|
|
DetailOptions = [dtCascadeOpenClose, dtCascadeApplyUpdates, dtAutoFetch, dtCascadeDelete, dtCascadeUpdate, dtDisableLogOfCascadeDeletes, dtDisableLogOfCascadeUpdates, dtIncludeInAllInOneFetch]
|
|
MasterOptions = [moCascadeOpenClose, moCascadeApplyUpdates, moCascadeDelete, moCascadeUpdate, moDisableLogOfCascadeDeletes, moDisableLogOfCascadeUpdates]
|
|
IndexDefs = <>
|
|
Left = 208
|
|
Top = 312
|
|
end
|
|
object DABINAdapter: TDABINAdapter
|
|
Left = 48
|
|
Top = 72
|
|
end
|
|
object Diagrams: TDADiagrams
|
|
Left = 150
|
|
Top = 74
|
|
DiagramData = '<Diagrams>'#13#10'</Diagrams>'#13#10
|
|
end
|
|
object DataDictionary: TDADataDictionary
|
|
Fields = <
|
|
item
|
|
Name = 'FacturasCliente_ID'
|
|
DataType = datInteger
|
|
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 = datString
|
|
Size = 150
|
|
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
|
|
end
|
|
item
|
|
Name = 'FacturasCliente_DESCUENTO'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'Dto.'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'FacturasCliente_Detalles_ID'
|
|
DataType = datInteger
|
|
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>
|
|
Left = 150
|
|
Top = 22
|
|
end
|
|
end
|