Set Additional Reporting Currency demo data for financial reporting#28760
Set Additional Reporting Currency demo data for financial reporting#28760tuan-nguyen-fenwick wants to merge 15 commits intomicrosoft:mainfrom
Conversation
|
This issue has been approved for contribution ✅ Thanks for contributing. |
|
@tuan-nguyen-fenwick, please address the CI build issues. Once build passes, we can move on to the next step! |
@JesperSchulz Thanks, I have addressed the build issues. |
|
Processing this PR. The branch is now locked 🔒 Please don't push updates unless otherwise agreed. |
|
Merged recent changes. Will ask for new review. |
|
Hi @elbardel @JesperSchulz, could you review this PR please? |
|
@WaelAbuSeada I have addressed the error causing in MX. The G/L account numbers seem to be conflicting. Please see the latest commit. |
| GLAccountCategory: Record "G/L Account Category"; | ||
| SubCategory: Text[80]; | ||
| begin | ||
| ContosoGLAccount.AddAccountForLocalization(ResidualFXGainsName(), '9335'); |
There was a problem hiding this comment.
GL account introduced in W1 need to be localized in all countries
|
@elbardel @WaelAbuSeada I've resolved build errors and merge conflicts. PR is now ready for final review. |
|
@attilatoury FYI, I still have this open PR waiting to merge into v28. I've resolved build errors and latest merge conflicts. Let me know if anything else needed to complete this PR. I don't have permissions to add reviewers to PR so I can only tag you in comment. |
|
Not sure what happened to this PR... Let me try to port this right away. |
|
I have created an internal PR for this |
|
This is failing in AT, BE, DE, NL CH, CZ,ES,FI,GB,US and DE. Please fix it and ping me to uptake it again @tuan-nguyen-fenwick |
@WaelAbuSeada I have push fixes to this PR and confirmed in all countries that failed build validations. Can you please run it again?
Platform version: 28.0.45138.0
Platform version: 28.0.44120.0
Platform version: 28.0.44935.0
|
|
@attilatoury Can you help me rerun pipelines to test the fixes please? |
|
@tuan-nguyen-fenwick I've updated the internal PR and the validation pipelines are being run again. @WaelAbuSeada FYI (I only updated the PR, not reviewed the changes) |
|
|
||
| using Microsoft.Finance.Currency; | ||
| using Microsoft.Finance.GeneralLedger.Journal; | ||
| using Microsoft.Finance.GeneralLedger.Posting; |
There was a problem hiding this comment.
App\Apps\W1\ContosoCoffeeDemoDataset\TempSource\app\DemoData\Finance\2.Master data\CreateAddReportingCurrency.Codeunit.al(10,1): error AL0792: Unused using directive 'using Microsoft.Finance.GeneralLedger.Posting;'.
App\Apps\W1\ContosoCoffeeDemoDataset\TempSource\app\DemoData\Finance\2.Master data\CreateAddReportingCurrency.Codeunit.al(9,1): error AL0792: Unused using directive 'using Microsoft.Finance.GeneralLedger.Journal;'.
| end; | ||
|
|
||
| [EventSubscriber(ObjectType::Codeunit, Codeunit::"Create Add. Reporting Currency", OnBeforeGetResidualCurrencyAccounts, '', false, false)] | ||
| local procedure GetResidualCurrencyAccountsCH(var FXGainsAccount: Code[20]; var FXLossesAccount: Code[20]; var IsHandled: Boolean) |
|
@tuan-nguyen-fenwick updated the internal PR and started the build |

Summary
Work Item(s)
Fixes #28759
Fixes: AB#575835