Hi,
I have the Data entity with two datasources related.
Main entity datasource (TableA) is actually a table related to multiple tables (e.g. TableD, TableB, TableC) with refRecId and refTableId.
I created a data entity for exporting data from TableA but only records related to TableB.
The thing is that TableA is multicompany (save data per company = no) and TableB is company specific (save data per company = yes).
I want this data entity to be multicompany, so I can export and import data from one legal entity to all legal entities.
Exporting data is not a problem, it exports all records from multiple legal entities. Also, when I am importing new records, it is also ok.
But when it comes to update, I am getting error:
Cannot locate data source record of type TableB with RecId 5637146077. Entity name: XXX, RecId: 5637234576, Database operation: Update.
Any help?