Thanks Patrick, Programming the fields seemed to be enough for my needs at this point.
Still I have problem with secondary data fields. Once I retrieve value to them, I wonder why this same value cannot be forwarded to main connection field instantly.
I know I'm not much of a codewriter but this line I have in my code after the data has been retrieved to secondary connection:
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:fwdq_vend_main_info/@postal_code").text = XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:vwdq_cust_post_city_harmonized/@City").text;
So I have main connection field that is supposed to get value from the secondary connection field, but it doesn't do it. I noticed this kind of problem already when trying to built this functionality with built-in rules.