Map(Field: IEtlPlainField): IExpression;
Field is a field for which it is necessary to determine binding.
The Map property returns an object that contains a formula of the link between output field and input fields.
Sub Main;
Var
MB: IMetabase;
EtlTask: IEtlTask;
Object: IEtlPlainDataJoin;
Mapper: IEtlPlainFieldsMapper;
Map: IExpression;
Begin
MB:=MetabaseClass.Active;
EtlTask:=MB.ItemById("ETL").Bind As IEtlTask;
Object:=EtlTask.Item(0) As IEtlPlainDataJoin;
Mapper:=Object.Mapper;
Map:=Mapper.Map(Object.PlainOutput.Fields.Item(0));
End Sub Main;
After executing this example variable Map contains a formula of the link between output field and input fields. ETL task object is Join. Repository object has the ETL identifier.
See also: