Skip to content

Conversation

@onbuyuka
Copy link
Contributor

@onbuyuka onbuyuka commented Dec 24, 2025

Summary

Enhanced the Shopify Order Subform page to automatically set the Unit of Measure Code when an Item is selected on an order line.

Changes

File: ShpfyOrderSubform.Page.al

  • Added OnValidate trigger to the "Item No." field that automatically populates the "Unit of Measure Code" based on the selected item:
    • If the item has a "Sales Unit of Measure" defined, it uses that value
    • Otherwise, it falls back to the item's "Base Unit of Measure"

Motivation

When users manually map Shopify order lines to Business Central items, they previously had to manually enter the Unit of Measure Code. This change improves the user experience by automatically defaulting the UoM based on the item's configuration, reducing manual data entry and potential errors.

Work Item(s)

Fixes AB#617019

@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Dec 24, 2025
@onbuyuka onbuyuka changed the title Auto-populate Unit of Measure when selecting Item on Shopify Order Lines [Shopify] Auto-populate Unit of Measure when selecting Item on Shopify Order Lines Dec 24, 2025
@github-actions github-actions bot added this to the Version 28.0 milestone Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants