microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
773 stars 610 forks source link

[Bug]: [Shopify] Integration to use Sales Unit of Measure for inventory synchronization #26719

Closed JesperSchulz closed 3 months ago

JesperSchulz commented 3 months ago

Describe the issue

We saw that the Sales Unit of Measure should be used for inventory synchronization but there is a bug that prevents it from doing it. In line 61, Item.???Sales Unit Of Measure??? will always be empty, because in the function in line 51, it is cleared. It means that if the statement in line 63 never is true, the Base Unit of Measure will always be used for inventory synchronization.

Expected behavior

N/A

Steps to reproduce

N/A

Additional context

N/A

I will provide a fix for a bug