Quintiq file version 2.0
|
#parent: #root
|
EDIBroker MPSync_ImportCurrenciesFromDBBroker
|
{
|
MDSDefinition: MPSync
|
EDIModelLink.Destination MPSync_DestinationCurrenciesForImport
|
{
|
EDIMLTable IOCurrencyRate_MP
|
{
|
PrimaryKeyColumns: CurrencyID
|
PrimaryKeyColumns: Start
|
SoftDeleteAttribute: IsSoftDeleted
|
TargetType: IOCurrencyRate_MP
|
TypeIndex: IOCurrencyRateTypeIndex
|
WithSoftDelete: true
|
EDIMLColumn CurrencyID { Attribute: CurrencyID ValueType: String }
|
EDIMLColumn Rate { Attribute: Rate ValueType: Real }
|
EDIMLColumn Start { Attribute: Start ValueType: Date }
|
}
|
EDIMLTable IOCurrency_MP
|
{
|
PrimaryKeyColumns: ID
|
SoftDeleteAttribute: IsSoftDeleted
|
TargetType: IOCurrency_MP
|
TypeIndex: IOCurrencyTypeIndex
|
WithSoftDelete: true
|
EDIMLColumn ID { Attribute: ID ValueType: String }
|
EDIMLColumn IsBase { Attribute: IsBase ValueType: Boolean }
|
EDIMLColumn Name { Attribute: Name ValueType: String }
|
EDIMLColumn Symbol { Attribute: Symbol ValueType: String }
|
}
|
}
|
EDIODBCLink.Source MPSync_SourceCurrenciesForImport
|
{
|
DataIntegrityStrategy: 'Disabled'
|
SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.syncobject'
|
EDIODBCLinkTable Currencies
|
{
|
OthersMayCreateTable: true
|
OthersMayDeleteRow: true
|
OthersMayDropTable: true
|
OthersMayFlushTable: true
|
OthersMayInsertRow: true
|
Parameters: '/owner="dbo"'
|
PrimaryKeyColumns: ID
|
RecordModificationHintStrategy: 'None'
|
EDIODBCLinkColumn ID
|
{
|
OthersMayUpdateColumn: true
|
ValueType: String
|
}
|
EDIODBCLinkColumn IsBase
|
{
|
ValueType: Boolean
|
}
|
EDIODBCLinkColumn Name
|
{
|
OthersMayUpdateColumn: true
|
ValueType: String
|
}
|
EDIODBCLinkColumn Symbol
|
{
|
OthersMayUpdateColumn: true
|
ValueType: String
|
}
|
}
|
EDIODBCLinkTable CurrencyRates
|
{
|
OthersMayCreateTable: true
|
OthersMayDeleteRow: true
|
OthersMayDropTable: true
|
OthersMayFlushTable: true
|
OthersMayInsertRow: true
|
Parameters: '/owner="dbo"'
|
PrimaryKeyColumns: CurrencyID
|
PrimaryKeyColumns: Start
|
RecordModificationHintStrategy: 'None'
|
EDIODBCLinkColumn CurrencyID
|
{
|
OthersMayUpdateColumn: true
|
ValueType: String
|
}
|
EDIODBCLinkColumn Rate
|
{
|
OthersMayUpdateColumn: true
|
ValueType: Real
|
}
|
EDIODBCLinkColumn Start
|
{
|
OthersMayUpdateColumn: true
|
ValueType: DateTime
|
}
|
}
|
}
|
EDITransformation.Transformation MPSync_TransformationCurrenciesForImport
|
{
|
EDITableTransformation
|
{
|
InputTable: Currencies
|
OutputTable: IOCurrency_MP
|
EDIColumnMatch { InputColumn: IsBase OutputColumn: IsBase }
|
EDIColumnMatch
|
{
|
InputColumn: Name
|
OutputColumn: Name
|
}
|
EDIColumnMatch
|
{
|
InputColumn: ID
|
OutputColumn: ID
|
}
|
EDIColumnMatch
|
{
|
InputColumn: Symbol
|
OutputColumn: Symbol
|
}
|
}
|
EDITableTransformation
|
{
|
InputTable: CurrencyRates
|
OutputTable: IOCurrencyRate_MP
|
EDIColumnMatch
|
{
|
InputColumn: CurrencyID
|
OutputColumn: CurrencyID
|
}
|
EDIColumnMatch
|
{
|
InputColumn: Start
|
OutputColumn: Start
|
Converter
|
{
|
XMLDefinition:
|
[*
|
<?xml version="1.0" encoding="UTF-16"?>
|
<DateTimeToDate xmlns="http://www.quintiq.com/GEB/DateTimeToDate" Key="@1">
|
<IsStandard>true</IsStandard>
|
<IsISO>false</IsISO>
|
<IsCustom>false</IsCustom>
|
<ConversionType>0</ConversionType>
|
</DateTimeToDate>
|
*]
|
}
|
}
|
EDIColumnMatch
|
{
|
InputColumn: Rate
|
OutputColumn: Rate
|
}
|
}
|
}
|
}
|