AL icon indicating copy to clipboard operation
AL copied to clipboard

Report substitution for multiple regions (US/GB etc)

Open Bssivivek opened this issue 7 years ago • 5 comments

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:

  1. Exported the report from V1.
  2. Converted it to V2.
  3. Imported the report in my project.
  4. Assigned new object ID to the report and fixed all compiler errors.
  5. substituted the object ID in OnAfterSubstituteReport trigger.
  6. 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!!

Bssivivek avatar Jun 27 '19 18:06 Bssivivek

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 avatar Jun 28 '19 10:06 thloke

@thloke thanks!!

Bssivivek avatar Jul 02 '19 18:07 Bssivivek

@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 avatar Jul 05 '19 05:07 Bssivivek

@Bssivivek - different app extensions require different app IDs and names. So you will need to name and ID your regional apps differently.

thloke avatar Jul 05 '19 06:07 thloke

@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?

SergioKelly avatar Jul 08 '19 21:07 SergioKelly