Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big...

29

Transcript of Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big...

Page 1: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get
Page 2: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Multi-Source Inventory

Page 3: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Igor MiniailoMagento Architect, Multi Source InventoryCommunity Engineering Team

Eugene TulikaMagento Architect,Community Engineering Team

Page 4: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Omnichannel

Page 5: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Source: https://www.sparkpay.com/blog/What-is-omni-channel-retail

Page 6: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

It’s impossible to build Omnichannel without Global Inventory

Page 7: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Split the inventory between the sources within one Magentoinstallation.

One Magento Installation

Page 8: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Inventory Architecture

Page 9: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Command/Query Responsibility Segregation (CQRS)

Page 10: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Page 11: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Source Stock Sales Channels relation

Page 12: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Page 13: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Inventory Source Selection During Checkout

Page 14: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Single Inventory Source Checkout

Request items Ship itemsShippingAddressSource

Page 15: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Multiple Inventory Sources Checkout

Source n

Source 1

Ord

er It

ems

2

1

4

3

2

1

ShippingAddress…

Page 16: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Selection of Inventory Sources

• Match products to the Inventory Sources in the optimal way

• Extensible and customizable– Different strategies possible for

optimization

2

1

4

3

2

1

Source 1

Source n

Source 2

Page 17: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Possible Strategies

• Use first Inventory Source which has enough inventory to ship all order items

• Use Inventory Source which is cheapest way for the customer and/or for the merchant

• Use Inventory Source which will balance the load between sources, improve warehouse utilization

• etc

First by Priority Cheapest Warehouse Utilization etc

Page 18: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Inventory Source Selection Interfaces

Page 19: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Shipping Rate Calculations

• Every source linked to the carriers.

• Shipping Method available on checkout are determined based on the source carriers

• If there are more than one shipping method needed to ship all items, the price of the shipping is a sum of all shipping methods

• It is possible to use with the flat rate shipment

2

1

4

3

2

1

Page 20: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Order Fulfillment With Multiple Sources

Page 21: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Building Feature With the Community

Page 22: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Community Collaboration

.Kanban board and Wiki are on the GitHub

Page 23: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Write a note to [email protected] to join #msi slack channelSlack to Exchange ideas

Page 24: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

• Decomposing the large feature into small stories– Investigation of the needed APIs– Documentation on the integration points and needed refactoring– Clarification of the requirements with PO and architecture council– Continuous work with the team on tasks and stories

• Guiding Developers:– Onboarding on the project– Continuous discussions in the slack and web conferences– Weekly meetings– Status updates

Community Engineering ArchitectsDecomposing Stories, guiding Developers

Page 25: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

• Fun work with the core platform team• Feature requested by number of clients• Different tasks:

– some are small enough to do in couple days– some are big enough to be significant feature by itself

• Footprint in the Magento Core

Get engaged: [email protected] in Community Project

Page 26: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

2 pull requests with the new features for MSI#MLUK17 Contribution Day

@davidselo

David Selo

davidselo

@anna_styczen

Anna Styczen

astyczen@kieronmthomas

Kieron Thomas

kieronthomas

@jonfres

Jose Antonio de la Cruz

jonfres

Page 27: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

© 2017 Magento, Inc.

Challenges• Build CQRS architecture which will segregate Virtual Stocks

from Physical ones.• Efficient Source Selection Algorithms. Algorithm which assigns

the particular inventory to the order item. “Minimal Delivery Cost” should not impact checkout performance drastically.

• Performance. Sync vs Async– Algorithm– Synchronization with PIM and ERP

• Magento as a global inventory control system. Reservation API.

Page 28: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get

Community Engineering Team:Igor Miniailo@[email protected]

Eugene Tulika @[email protected]

Thanks y’all!

Page 29: Magento MSI Community MSI, Co… · – some are small enough to do in couple days – some are big enough to be significant feature by itself • Footprint in the MagentoCore Get