-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: main
Are you sure you want to change the base?
Conversation
<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"/> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
- Removed create#PostalAddress service and used similar service in ContactMechServices.xml. - Created a new create#Person service and used while creating customer.
…, updated the input param name and minor code imrpovements.
Specification Document: https://github.com/saastechacademy/foundation/blob/main/project-ideas/order-ledger/ShopifyOrderSyncDesign.md