Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented: Added application layer services to create a sales order in the system. #7

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

vyasdevanshu
Copy link
Contributor

<set field="orderContext.orderName" from="orderJson.name"/>
<set field="orderContext.salesChannelEnumId" from="orderJson.salesChannelEnumId"/>
<set field="orderContext.orderDate" from="orderJson.createdAt"/>
<set field="orderContext.currencyUomId" from="orderJson.currencyUom"/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have the concept of presentmentCurrencyUomId.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OrderHeader has been extended with presentmentCurrencyUom field and it is being stored in legacy. Default ProductStore currency is stored in OrderHeader.currencyUom field. Same is true for OrderPaymentPreference and it also involves unnecessary UOM conversion. I think we should not use the extended fields and Uom conversion and just store Shopify's presentment amount and currency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants