3736 lines
118 KiB
Plaintext
3736 lines
118 KiB
Plaintext
object srvTiendaWeb: TsrvTiendaWeb
|
|
OldCreateOrder = True
|
|
OnCreate = DARemoteServiceCreate
|
|
RequiresSession = True
|
|
SessionManager = dmServer.SessionManager
|
|
AcquireConnection = True
|
|
ConnectionName = 'IBX'
|
|
ServiceSchema = schTiendaWeb
|
|
ServiceAdapter = DABINAdapter
|
|
OnBeforeGetDatasetData = DARemoteServiceBeforeGetDatasetData
|
|
Height = 377
|
|
Width = 583
|
|
object schTiendaWeb: TDASchema
|
|
ConnectionManager = dmServer.ConnectionManager
|
|
DataDictionary = DataDictionary
|
|
Diagrams = Diagrams
|
|
Datasets = <
|
|
item
|
|
Params = <>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers'
|
|
SQL =
|
|
'SELECT'#10' customers_id, customers_firstname,'#10' customers_last' +
|
|
'name, customers_email_address,'#10' customers_default_address_id,' +
|
|
' customers_telephone,'#10' customers_fax, customers_password,'#10' ' +
|
|
' rdx_customers_id_local,'#10' customers_info_date_account_created' +
|
|
' as date_account_created,'#10' customers_info_date_account_last_m' +
|
|
'odified as date_account_last_modified'#10' FROM'#10' customers'#10' INN' +
|
|
'ER JOIN customers_info ON (customers_info.customers_info_id = cu' +
|
|
'stomers.customers_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'customers_firstname'
|
|
TableField = 'customers_firstname'
|
|
end
|
|
item
|
|
DatasetField = 'customers_lastname'
|
|
TableField = 'customers_lastname'
|
|
end
|
|
item
|
|
DatasetField = 'customers_email_address'
|
|
TableField = 'customers_email_address'
|
|
end
|
|
item
|
|
DatasetField = 'customers_default_address_id'
|
|
TableField = 'customers_default_address_id'
|
|
end
|
|
item
|
|
DatasetField = 'customers_telephone'
|
|
TableField = 'customers_telephone'
|
|
end
|
|
item
|
|
DatasetField = 'customers_fax'
|
|
TableField = 'customers_fax'
|
|
end
|
|
item
|
|
DatasetField = 'customers_password'
|
|
TableField = 'customers_password'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_customers_id_local'
|
|
TableField = 'rdx_customers_id_local'
|
|
end
|
|
item
|
|
DatasetField = 'customers_id'
|
|
TableField = 'customers_id'
|
|
end
|
|
item
|
|
DatasetField = 'date_account_created'
|
|
TableField = 'date_account_created'
|
|
end
|
|
item
|
|
DatasetField = 'date_account_last_modified'
|
|
TableField = 'date_account_last_modified'
|
|
end>
|
|
end>
|
|
Name = 'osc_Customers'
|
|
Fields = <
|
|
item
|
|
Name = 'customers_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'osc_Customers_customers_id'
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_firstname'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_lastname'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_email_address'
|
|
DataType = datString
|
|
Size = 96
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_email_address'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_default_address_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_default_address_id'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_telephone'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_telephone'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_fax'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_fax'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_password'
|
|
DataType = datString
|
|
Size = 40
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_customers_password'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_customers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_Customers_rdx_customers_id_local'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'date_account_created'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'date_account_last_modified'
|
|
DataType = datDateTime
|
|
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 = 'MySQL'
|
|
SQL = 'SELECT last_insert_id() as last_id'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'last_id'
|
|
TableField = 'last_id'
|
|
end>
|
|
end>
|
|
Name = 'GetLastID'
|
|
Fields = <
|
|
item
|
|
Name = 'last_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'GetLastID_last_id'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = '1'
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'address_book'
|
|
SQL =
|
|
'SELECT '#10' address_book_id, customers_id, entry_gender, entry_c' +
|
|
'ompany, '#10' entry_firstname, entry_lastname, entry_street_addre' +
|
|
'ss, '#10' entry_suburb, entry_postcode, entry_city, entry_state, ' +
|
|
#10' entry_country_id, entry_zone_id, rdx_address_book_id_local'#10 +
|
|
' FROM'#10' address_book'#10' WHERE customers_id = :customers_id'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'address_book_id'
|
|
TableField = 'address_book_id'
|
|
end
|
|
item
|
|
DatasetField = 'customers_id'
|
|
TableField = 'customers_id'
|
|
end
|
|
item
|
|
DatasetField = 'entry_gender'
|
|
TableField = 'entry_gender'
|
|
end
|
|
item
|
|
DatasetField = 'entry_company'
|
|
TableField = 'entry_company'
|
|
end
|
|
item
|
|
DatasetField = 'entry_firstname'
|
|
TableField = 'entry_firstname'
|
|
end
|
|
item
|
|
DatasetField = 'entry_lastname'
|
|
TableField = 'entry_lastname'
|
|
end
|
|
item
|
|
DatasetField = 'entry_street_address'
|
|
TableField = 'entry_street_address'
|
|
end
|
|
item
|
|
DatasetField = 'entry_suburb'
|
|
TableField = 'entry_suburb'
|
|
end
|
|
item
|
|
DatasetField = 'entry_postcode'
|
|
TableField = 'entry_postcode'
|
|
end
|
|
item
|
|
DatasetField = 'entry_city'
|
|
TableField = 'entry_city'
|
|
end
|
|
item
|
|
DatasetField = 'entry_state'
|
|
TableField = 'entry_state'
|
|
end
|
|
item
|
|
DatasetField = 'entry_country_id'
|
|
TableField = 'entry_country_id'
|
|
end
|
|
item
|
|
DatasetField = 'entry_zone_id'
|
|
TableField = 'entry_zone_id'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_address_book_id_local'
|
|
TableField = 'rdx_address_book_id_local'
|
|
end>
|
|
end>
|
|
Name = 'osc_AddressBook'
|
|
Fields = <
|
|
item
|
|
Name = 'address_book_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_customers_id'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_gender'
|
|
DataType = datString
|
|
Size = 1
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_gender'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_company'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_company'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_firstname'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_lastname'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_street_address'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_street_address'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_suburb'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_suburb'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_postcode'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_postcode'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_city'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_city'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_state'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_state'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_country_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_country_id'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'entry_zone_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_entry_zone_id'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_address_book_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'osc_AddressBook_rdx_address_book_id_local'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'TIENDA_WEB'
|
|
SQL =
|
|
'SELECT'#10' ID, ID_EMPRESA, TIENDA_ACTIVA, BDSERVER, BDPORT, BDNA' +
|
|
'ME, '#10' BDUSER, BDPASS, ULTIMA_ACTUALIZACION'#10' FROM'#10' TIENDA_' +
|
|
'WEB'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'ID'
|
|
TableField = 'ID'
|
|
end
|
|
item
|
|
DatasetField = 'ID_EMPRESA'
|
|
TableField = 'ID_EMPRESA'
|
|
end
|
|
item
|
|
DatasetField = 'TIENDA_ACTIVA'
|
|
TableField = 'TIENDA_ACTIVA'
|
|
end
|
|
item
|
|
DatasetField = 'BDSERVER'
|
|
TableField = 'BDSERVER'
|
|
end
|
|
item
|
|
DatasetField = 'BDPORT'
|
|
TableField = 'BDPORT'
|
|
end
|
|
item
|
|
DatasetField = 'BDNAME'
|
|
TableField = 'BDNAME'
|
|
end
|
|
item
|
|
DatasetField = 'BDUSER'
|
|
TableField = 'BDUSER'
|
|
end
|
|
item
|
|
DatasetField = 'BDPASS'
|
|
TableField = 'BDPASS'
|
|
end
|
|
item
|
|
DatasetField = 'ULTIMA_ACTUALIZACION'
|
|
TableField = 'ULTIMA_ACTUALIZACION'
|
|
end>
|
|
end>
|
|
Name = 'TiendaWeb'
|
|
Fields = <
|
|
item
|
|
Name = 'ID'
|
|
DataType = datAutoInc
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_ID'
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'ID_EMPRESA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_ID_EMPRESA'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'TIENDA_ACTIVA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_TIENDA_ACTIVA'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BDSERVER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_BDSERVER'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BDPORT'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_BDPORT'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BDNAME'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_BDNAME'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BDUSER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_BDUSER'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'BDPASS'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_BDPASS'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'ULTIMA_ACTUALIZACION'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DictionaryEntry = 'TiendaWeb_ULTIMA_ACTUALIZACION'
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers'
|
|
SQL =
|
|
'SELECT '#10' manufacturers_id, manufacturers_name, manufacturers_' +
|
|
'image, '#10' date_added, last_modified, rdx_manufacturers_id_loca' +
|
|
'l'#10' FROM'#10' manufacturers'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'manufacturers_id'
|
|
TableField = 'manufacturers_id'
|
|
end
|
|
item
|
|
DatasetField = 'manufacturers_name'
|
|
TableField = 'manufacturers_name'
|
|
end
|
|
item
|
|
DatasetField = 'manufacturers_image'
|
|
TableField = 'manufacturers_image'
|
|
end
|
|
item
|
|
DatasetField = 'date_added'
|
|
TableField = 'date_added'
|
|
end
|
|
item
|
|
DatasetField = 'last_modified'
|
|
TableField = 'last_modified'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_manufacturers_id_local'
|
|
TableField = 'rdx_manufacturers_id_local'
|
|
end>
|
|
end>
|
|
Name = 'osc_Manufacturers'
|
|
Fields = <
|
|
item
|
|
Name = 'manufacturers_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DefaultValue = '0'
|
|
Required = True
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'manufacturers_name'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DefaultValue = #39#39
|
|
Required = True
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'manufacturers_image'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'date_added'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'last_modified'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_manufacturers_id_local'
|
|
DataType = datInteger
|
|
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 = 'MySQL'
|
|
TargetTable = 'languages'
|
|
SQL =
|
|
'SELECT '#10' languages_id, name, code, image, directory, sort_ord' +
|
|
'er'#10' FROM'#10' languages'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'languages_id'
|
|
TableField = 'languages_id'
|
|
end
|
|
item
|
|
DatasetField = 'name'
|
|
TableField = 'name'
|
|
end
|
|
item
|
|
DatasetField = 'code'
|
|
TableField = 'code'
|
|
end
|
|
item
|
|
DatasetField = 'image'
|
|
TableField = 'image'
|
|
end
|
|
item
|
|
DatasetField = 'directory'
|
|
TableField = 'directory'
|
|
end
|
|
item
|
|
DatasetField = 'sort_order'
|
|
TableField = 'sort_order'
|
|
end>
|
|
end>
|
|
Name = 'osc_Languages'
|
|
Description = 'Esta tabla es s'#243'lo de consulta'
|
|
Fields = <
|
|
item
|
|
Name = 'languages_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DefaultValue = '0'
|
|
Required = True
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'name'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DefaultValue = #39#39
|
|
Required = True
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'code'
|
|
DataType = datString
|
|
Size = 2
|
|
BlobType = dabtUnknown
|
|
DefaultValue = #39#39
|
|
Required = True
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'image'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'directory'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'sort_order'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products'
|
|
SQL =
|
|
'SELECT'#10' products.products_id,'#10' products_description.products_n' +
|
|
'ame,'#10' products_description.products_description,'#10' products.pro' +
|
|
'ducts_model,'#10' products.products_date_added,'#10' products.products' +
|
|
'_last_modified,'#10' products.products_status,'#10' products.manufactu' +
|
|
'rers_id,'#10' products.rdx_products_id_local'#10'FROM'#10' products_descri' +
|
|
'ption'#10' INNER JOIN products ON (products_description.products_id' +
|
|
' = products.products_id)'#10' INNER JOIN languages ON (products_des' +
|
|
'cription.language_id = languages.languages_id)'#10' INNER JOIN conf' +
|
|
'iguration ON (languages.code = configuration.configuration_value' +
|
|
')'#10'WHERE'#10' configuration.configuration_key = '#39'DEFAULT_LANGUAGE'#39
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'products_id'
|
|
TableField = 'products_id'
|
|
end
|
|
item
|
|
DatasetField = 'products_model'
|
|
TableField = 'products_model'
|
|
end
|
|
item
|
|
DatasetField = 'products_date_added'
|
|
TableField = 'products_date_added'
|
|
end
|
|
item
|
|
DatasetField = 'products_last_modified'
|
|
TableField = 'products_last_modified'
|
|
end
|
|
item
|
|
DatasetField = 'manufacturers_id'
|
|
TableField = 'manufacturers_id'
|
|
end
|
|
item
|
|
DatasetField = 'products_name'
|
|
TableField = 'products_name'
|
|
end
|
|
item
|
|
DatasetField = 'products_description'
|
|
TableField = 'products_description'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_products_id_local'
|
|
TableField = 'rdx_products_id_local'
|
|
end
|
|
item
|
|
DatasetField = 'products_status'
|
|
TableField = 'products_status'
|
|
end>
|
|
end>
|
|
Name = 'osc_Products'
|
|
Fields = <
|
|
item
|
|
Name = 'products_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DefaultValue = '0'
|
|
Required = True
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_name'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_description'
|
|
DataType = datMemo
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_model'
|
|
DataType = datString
|
|
Size = 12
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_date_added'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Required = True
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_last_modified'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_status'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_products_id_local'
|
|
DataType = datInteger
|
|
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 = 'MySQL'
|
|
TargetTable = 'orders'
|
|
SQL =
|
|
'SELECT'#10' orders.orders_id,'#10' orders.rdx_orders_id_local,'#10' order' +
|
|
's.customers_id,'#10' customers.rdx_customers_id_local,'#10' orders.del' +
|
|
'ivery_name,'#10' orders.delivery_company,'#10' orders.delivery_street_' +
|
|
'address,'#10' orders.delivery_suburb,'#10' orders.delivery_city,'#10' ord' +
|
|
'ers.delivery_postcode,'#10' orders.delivery_state,'#10' orders.deliver' +
|
|
'y_country,'#10' orders.last_modified,'#10' orders.date_purchased,'#10' or' +
|
|
'ders.orders_status,'#10' orders.orders_date_finished,'#10' orders_stat' +
|
|
'us_history.comments'#10'FROM'#10' orders'#10' INNER JOIN orders_status_his' +
|
|
'tory ON'#10' ((orders_status_history.orders_id = orders.order' +
|
|
's_id) AND'#10' (orders_status_history.orders_status_id = ord' +
|
|
'ers.orders_status))'#10' INNER JOIN customers ON (orders.customers_' +
|
|
'id = customers.customers_id)'#10'WHERE orders.orders_date_finished I' +
|
|
'S NULL'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'orders_id'
|
|
TableField = 'orders_id'
|
|
end
|
|
item
|
|
DatasetField = 'customers_id'
|
|
TableField = 'customers_id'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_name'
|
|
TableField = 'delivery_name'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_company'
|
|
TableField = 'delivery_company'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_street_address'
|
|
TableField = 'delivery_street_address'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_suburb'
|
|
TableField = 'delivery_suburb'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_city'
|
|
TableField = 'delivery_city'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_postcode'
|
|
TableField = 'delivery_postcode'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_state'
|
|
TableField = 'delivery_state'
|
|
end
|
|
item
|
|
DatasetField = 'delivery_country'
|
|
TableField = 'delivery_country'
|
|
end
|
|
item
|
|
DatasetField = 'last_modified'
|
|
TableField = 'last_modified'
|
|
end
|
|
item
|
|
DatasetField = 'date_purchased'
|
|
TableField = 'date_purchased'
|
|
end
|
|
item
|
|
DatasetField = 'orders_status'
|
|
TableField = 'orders_status'
|
|
end
|
|
item
|
|
DatasetField = 'orders_date_finished'
|
|
TableField = 'orders_date_finished'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_orders_id_local'
|
|
TableField = 'rdx_orders_id_local'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_customers_id_local'
|
|
TableField = 'rdx_customers_id_local'
|
|
end
|
|
item
|
|
DatasetField = 'comments'
|
|
TableField = 'comments'
|
|
end>
|
|
end>
|
|
Name = 'osc_Orders'
|
|
Fields = <
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_orders_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_customers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_name'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_company'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_street_address'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_suburb'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_city'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_postcode'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_state'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'delivery_country'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'last_modified'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'date_purchased'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'orders_status'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'orders_date_finished'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'comments'
|
|
DataType = datMemo
|
|
BlobType = dabtMemo
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = '1'
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders_products'
|
|
SQL =
|
|
'SELECT'#10' orders_products.orders_products_id,'#10' orders_products.o' +
|
|
'rders_id,'#10' orders_products.products_id,'#10' products.rdx_products' +
|
|
'_id_local,'#10' orders_products.products_model,'#10' orders_products.p' +
|
|
'roducts_name,'#10' orders_products.products_price,'#10' orders_product' +
|
|
's.final_price,'#10' orders_products.products_tax,'#10' orders_products' +
|
|
'.products_quantity'#10'FROM'#10' orders_products'#10' INNER JOIN products ' +
|
|
'ON (orders_products.products_id = products.products_id)'#10'WHERE or' +
|
|
'ders_products.orders_id = :orders_id'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'orders_products_id'
|
|
TableField = 'orders_products_id'
|
|
end
|
|
item
|
|
DatasetField = 'orders_id'
|
|
TableField = 'orders_id'
|
|
end
|
|
item
|
|
DatasetField = 'products_id'
|
|
TableField = 'products_id'
|
|
end
|
|
item
|
|
DatasetField = 'products_model'
|
|
TableField = 'products_model'
|
|
end
|
|
item
|
|
DatasetField = 'products_name'
|
|
TableField = 'products_name'
|
|
end
|
|
item
|
|
DatasetField = 'products_price'
|
|
TableField = 'products_price'
|
|
end
|
|
item
|
|
DatasetField = 'final_price'
|
|
TableField = 'final_price'
|
|
end
|
|
item
|
|
DatasetField = 'products_tax'
|
|
TableField = 'products_tax'
|
|
end
|
|
item
|
|
DatasetField = 'products_quantity'
|
|
TableField = 'products_quantity'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_products_id_local'
|
|
TableField = 'rdx_products_id_local'
|
|
end>
|
|
end>
|
|
Name = 'osc_Orders_products'
|
|
Fields = <
|
|
item
|
|
Name = 'orders_products_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_products_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_model'
|
|
DataType = datString
|
|
Size = 12
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_name'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_price'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'final_price'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_tax'
|
|
DataType = datFloat
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'products_quantity'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
ReadOnly = True
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders_status_history'
|
|
SQL =
|
|
'SELECT'#10' orders_status_history.orders_status_history_id,'#10' order' +
|
|
's_status_history.orders_id,'#10' orders.rdx_orders_id_local,'#10' orde' +
|
|
'rs_status_history.orders_status_id,'#10' orders_status_history.date' +
|
|
'_added,'#10' orders_status_history.customer_notified,'#10' orders_stat' +
|
|
'us_history.comments'#10'FROM'#10' orders_status_history'#10' INNER JOIN or' +
|
|
'ders ON (orders_status_history.orders_id = orders.orders_id)'#10'WHE' +
|
|
'RE'#10' orders_status_history.orders_id = :orders_id'
|
|
StatementType = stSQL
|
|
ColumnMappings = <
|
|
item
|
|
DatasetField = 'orders_status_history_id'
|
|
TableField = 'orders_status_history_id'
|
|
end
|
|
item
|
|
DatasetField = 'orders_id'
|
|
TableField = 'orders_id'
|
|
end
|
|
item
|
|
DatasetField = 'orders_status_id'
|
|
TableField = 'orders_status_id'
|
|
end
|
|
item
|
|
DatasetField = 'date_added'
|
|
TableField = 'date_added'
|
|
end
|
|
item
|
|
DatasetField = 'customer_notified'
|
|
TableField = 'customer_notified'
|
|
end
|
|
item
|
|
DatasetField = 'comments'
|
|
TableField = 'comments'
|
|
end
|
|
item
|
|
DatasetField = 'rdx_orders_id_local'
|
|
TableField = 'rdx_orders_id_local'
|
|
end>
|
|
end>
|
|
Name = 'osc_Orders_status_history'
|
|
Fields = <
|
|
item
|
|
Name = 'orders_status_history_id'
|
|
DataType = datAutoInc
|
|
Description = #161#161#161#161#161#161' ESTE CAMPO TIENE QUE SER AUTOINC PARA QUE FUNCIONE !!!!!'
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
ServerAutoRefresh = True
|
|
InPrimaryKey = True
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'rdx_orders_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'orders_status_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'date_added'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'customer_notified'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end
|
|
item
|
|
Name = 'comments'
|
|
DataType = datMemo
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
InPrimaryKey = False
|
|
Calculated = False
|
|
Lookup = False
|
|
LookupCache = False
|
|
end>
|
|
BusinessRulesClient.ScriptLanguage = rslPascalScript
|
|
BusinessRulesServer.ScriptLanguage = rslPascalScript
|
|
end>
|
|
Commands = <
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'ID'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'ID_EMPRESA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'TIENDA_ACTIVA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDSERVER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDPORT'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDNAME'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDUSER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDPASS'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'ULTIMA_ACTUALIZACION'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'TIENDA_WEB'
|
|
SQL =
|
|
'INSERT'#10' INTO TIENDA_WEB'#10' (ID, ID_EMPRESA, TIENDA_ACTIVA, BDS' +
|
|
'ERVER, BDPORT, BDNAME, '#10' BDUSER, BDPASS, ULTIMA_ACTUALIZACIO' +
|
|
'N)'#10' VALUES'#10' (:ID, :ID_EMPRESA, :TIENDA_ACTIVA, :BDSERVER, :B' +
|
|
'DPORT, '#10' :BDNAME, :BDUSER, :BDPASS, :ULTIMA_ACTUALIZACION)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_TiendaWeb'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_ID'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'TIENDA_WEB'
|
|
SQL = 'DELETE '#10' FROM'#10' TIENDA_WEB'#10' WHERE'#10' (ID = :OLD_ID)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_TiendaWeb'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'ID_EMPRESA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'TIENDA_ACTIVA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'ULTIMA_ACTUALIZACION'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDSERVER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDPORT'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDNAME'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDUSER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'BDPASS'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_ID'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'IBX'
|
|
TargetTable = 'TIENDA_WEB'
|
|
SQL =
|
|
'UPDATE TIENDA_WEB'#10' SET '#10' ID_EMPRESA = :ID_EMPRESA,'#10' TIEND' +
|
|
'A_ACTIVA = :TIENDA_ACTIVA, '#10' ULTIMA_ACTUALIZACION = :ULTIMA_A' +
|
|
'CTUALIZACION,'#10' BDSERVER = :BDSERVER, '#10' BDPORT = :BDPORT, '#10 +
|
|
' BDNAME = :BDNAME, '#10' BDUSER = :BDUSER, '#10' BDPASS = :BDPA' +
|
|
'SS'#10' WHERE'#10' (ID = :OLD_ID)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_TiendaWeb'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customers_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_email_address'
|
|
DataType = datString
|
|
Size = 96
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_default_address_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_telephone'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_fax'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_password'
|
|
DataType = datString
|
|
Size = 40
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_customers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers'
|
|
SQL =
|
|
'INSERT'#10' INTO customers'#10' (customers_firstname,'#10' customers' +
|
|
'_lastname, customers_email_address,'#10' customers_default_addre' +
|
|
'ss_id, customers_telephone, '#10' customers_fax, customers_passw' +
|
|
'ord,'#10' rdx_customers_id_local)'#10' VALUES'#10' (:customers_first' +
|
|
'name,'#10' :customers_lastname, :customers_email_address,'#10' :' +
|
|
'customers_default_address_id, :customers_telephone, '#10' :custo' +
|
|
'mers_fax, :customers_password,'#10' :rdx_customers_id_local)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_Customers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' customers'#10' WHERE'#10' (customers_id = :OLD_cu' +
|
|
'stomers_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_Customers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customers_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_email_address'
|
|
DataType = datString
|
|
Size = 96
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_default_address_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_telephone'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_fax'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customers_password'
|
|
DataType = datString
|
|
Size = 40
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_customers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers'
|
|
SQL =
|
|
'UPDATE customers'#10' SET'#10' customers_firstname = :customers_firs' +
|
|
'tname,'#10' customers_lastname = :customers_lastname,'#10' custome' +
|
|
'rs_email_address = :customers_email_address,'#10' customers_defau' +
|
|
'lt_address_id = :customers_default_address_id,'#10' customers_tel' +
|
|
'ephone = :customers_telephone,'#10' customers_fax = :customers_fa' +
|
|
'x,'#10' customers_password = :customers_password,'#10' rdx_custome' +
|
|
'rs_id_local = :rdx_customers_id_local'#10' WHERE'#10' (customers_id ' +
|
|
'= :OLD_customers_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_Customers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customers_info_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_customers_info_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers_info'
|
|
SQL =
|
|
'INSERT'#10' INTO customers_info'#10' (customers_info_id, customers_i' +
|
|
'nfo_date_account_created,'#10' customers_info_number_of_logons,'#10 +
|
|
' rdx_customers_info_id_local)'#10' VALUES'#10' (:customers_info_' +
|
|
'id,'#10' CURRENT_TIMESTAMP,'#10' 0,'#10' :rdx_customers_info_id_' +
|
|
'local)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_Customers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_customers_info_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers_info'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' customers_info'#10' WHERE'#10' (customers_info_id' +
|
|
' = :OLD_customers_info_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_Customers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'rdx_customers_info_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_customers_info_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'customers_info'
|
|
SQL =
|
|
'UPDATE customers_info'#10' SET'#10' customers_info_date_account_last' +
|
|
'_modified = CURRENT_TIMESTAMP(),'#10' rdx_customers_info_id_local' +
|
|
' = :rdx_customers_info_id_local'#10' WHERE'#10' (customers_info_id =' +
|
|
' :OLD_customers_info_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_Customers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_gender'
|
|
DataType = datString
|
|
Size = 1
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_company'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_street_address'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_suburb'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_postcode'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_city'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_state'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_country_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_zone_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_address_book_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'address_book'
|
|
SQL =
|
|
'INSERT'#10' INTO address_book'#10' (customers_id, entry_gender, entr' +
|
|
'y_company, entry_firstname,'#10' entry_lastname, entry_street_ad' +
|
|
'dress, entry_suburb, '#10' entry_postcode, entry_city, entry_sta' +
|
|
'te, entry_country_id, '#10' entry_zone_id, rdx_address_book_id_l' +
|
|
'ocal)'#10' VALUES'#10' (:customers_id, :entry_gender, :entry_company' +
|
|
', :entry_firstname,'#10' :entry_lastname, :entry_street_address,' +
|
|
' :entry_suburb, '#10' :entry_postcode, :entry_city, :entry_state' +
|
|
', :entry_country_id, '#10' :entry_zone_id, :rdx_address_book_id_' +
|
|
'local)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_AddressBook'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_address_book_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'address_book'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' address_book'#10' WHERE'#10' (address_book_id = :' +
|
|
'OLD_address_book_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_AddressBook'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'entry_gender'
|
|
DataType = datString
|
|
Size = 1
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_company'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_street_address'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_suburb'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_postcode'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_city'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_state'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_country_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'entry_zone_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_address_book_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_address_book_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'address_book'
|
|
SQL =
|
|
'UPDATE address_book'#10' SET'#10' entry_gender = :entry_gender,'#10' ' +
|
|
'entry_company = :entry_company,'#10' entry_firstname = :entry_fir' +
|
|
'stname,'#10' entry_lastname = :entry_lastname,'#10' entry_street_a' +
|
|
'ddress = :entry_street_address,'#10' entry_suburb = :entry_suburb' +
|
|
','#10' entry_postcode = :entry_postcode,'#10' entry_city = :entry_' +
|
|
'city,'#10' entry_state = :entry_state,'#10' entry_country_id = :en' +
|
|
'try_country_id,'#10' entry_zone_id = :entry_zone_id,'#10' rdx_addr' +
|
|
'ess_book_id_local = :rdx_address_book_id_local'#10' WHERE'#10' (addr' +
|
|
'ess_book_id = :OLD_address_book_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_AddressBook'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'manufacturers_name'
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptUnknown
|
|
end
|
|
item
|
|
Name = 'rdx_manufacturers_id_local'
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptUnknown
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers'
|
|
SQL =
|
|
'INSERT'#10' INTO manufacturers'#10' (manufacturers_name,'#10' date_a' +
|
|
'dded, last_modified, rdx_manufacturers_id_local)'#10' VALUES'#10' (:' +
|
|
'manufacturers_name, CURRENT_TIMESTAMP,'#10' null, :rdx_manufactu' +
|
|
'rers_id_local)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Manufacturers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' manufacturers'#10' WHERE'#10' (manufacturers_id =' +
|
|
' :OLD_manufacturers_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Manufacturers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'manufacturers_name'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'manufacturers_image'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'date_added'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'last_modified'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_manufacturers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers'
|
|
SQL =
|
|
'UPDATE manufacturers'#10' SET '#10' manufacturers_name = :manufactur' +
|
|
'ers_name,'#10' manufacturers_image = :manufacturers_image, '#10' d' +
|
|
'ate_added = :date_added, '#10' last_modified = :last_modified, '#10' ' +
|
|
' rdx_manufacturers_id_local = :rdx_manufacturers_id_local'#10' WH' +
|
|
'ERE'#10' (manufacturers_id = :OLD_manufacturers_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Manufacturers'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'languages_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'manufacturers_url'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'url_clicked'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'date_last_click'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers_info'
|
|
SQL =
|
|
'INSERT'#10' INTO manufacturers_info'#10' (manufacturers_id, language' +
|
|
's_id, manufacturers_url, '#10' url_clicked, date_last_click)'#10' V' +
|
|
'ALUES'#10' (:manufacturers_id, :languages_id, :manufacturers_url,' +
|
|
' '#10' :url_clicked, :date_last_click)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Manufacturers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_languages_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers_info'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' manufacturers_info'#10' WHERE'#10' (manufacturers' +
|
|
'_id = :OLD_manufacturers_id) AND '#10' (languages_id = :OLD_langu' +
|
|
'ages_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Manufacturers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'manufacturers_url'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'url_clicked'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'date_last_click'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_languages_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'manufacturers_info'
|
|
SQL =
|
|
'UPDATE manufacturers_info'#10' SET '#10' manufacturers_url = :manufa' +
|
|
'cturers_url,'#10' url_clicked = :url_clicked, '#10' date_last_clic' +
|
|
'k = :date_last_click'#10' WHERE'#10' (manufacturers_id = :OLD_manufa' +
|
|
'cturers_id) AND '#10' (languages_id = :OLD_languages_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Manufacturers_info'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_model'
|
|
DataType = datString
|
|
Size = 12
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_status'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_products_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products'
|
|
SQL =
|
|
'INSERT'#10' INTO products'#10' (products_model, products_status,'#10' ' +
|
|
' products_date_added, products_last_modified,'#10' manufacturer' +
|
|
's_id, rdx_products_id_local)'#10' VALUES'#10' (:products_model, :pro' +
|
|
'ducts_status, current_timestamp, null,'#10' :manufacturers_id, :' +
|
|
'rdx_products_id_local)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Products'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' products'#10' WHERE'#10' (products_id = :OLD_prod' +
|
|
'ucts_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Products'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_model'
|
|
DataType = datString
|
|
Size = 12
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_status'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'manufacturers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_products_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products'
|
|
SQL =
|
|
'UPDATE products SET'#10' products_model = :products_model,'#10' pr' +
|
|
'oducts_status = :products_status,'#10' products_last_modified = c' +
|
|
'urrent_timestamp,'#10' manufacturers_id = :manufacturers_id,'#10' ' +
|
|
'rdx_products_id_local = :rdx_products_id_local'#10' WHERE'#10' (prod' +
|
|
'ucts_id = :OLD_products_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Products'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'categories_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_to_categories'
|
|
SQL =
|
|
'INSERT'#10' INTO products_to_categories'#10' (products_id, categorie' +
|
|
's_id)'#10' VALUES'#10' (:products_id, :categories_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Products_to_categories'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_categories_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_to_categories'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' products_to_categories'#10' WHERE'#10' (products_' +
|
|
'id = :OLD_products_id) AND '#10' (categories_id = :OLD_categories' +
|
|
'_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Products_to_categories'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'categories_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_categories_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_to_categories'
|
|
SQL =
|
|
'UPDATE products_to_categories'#10' SET '#10' products_id = :products' +
|
|
'_id, '#10' categories_id = :categories_id'#10' WHERE'#10' (products_i' +
|
|
'd = :OLD_products_id) AND '#10' (categories_id = :OLD_categories_' +
|
|
'id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Products_to_categories'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'language_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_name'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_description'
|
|
DataType = datString
|
|
Size = 65535
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_url'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_viewed'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_description'
|
|
SQL =
|
|
'INSERT'#10' INTO products_description'#10' (products_id, language_id' +
|
|
', products_name, products_description, '#10' products_url, produ' +
|
|
'cts_viewed)'#10' VALUES'#10' (:products_id, :language_id, :products_' +
|
|
'name, :products_description, '#10' :products_url, :products_view' +
|
|
'ed)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Products_description'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_language_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_description'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' products_description'#10' WHERE'#10' (products_id' +
|
|
' = :OLD_products_id) AND '#10' (language_id = :OLD_language_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Products_description'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'products_name'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_description'
|
|
DataType = datString
|
|
Size = 65535
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_url'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'products_viewed'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_products_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_language_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'products_description'
|
|
SQL =
|
|
'UPDATE products_description'#10' SET '#10' products_name = :products' +
|
|
'_name,'#10' products_description = :products_description, '#10' pr' +
|
|
'oducts_url = :products_url, '#10' products_viewed = :products_vie' +
|
|
'wed'#10' WHERE'#10' (products_id = :OLD_products_id) AND '#10' (langu' +
|
|
'age_id = :OLD_language_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Products_description'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' orders'#10' WHERE'#10' (orders_id = :OLD_orders_i' +
|
|
'd)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Orders'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'orders_status'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'orders_date_finished'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'rdx_orders_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders'
|
|
SQL =
|
|
'UPDATE orders'#10' SET '#10' last_modified = current_timestamp,'#10' ' +
|
|
'orders_status = :orders_status,'#10' orders_date_finished = :orde' +
|
|
'rs_date_finished, '#10' rdx_orders_id_local = :rdx_orders_id_loca' +
|
|
'l'#10' WHERE'#10' (orders_id = :OLD_orders_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Orders'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'orders_status_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'customer_notified'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'comments'
|
|
DataType = datString
|
|
Size = 65535
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders_status_history'
|
|
SQL =
|
|
'INSERT'#10' INTO orders_status_history'#10' (orders_id, orders_statu' +
|
|
's_id, date_added, customer_notified, '#10' comments)'#10' VALUES'#10' ' +
|
|
' (:orders_id, :orders_status_id, CURRENT_TIMESTAMP, :customer_n' +
|
|
'otified,'#10' :comments)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Insert_osc_Orders_status_history'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'OLD_orders_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders_status_history'
|
|
SQL =
|
|
'DELETE '#10' FROM'#10' orders_status_history'#10' WHERE'#10' (orders_id ' +
|
|
'= :OLD_orders_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Delete_osc_Orders_status_history'
|
|
end
|
|
item
|
|
Params = <
|
|
item
|
|
Name = 'customer_notified'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'comments'
|
|
DataType = datString
|
|
Size = 65535
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end
|
|
item
|
|
Name = 'OLD_orders_status_history_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
Value = ''
|
|
ParamType = daptInput
|
|
end>
|
|
Statements = <
|
|
item
|
|
Connection = 'MySQL'
|
|
TargetTable = 'orders_status_history'
|
|
SQL =
|
|
'UPDATE orders_status_history'#10' SET '#10' customer_notified = :cus' +
|
|
'tomer_notified,'#10' comments = :comments, '#10' WHERE'#10' (orders_s' +
|
|
'tatus_history_id = :OLD_orders_status_history_id)'
|
|
StatementType = stSQL
|
|
ColumnMappings = <>
|
|
end>
|
|
Name = 'Update_osc_Orders_status_history'
|
|
end>
|
|
RelationShips = <>
|
|
UpdateRules = <
|
|
item
|
|
Name = 'Insert_Update_osc_Customers'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Customers'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Customers_info'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Customers_info'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_AddressBook'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_AddressBook'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_AddressBook'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_AddressBook'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Customers_info'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Customers_info'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Customers'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Customers'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Manufacturers'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Manufacturers'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Manufacturers_info'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Manufacturers_info'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Manufacturers_info'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Manufacturers_info'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Manufacturers'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Manufacturers'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Products'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Products'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Products_to_categories'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Products_to_categories'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Products_description'
|
|
DoUpdate = False
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Products_description'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Products_description'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Products_description'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Products_to_categories'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Products_to_categories'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Products'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Products'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Orders'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Orders'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Orders_products'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Orders_products'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Insert_Update_osc_Orders_status_history'
|
|
DoUpdate = True
|
|
DoInsert = True
|
|
DoDelete = False
|
|
DatasetName = 'osc_Orders_status_history'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Orders_status_history'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Orders_status_history'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Orders_products'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Orders_products'
|
|
FailureBehaviour = fbRaiseException
|
|
end
|
|
item
|
|
Name = 'Delete osc_Orders'
|
|
DoUpdate = False
|
|
DoInsert = False
|
|
DoDelete = True
|
|
DatasetName = 'osc_Orders'
|
|
FailureBehaviour = fbRaiseException
|
|
end>
|
|
Left = 46
|
|
Top = 14
|
|
end
|
|
object DataDictionary: TDADataDictionary
|
|
Fields = <
|
|
item
|
|
Name = 'TiendaWeb_ID'
|
|
DataType = datAutoInc
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'ID'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_ID_EMPRESA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_TIENDA_ACTIVA'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_BDSERVER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_BDPORT'
|
|
DataType = datString
|
|
Size = 20
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_BDNAME'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_BDUSER'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_BDPASS'
|
|
DataType = datString
|
|
Size = 255
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'TiendaWeb_ULTIMA_ACTUALIZACION'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_firstname'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_dob'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_dob'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_lastname'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_email_address'
|
|
DataType = datString
|
|
Size = 96
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_email_address'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_telephone'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_telephone'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_fax'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_fax'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_password'
|
|
DataType = datString
|
|
Size = 40
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_password'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_rdx_customers_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'rdx_customers_id_local'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_customers_default_address_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_default_address_id'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_info_date_account_created'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'date_account_created'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_info_date_account_last_modified'
|
|
DataType = datDateTime
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'date_account_last_modified'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_Customers_info_rdx_customers_info_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'rdx_customers_info_id_local'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_customers_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'customers_id'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_gender'
|
|
DataType = datString
|
|
Size = 1
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_gender'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_company'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_company'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_firstname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_firstname'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_lastname'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_lastname'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_street_address'
|
|
DataType = datString
|
|
Size = 64
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_street_address'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_suburb'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_suburb'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_postcode'
|
|
DataType = datString
|
|
Size = 10
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_postcode'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_city'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_city'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_state'
|
|
DataType = datString
|
|
Size = 32
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_state'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_country_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_country_id'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_entry_zone_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'entry_zone_id'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'osc_AddressBook_rdx_address_book_id_local'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'rdx_address_book_id_local'
|
|
Alignment = taLeftJustify
|
|
end
|
|
item
|
|
Name = 'GetLastID_last_id'
|
|
DataType = datInteger
|
|
BlobType = dabtUnknown
|
|
DisplayWidth = 0
|
|
DisplayLabel = 'last_id'
|
|
Alignment = taLeftJustify
|
|
end>
|
|
Left = 147
|
|
Top = 14
|
|
end
|
|
object DABINAdapter: TDABINAdapter
|
|
Left = 48
|
|
Top = 80
|
|
end
|
|
object Diagrams: TDADiagrams
|
|
Left = 150
|
|
Top = 80
|
|
DiagramData =
|
|
'<Diagrams>'#13#10' <Diagram Name="{4B042E3C-921B-411A-AAB1-4778D2BEB5' +
|
|
'8B}" Left="200" Top="200" Width="400" Height="300">'#13#10' </Diagram' +
|
|
'>'#13#10'</Diagrams>'#13#10
|
|
end
|
|
object bpTiendaWeb: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_TiendaWeb'
|
|
DeleteCommandName = 'Delete_TiendaWeb'
|
|
UpdateCommandName = 'Update_TiendaWeb'
|
|
ReferencedDataset = 'TiendaWeb'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 264
|
|
Top = 22
|
|
end
|
|
object bp_osc_Customers: TDABusinessProcessor
|
|
OnGenerateSQL = bp_osc_CustomersGenerateSQL
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_Customers'
|
|
DeleteCommandName = 'Delete_Customers'
|
|
UpdateCommandName = 'Update_Customers'
|
|
ReferencedDataset = 'osc_Customers'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 384
|
|
Top = 22
|
|
end
|
|
object bp_osc_AddressBook: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_AddressBook'
|
|
DeleteCommandName = 'Delete_AddressBook'
|
|
UpdateCommandName = 'Update_AddressBook'
|
|
ReferencedDataset = 'osc_AddressBook'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 384
|
|
Top = 86
|
|
end
|
|
object bp_osc_Manufacturers: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_osc_Manufacturers'
|
|
DeleteCommandName = 'Delete_osc_Manufacturers'
|
|
UpdateCommandName = 'Update_osc_Manufacturers'
|
|
ReferencedDataset = 'osc_Manufacturers'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 496
|
|
Top = 22
|
|
end
|
|
object bp_osc_Products: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_osc_Products'
|
|
DeleteCommandName = 'Delete_osc_Products'
|
|
UpdateCommandName = 'Update_osc_Products'
|
|
ReferencedDataset = 'osc_Products'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 496
|
|
Top = 86
|
|
end
|
|
object bp_osc_Orders: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
DeleteCommandName = 'Delete_osc_Orders'
|
|
UpdateCommandName = 'Update_osc_Orders'
|
|
ReferencedDataset = 'osc_Orders'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 48
|
|
Top = 166
|
|
end
|
|
object bp_osc_Orders_status_history: TDABusinessProcessor
|
|
Schema = schTiendaWeb
|
|
InsertCommandName = 'Insert_osc_Orders_status_history'
|
|
DeleteCommandName = 'Delete_osc_Orders_status_history'
|
|
UpdateCommandName = 'Update_osc_Orders_status_history'
|
|
ReferencedDataset = 'osc_Orders_status_history'
|
|
ProcessorOptions = [poAutoGenerateRefreshDataset, poPrepareCommands]
|
|
UpdateMode = updWhereKeyOnly
|
|
Left = 48
|
|
Top = 238
|
|
end
|
|
end
|