Varela_PuntosVenta/Source/Modulos/Recepciones/Servidor/srvRecepciones_Impl.dfm

2483 lines
76 KiB
Plaintext

object srvRecepciones: TsrvRecepciones
OldCreateOrder = True
SessionManager = dmServer.SessionManager
AcquireConnection = True
ServiceSchema = schRecepciones
ServiceAdapter = DABINAdapter
OnAfterProcessTransactionAction = pptaNone
ExportedDataTables = <>
CacheElements = <>
Options = [rsoProcessDeltasWithoutUpdateRules]
Height = 300
Width = 300
object schRecepciones: TDASchema
ConnectionManager = dmServer.ConnectionManager
DataDictionary = DADataDictionary1
Diagrams = dmServer.DADiagrams
Datasets = <
item
Params = <>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION_ALBARANES'
SQL =
'SELECT ALBARAN, ESTADOALBARAN, FILIAL, ESTADOPRODUCTO, CODIGO, P' +
'RODUCTO, COLOR, E38,'#10'E40, E42, E44, E46, E48'#10'FROM RDX_V_CONTROL_' +
'RECEPCION_ALBARANES'
StatementType = stSQL
ColumnMappings = <
item
DatasetField = 'ALBARAN'
TableField = 'ALBARAN'
end
item
DatasetField = 'ESTADOALBARAN'
TableField = 'ESTADOALBARAN'
end
item
DatasetField = 'FILIAL'
TableField = 'FILIAL'
end
item
DatasetField = 'ESTADOPRODUCTO'
TableField = 'ESTADOPRODUCTO'
end
item
DatasetField = 'CODIGO'
TableField = 'CODIGO'
end
item
DatasetField = 'PRODUCTO'
TableField = 'PRODUCTO'
end
item
DatasetField = 'COLOR'
TableField = 'COLOR'
end
item
DatasetField = 'E38'
TableField = 'E38'
end
item
DatasetField = 'E40'
TableField = 'E40'
end
item
DatasetField = 'E42'
TableField = 'E42'
end
item
DatasetField = 'E44'
TableField = 'E44'
end
item
DatasetField = 'E46'
TableField = 'E46'
end
item
DatasetField = 'E48'
TableField = 'E48'
end>
end>
Name = 'RecepcionesAlbaran'
Fields = <
item
Name = 'ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ESTADOALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FILIAL'
DataType = datString
Size = 25
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ESTADOPRODUCTO'
DataType = datString
Size = 9
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'PRODUCTO'
DataType = datString
Size = 40
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E38'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E40'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E42'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E44'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E46'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E48'
DataType = datInteger
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end>
BusinessRulesClient.ScriptLanguage = rslPascalScript
BusinessRulesServer.ScriptLanguage = rslPascalScript
end
item
Params = <>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION'
SQL = 'SELECT '#10' *'#10' FROM'#10' RDX_V_CONTROL_RECEPCION'
StatementType = stSQL
ColumnMappings = <
item
DatasetField = 'CENTRO'
TableField = 'CENTRO'
end
item
DatasetField = 'FILIAL'
TableField = 'FILIAL'
end
item
DatasetField = 'CODIGO'
TableField = 'CODIGO'
end
item
DatasetField = 'PRODUCTO'
TableField = 'PRODUCTO'
end
item
DatasetField = 'COLOR'
TableField = 'COLOR'
end
item
DatasetField = 'FECHA'
TableField = 'FECHA'
end
item
DatasetField = 'ALBARAN'
TableField = 'ALBARAN'
end
item
DatasetField = 'E38'
TableField = 'E38'
end
item
DatasetField = 'E40'
TableField = 'E40'
end
item
DatasetField = 'E42'
TableField = 'E42'
end
item
DatasetField = 'E44'
TableField = 'E44'
end
item
DatasetField = 'E46'
TableField = 'E46'
end
item
DatasetField = 'E48'
TableField = 'E48'
end
item
DatasetField = 'ENVIADO'
TableField = 'ENVIADO'
end
item
DatasetField = 'R38'
TableField = 'R38'
end
item
DatasetField = 'R40'
TableField = 'R40'
end
item
DatasetField = 'R42'
TableField = 'R42'
end
item
DatasetField = 'R44'
TableField = 'R44'
end
item
DatasetField = 'R46'
TableField = 'R46'
end
item
DatasetField = 'R48'
TableField = 'R48'
end
item
DatasetField = 'RECIBIDO'
TableField = 'RECIBIDO'
end
item
DatasetField = 'DIFERENCIA'
TableField = 'DIFERENCIA'
end
item
DatasetField = 'ESTADO_ALBARAN'
TableField = 'ESTADO_ALBARAN'
end
item
DatasetField = 'OBSERVACIONES_ALBARAN'
TableField = 'OBSERVACIONES_ALBARAN'
end
item
DatasetField = 'CONTABILIZAR_ALBARAN'
TableField = 'CONTABILIZAR_ALBARAN'
end
item
DatasetField = 'RR38'
TableField = 'RR38'
end
item
DatasetField = 'RR40'
TableField = 'RR40'
end
item
DatasetField = 'RR42'
TableField = 'RR42'
end
item
DatasetField = 'RR44'
TableField = 'RR44'
end
item
DatasetField = 'RR46'
TableField = 'RR46'
end
item
DatasetField = 'RR48'
TableField = 'RR48'
end
item
DatasetField = 'RECIBIDO_RECT'
TableField = 'RECIBIDO_RECT'
end
item
DatasetField = 'APROBADO'
TableField = 'APROBADO'
end
item
DatasetField = 'FECHACAMBIO'
TableField = 'FECHACAMBIO'
end>
end>
Name = 'Recepciones'
Fields = <
item
Name = 'APROBADO'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_APROBADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHACAMBIO'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHACAMBIO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CENTRO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FILIAL'
DataType = datString
Size = 25
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FILIAL'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CODIGO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'PRODUCTO'
DataType = datString
Size = 40
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_PRODUCTO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_COLOR'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHA'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHA'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ESTADO_ALBARAN'
DataType = datString
Size = 15
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ESTADO_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'OBSERVACIONES_ALBARAN'
DataType = datString
Size = 255
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_OBSERVACIONES_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CONTABILIZAR_ALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CONTABILIZAR_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E38'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E40'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E42'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E44'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E46'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E48'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ENVIADO'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ENVIADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO_RECT'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO_RECT'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'DIFERENCIA'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_DIFERENCIA'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end>
BusinessRulesClient.ScriptLanguage = rslPascalScript
BusinessRulesServer.ScriptLanguage = rslPascalScript
end
item
Params = <>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION'
SQL =
'SELECT'#10' *'#10' FROM'#10' RDX_V_CONTROL_RECEPCION'#10'WHERE (APROBADO ' +
'= '#39'N'#39')'
StatementType = stSQL
ColumnMappings = <
item
DatasetField = 'APROBADO'
TableField = 'APROBADO'
end
item
DatasetField = 'CENTRO'
TableField = 'CENTRO'
end
item
DatasetField = 'FILIAL'
TableField = 'FILIAL'
end
item
DatasetField = 'CODIGO'
TableField = 'CODIGO'
end
item
DatasetField = 'PRODUCTO'
TableField = 'PRODUCTO'
end
item
DatasetField = 'COLOR'
TableField = 'COLOR'
end
item
DatasetField = 'FECHA'
TableField = 'FECHA'
end
item
DatasetField = 'ALBARAN'
TableField = 'ALBARAN'
end
item
DatasetField = 'ESTADO_ALBARAN'
TableField = 'ESTADO_ALBARAN'
end
item
DatasetField = 'OBSERVACIONES_ALBARAN'
TableField = 'OBSERVACIONES_ALBARAN'
end
item
DatasetField = 'CONTABILIZAR_ALBARAN'
TableField = 'CONTABILIZAR_ALBARAN'
end
item
DatasetField = 'E38'
TableField = 'E38'
end
item
DatasetField = 'E40'
TableField = 'E40'
end
item
DatasetField = 'E42'
TableField = 'E42'
end
item
DatasetField = 'E44'
TableField = 'E44'
end
item
DatasetField = 'E46'
TableField = 'E46'
end
item
DatasetField = 'E48'
TableField = 'E48'
end
item
DatasetField = 'ENVIADO'
TableField = 'ENVIADO'
end
item
DatasetField = 'R38'
TableField = 'R38'
end
item
DatasetField = 'R40'
TableField = 'R40'
end
item
DatasetField = 'R42'
TableField = 'R42'
end
item
DatasetField = 'R44'
TableField = 'R44'
end
item
DatasetField = 'R46'
TableField = 'R46'
end
item
DatasetField = 'R48'
TableField = 'R48'
end
item
DatasetField = 'RECIBIDO'
TableField = 'RECIBIDO'
end
item
DatasetField = 'RR38'
TableField = 'RR38'
end
item
DatasetField = 'RR40'
TableField = 'RR40'
end
item
DatasetField = 'RR42'
TableField = 'RR42'
end
item
DatasetField = 'RR44'
TableField = 'RR44'
end
item
DatasetField = 'RR46'
TableField = 'RR46'
end
item
DatasetField = 'RR48'
TableField = 'RR48'
end
item
DatasetField = 'RECIBIDO_RECT'
TableField = 'RECIBIDO_RECT'
end
item
DatasetField = 'DIFERENCIA'
TableField = 'DIFERENCIA'
end
item
DatasetField = 'FECHACAMBIO'
TableField = 'FECHACAMBIO'
end>
end>
Name = 'RecepcionesPendientes'
Fields = <
item
Name = 'APROBADO'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_APROBADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHACAMBIO'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHACAMBIO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CENTRO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FILIAL'
DataType = datString
Size = 25
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FILIAL'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CODIGO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'PRODUCTO'
DataType = datString
Size = 40
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_PRODUCTO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_COLOR'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHA'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHA'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ESTADO_ALBARAN'
DataType = datString
Size = 15
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ESTADO_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'OBSERVACIONES_ALBARAN'
DataType = datString
Size = 255
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_OBSERVACIONES_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CONTABILIZAR_ALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CONTABILIZAR_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E38'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E40'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E42'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E44'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E46'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E48'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ENVIADO'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ENVIADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO_RECT'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO_RECT'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'DIFERENCIA'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_DIFERENCIA'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end>
BusinessRulesClient.ScriptLanguage = rslPascalScript
BusinessRulesServer.ScriptLanguage = rslPascalScript
end
item
Params = <>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION'
SQL =
'SELECT '#10' *'#10' FROM'#10' RDX_V_CONTROL_RECEPCION'#10'WHERE (APROBADO' +
' = '#39'S'#39')'
StatementType = stSQL
ColumnMappings = <
item
DatasetField = 'CENTRO'
TableField = 'CENTRO'
end
item
DatasetField = 'FILIAL'
TableField = 'FILIAL'
end
item
DatasetField = 'CODIGO'
TableField = 'CODIGO'
end
item
DatasetField = 'PRODUCTO'
TableField = 'PRODUCTO'
end
item
DatasetField = 'COLOR'
TableField = 'COLOR'
end
item
DatasetField = 'FECHA'
TableField = 'FECHA'
end
item
DatasetField = 'ALBARAN'
TableField = 'ALBARAN'
end
item
DatasetField = 'E38'
TableField = 'E38'
end
item
DatasetField = 'E40'
TableField = 'E40'
end
item
DatasetField = 'E42'
TableField = 'E42'
end
item
DatasetField = 'E44'
TableField = 'E44'
end
item
DatasetField = 'E46'
TableField = 'E46'
end
item
DatasetField = 'E48'
TableField = 'E48'
end
item
DatasetField = 'ENVIADO'
TableField = 'ENVIADO'
end
item
DatasetField = 'R38'
TableField = 'R38'
end
item
DatasetField = 'R40'
TableField = 'R40'
end
item
DatasetField = 'R42'
TableField = 'R42'
end
item
DatasetField = 'R44'
TableField = 'R44'
end
item
DatasetField = 'R46'
TableField = 'R46'
end
item
DatasetField = 'R48'
TableField = 'R48'
end
item
DatasetField = 'RECIBIDO'
TableField = 'RECIBIDO'
end
item
DatasetField = 'DIFERENCIA'
TableField = 'DIFERENCIA'
end
item
DatasetField = 'ESTADO_ALBARAN'
TableField = 'ESTADO_ALBARAN'
end
item
DatasetField = 'OBSERVACIONES_ALBARAN'
TableField = 'OBSERVACIONES_ALBARAN'
end
item
DatasetField = 'CONTABILIZAR_ALBARAN'
TableField = 'CONTABILIZAR_ALBARAN'
end
item
DatasetField = 'RR38'
TableField = 'RR38'
end
item
DatasetField = 'RR40'
TableField = 'RR40'
end
item
DatasetField = 'RR42'
TableField = 'RR42'
end
item
DatasetField = 'RR44'
TableField = 'RR44'
end
item
DatasetField = 'RR46'
TableField = 'RR46'
end
item
DatasetField = 'RR48'
TableField = 'RR48'
end
item
DatasetField = 'RECIBIDO_RECT'
TableField = 'RECIBIDO_RECT'
end
item
DatasetField = 'FECHACAMBIO'
TableField = 'FECHACAMBIO'
end
item
DatasetField = 'APROBADO'
TableField = 'APROBADO'
end>
end>
Name = 'RecepcionesAprobadas'
Fields = <
item
Name = 'APROBADO'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_APROBADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHACAMBIO'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHACAMBIO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CENTRO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FILIAL'
DataType = datString
Size = 25
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FILIAL'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CODIGO'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'PRODUCTO'
DataType = datString
Size = 40
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_PRODUCTO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_COLOR'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'FECHA'
DataType = datDateTime
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_FECHA'
InPrimaryKey = True
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ESTADO_ALBARAN'
DataType = datString
Size = 15
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ESTADO_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'OBSERVACIONES_ALBARAN'
DataType = datString
Size = 255
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_OBSERVACIONES_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'CONTABILIZAR_ALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_CONTABILIZAR_ALBARAN'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E38'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E40'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E42'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E44'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E46'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'E48'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_E48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'ENVIADO'
DataType = datInteger
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_ENVIADO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'R48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_R48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR38'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR38'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR40'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR40'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR42'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR42'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR44'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR44'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR46'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR46'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RR48'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RR48'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'RECIBIDO_RECT'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_RECIBIDO_RECT'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'DIFERENCIA'
DataType = datFloat
BlobType = dabtUnknown
DictionaryEntry = 'Recepciones_DIFERENCIA'
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end>
BusinessRulesClient.ScriptLanguage = rslPascalScript
BusinessRulesServer.ScriptLanguage = rslPascalScript
end
item
Params = <
item
Name = 'FECHA'
DataType = datDateTime
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION'
SQL =
'SELECT '#10' RECIBIDO_RECT, DIFERENCIA'#10' FROM'#10' RDX_V_CONTROL_R' +
'ECEPCION'#10' WHERE'#10' FECHA = :FECHA AND'#10' CENTRO = :CENT' +
'RO AND'#10' CODIGO = :CODIGO AND'#10' COLOR = :COLOR'
StatementType = stSQL
ColumnMappings = <
item
DatasetField = 'DIFERENCIA'
TableField = 'DIFERENCIA'
end
item
DatasetField = 'RECIBIDO_RECT'
TableField = 'RECIBIDO_RECT'
end>
end>
Name = 'RefreshRecepciones'
Fields = <
item
Name = 'RECIBIDO_RECT'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end
item
Name = 'DIFERENCIA'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
Alignment = taLeftJustify
InPrimaryKey = False
Calculated = False
ServerCalculated = False
Lookup = False
LookupCache = False
end>
BusinessRulesClient.ScriptLanguage = rslPascalScript
BusinessRulesServer.ScriptLanguage = rslPascalScript
end>
JoinDataTables = <>
UnionDataTables = <>
Commands = <
item
Params = <
item
Name = 'ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'ESTADO_ALBARAN'
DataType = datString
Size = 15
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'OBSERVACIONES_ALBARAN'
DataType = datString
Size = 255
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'CONTABILIZAR_ALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR38'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR40'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR42'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR44'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR46'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'RR48'
DataType = datFloat
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'APROBADO'
DataType = datString
Size = 1
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'FECHA'
DataType = datDateTime
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end
item
Name = 'COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
Value = ''
ParamType = daptInput
end>
Statements = <
item
Connection = 'GFT_VARELA'
TargetTable = 'RDX_V_CONTROL_RECEPCION'
SQL =
'begin'#10' declare @rowcount_var int'#10' declare @ALBARAN char(7)' +
#10' declare @ESTADO_ALBARAN varchar(20)'#10' declare @OBSERVACIO' +
'NES_ALBARAN varchar(255)'#10' declare @CONTABILIZAR_ALBARAN char(' +
'1)'#10#10' declare @RR38 numeric(15,0)'#10' declare @RR40 numeric(15' +
',0)'#10' declare @RR42 numeric(15,0)'#10' declare @RR44 numeric(15' +
',0)'#10' declare @RR46 numeric(15,0)'#10' declare @RR48 numeric(15' +
',0)'#10#10' declare @APROBADO char(1)'#10' declare @FECHA datetime'#10' ' +
' declare @CENTRO varchar(17)'#10' declare @CODIGO varchar(12)'#10' ' +
' declare @COLOR varchar(10)'#10#10' set @ALBARAN = :ALBARAN'#10' s' +
'et @ESTADO_ALBARAN = :ESTADO_ALBARAN'#10' set @OBSERVACIONES_ALBA' +
'RAN = :OBSERVACIONES_ALBARAN'#10' set @CONTABILIZAR_ALBARAN = :CO' +
'NTABILIZAR_ALBARAN'#10#10' set @RR38 = :RR38'#10' set @RR40 = :RR40'#10 +
' set @RR42 = :RR42'#10' set @RR44 = :RR44'#10' set @RR46 = :RR4' +
'6'#10' set @RR48 = :RR48'#10#10' set @APROBADO = :APROBADO'#10' set @' +
'FECHA = :FECHA'#10' set @CENTRO = :CENTRO'#10' set @CODIGO = :CODI' +
'GO'#10' set @COLOR = :COLOR'#10#10#10' /* ****************************' +
'******* */'#10' if @ALBARAN <> '#39#39#10' begin'#10' update RDX_A' +
'JUSTES_ALBARAN set'#10#9' ESTADO = @ESTADO_ALBARAN,'#10#9' OBS' +
'ERVACIONES = @OBSERVACIONES_ALBARAN,'#10#9' CONTABILIZAR = @CON' +
'TABILIZAR_ALBARAN'#10' where RDX_AJUSTES_ALBARAN.ALBARAN = @' +
'ALBARAN'#10#10#9' select @ROWCOUNT_VAR = @@ROWCOUNT'#10#10' if @ROWCO' +
'UNT_VAR = 0'#10#9' begin'#10' insert into RDX_AJUSTES_ALBARAN' +
#10' (ALBARAN, ESTADO, OBSERVACIONES, CONTABILIZ' +
'AR)'#10' values (@ALBARAN, @ESTADO_ALBARAN,'#10' ' +
' @OBSERVACIONES_ALBARAN, @CONTABILIZAR_ALBARAN)'#10#10' ' +
' select @ROWCOUNT_VAR = @@ROWCOUNT'#10' end'#10' end'#10#10' ' +
' /* *********************************** */'#10#9'update RDX_RECEPCI' +
'ON_AJUSTES set'#10#9' CANT38 = @RR38,'#10#9' CANT40 = ' +
'@RR40,'#10#9' CANT42 = @RR42,'#10#9' CANT44 = @RR44,'#10#9 +
' CANT46 = @RR46,'#10#9' CANT48 = @RR48,'#10' ' +
' APROBADO = @APROBADO,'#10' FECHACAMBIO = CURRENT' +
'_TIMESTAMP'#10#9'where'#10' (RDX_RECEPCION_AJUSTES.CENTRO = @' +
'CENTRO and'#10#9' RDX_RECEPCION_AJUSTES.CODIGO = @CODIGO and'#10#9' ' +
' RDX_RECEPCION_AJUSTES.COLOR = @COLOR and'#10#9' RDX_RECEPCIO' +
'N_AJUSTES.FECHA = @FECHA)'#10#10#9'select @ROWCOUNT_VAR = @@ROWCOUNT'#10#10#9 +
'if @ROWCOUNT_VAR = 0'#10' begin'#10' insert into RDX_RECE' +
'PCION_AJUSTES'#10' (FECHA, CENTRO, CODIGO, COLOR,'#10' ' +
' APROBADO, FECHACAMBIO,'#10' CANT38, CA' +
'NT40, CANT42,'#10' CANT44, CANT46, CANT48)'#10' ' +
'values ('#10' @FECHA, @CENTRO, @CODIGO,'#10' ' +
' @COLOR, @APROBADO, CURRENT_TIMESTAMP,'#10' @RR3' +
'8, @RR40, @RR42,'#10' @RR44, @RR46, @RR48)'#10#10' ' +
' select @ROWCOUNT_VAR = @@ROWCOUNT'#10' end'#10'end'#10
StatementType = stSQL
ColumnMappings = <>
end>
Name = 'Update_Estado_Recepciones'
end>
RelationShips = <>
UpdateRules = <>
Version = 0
Left = 48
Top = 32
end
object bpRecepciones: TDABusinessProcessor
Schema = schRecepciones
UpdateCommandName = 'Update_Estado_Recepciones'
RefreshDatasetName = 'RefreshRecepciones'
ReferencedDataset = 'Recepciones'
ProcessorOptions = [poAutoGenerateInsert, poAutoGenerateDelete, poPrepareCommands, poIgnoreRowsAffected]
UpdateMode = updWhereKeyOnly
Left = 192
Top = 32
end
object bpRecepcionesAprobadas: TDABusinessProcessor
Schema = schRecepciones
UpdateCommandName = 'Update_Estado_Recepciones'
RefreshDatasetName = 'RefreshRecepciones'
ReferencedDataset = 'RecepcionesAprobadas'
ProcessorOptions = [poAutoGenerateInsert, poAutoGenerateDelete, poPrepareCommands, poIgnoreRowsAffected]
UpdateMode = updWhereKeyOnly
Left = 192
Top = 88
end
object bpRecepcionesPendientes: TDABusinessProcessor
Schema = schRecepciones
UpdateCommandName = 'Update_Estado_Recepciones'
RefreshDatasetName = 'RefreshRecepciones'
ReferencedDataset = 'RecepcionesPendientes'
ProcessorOptions = [poAutoGenerateInsert, poAutoGenerateDelete, poPrepareCommands, poIgnoreRowsAffected]
UpdateMode = updWhereKeyOnly
Left = 192
Top = 152
end
object DADataDictionary1: TDADataDictionary
Fields = <
item
Name = 'Recepciones_APROBADO'
DataType = datString
Size = 1
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'APROBADO'
Alignment = taLeftJustify
end
item
Name = 'Recepciones_FECHACAMBIO'
DataType = datDateTime
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'FECHACAMBIO'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_CENTRO'
DataType = datString
Size = 17
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'CENTRO'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_FILIAL'
DataType = datString
Size = 25
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'FILIAL'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_CODIGO'
DataType = datString
Size = 12
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'CODIGO'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_PRODUCTO'
DataType = datString
Size = 40
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'PRODUCTO'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_COLOR'
DataType = datString
Size = 10
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'COLOR'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_FECHA'
DataType = datDateTime
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'FECHA'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_ALBARAN'
DataType = datString
Size = 7
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'ALBARAN'
ReadOnly = True
Alignment = taLeftJustify
end
item
Name = 'Recepciones_ESTADO_ALBARAN'
DataType = datString
Size = 15
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'ESTADO_ALBARAN'
Alignment = taLeftJustify
end
item
Name = 'Recepciones_OBSERVACIONES_ALBARAN'
DataType = datString
Size = 255
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'OBSERVACIONES_ALBARAN'
Alignment = taLeftJustify
end
item
Name = 'Recepciones_CONTABILIZAR_ALBARAN'
DataType = datString
Size = 1
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'CONTABILIZAR_ALBARAN'
Alignment = taLeftJustify
end
item
Name = 'Recepciones_E38'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E38'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_E40'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E40'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_E42'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E42'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_E44'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E44'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_E46'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E46'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_E48'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'E48'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_ENVIADO'
DataType = datInteger
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'ENVIADO'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R38'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R38'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R40'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R40'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R42'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R42'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R44'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R44'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R46'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R46'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_R48'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'R48'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_RECIBIDO'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'RECIBIDO'
ReadOnly = True
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR38'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR38'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR40'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR40'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR42'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR42'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR44'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR44'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR46'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR46'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RR48'
DataType = datFloat
BlobType = dabtUnknown
DisplayWidth = 0
DisplayLabel = 'RR48'
Alignment = taRightJustify
end
item
Name = 'Recepciones_RECIBIDO_RECT'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'RECIBIDO_RECT'
Alignment = taRightJustify
end
item
Name = 'Recepciones_DIFERENCIA'
DataType = datFloat
BlobType = dabtUnknown
LogChanges = False
DisplayWidth = 0
DisplayLabel = 'DIFERENCIA'
Alignment = taRightJustify
end>
Left = 48
Top = 104
end
object DABINAdapter: TDABINAdapter
BufferSize = 262144
IsCompatibleV4 = True
Left = 48
Top = 168
end
end