Export all legal entities data
In D365FO, if an export project is created for an entity, it exports the data only from the legal entity for which the user has triggered an export.
Setting the property ‘Enable cross-company in the base query of the entity will not help you here.
The behaviour is decided by one of the properties in the Data Entity.
You need to check the value of ‘Primary company context‘ in the entity. By default, it is set to ‘DataAreaId’. This means the data will be exported specifically to the company.
Clear the value from this property if the requirement is to export data from all the legal entities in a single execution.
No comments:
Post a Comment