Report substitution for multiple regions (US/GB etc)
Hi,
Currently we have our product in APP store for US region. We have substituted standard D365 BC Chart of accounts report and implemented our logic in US region and works fine. Report Substitution process:
- Exported the report from V1.
- Converted it to V2.
- Imported the report in my project.
- Assigned new object ID to the report and fixed all compiler errors.
- substituted the object ID in OnAfterSubstituteReport trigger.
- Now, when user select Chart of accounts in D365 BC, it opens our report and run our logic.
Now, we are trying to publish the same app for UK/GB region. When i downloaded the UK image and downloaded the symbol in my project, this report error out because the standard Chart of accounts in US and UK are different.
Now how do i deal with this issue.
I can also extract the standard Chart of accounts report from UK and invoke the report based on the region, however, when i submit the app to Microsoft for validation, we dont submit separate app for US and separate app for UK. We just send one and select the multiple supported region (in this case US and UK). IT will not compile my app.
Please help!!
Hi! In this case, our recommendation is to submit two separate extensions for US and UK because the difference in the base app are significant. We don't have any other workaround for this.
@thloke thanks!!
@thloke quick question - when we submit 2 separate extensions for US and UK, (everything is the same except the reports) can we use same app ID. in app.json or do we need to have separate app ID per region.
@Bssivivek - different app extensions require different app IDs and names. So you will need to name and ID your regional apps differently.
@Bssivivek - different app extensions require different app IDs and names. So you will need to name and ID your regional apps differently.
@thloke Can we use the same object id (Ranges) for both App ID?