Hi All,
In Dynamics 365 for Operations we have a new entity which also includes a packed query. This can be exported if the Staging table will be setup with a memo field type for these fields. Also an example can be found in data entities for warehouse management. (As reference: The data entity WHSWarehouseLocationDirectiveEntity is using the WHSWarehouseLocationDirectiveStaging table with a query field defined as Memo field.) The new entity is working correctly in a local DEV environment, but not in the Acceptance environment at a customer. We found the culprit, but not yet the solution.
Now the problem is that the staging table has the correct value when exporting records, but the exported Excel file has only the first 255 characters of this value. So importing the Excel file with entity data in another environment will have an incorrect value for the packed query. Thanks to Rik Spoor (working on the same project) we already found out that XML seems to export the data correctly.
Did anyone face this same error before and/or knows how to solve the issue with Excel?