Skip to Content
author's profile photo Former Member
Former Member

After placing an order, how does stock reserve and order splitting work?

Hi..

  1. Kindly let us know how does stock reserve and order splitting(split by warehouse) works in Hybris accelerator 5.1.0. We are using only Hybris commerce suite and third party for fulfillment.

  2. Also, let us know how to configure "split by warehouse" option.

  3. Is there any method to prioritize a particular warehouse for stock reserve.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2014 at 08:53 PM

    Have a look at this as an entry point and then continue the research on your own from there...

    https://answers.sap.com/questions/12748764/consignment-creation-process.html

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2014 at 06:37 AM

    Another option is to use OMS as an intermediary that handles order orchestration to 3rd party systems. Out of the box you would have order splitting, fulfillment location prioritization and the ability to reserve inventory.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Yes, the commerce suite has order splitting, look at my answer / the link above. I have described commerce suite, not OMS there.

      Priorization, not sure, but you can implement your own SplittingStrategy and consider what you need there.

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2015 at 10:28 AM

    1.Hybris commerce suite provides the interface SplittingStrategy to do the specific 'split order' job, OOTB, it gives several implementations such as SplitByAvailableCount,SplitByDeliveryMode,SplitByEntryDeliveryAddress,SplitByNamedDeliveryDate,SplitByPoS and SplitByWarehouse etc. As you said, you're using 3rd party fullfillment, you may choose to encapsulate the business logic in an new implementation for the interface SplittingStrategy or just extends the current ones.

    2.The configuration in basecommerce as below :

     <bean id="defaultOrderSplittingService"
           class="de.hybris.platform.ordersplitting.impl.DefaultOrderSplittingService"
           scope="tenant">
         <property name="modelService" ref="modelService"/>
         <property name="consignmentService" ref="consignmentService"/>
         <property name="strategiesList">
             <list>
                 <ref bean="splitByAvailableCount"/>
                 <ref bean="splitByDeliveryMode"/>
                 <ref bean="splitByNamedDeliveryDate"/>
                 <ref bean="splitByWarehouse"/>
             </list>
         </property>
     </bean>
    
     <bean id="splitByAvailableCount"
           class="de.hybris.platform.ordersplitting.strategy.impl.SplitByAvailableCount"
           scope="tenant">
         <property name="stockService" ref="stockService"/>
     </bean>
     <bean id="splitByDeliveryMode"
           class="de.hybris.platform.ordersplitting.strategy.impl.SplitByDeliveryMode"
           scope="tenant"/>
     <bean id="splitByNamedDeliveryDate"
           class="de.hybris.platform.ordersplitting.strategy.impl.SplitByNamedDeliveryDate"
           scope="tenant"/>
     <bean id="splitByWarehouse"
           class="de.hybris.platform.ordersplitting.strategy.impl.SplitByWarehouse"
           scope="tenant">
         <property name="warehouseService" ref="warehouseService"/>
     </bean>
    
    

    in yaccelerator as below :

     <alias name="yacceleratorfulfilmentprocessOrderSplittingService" alias="orderSplittingService"/>
     <bean id="yacceleratorfulfilmentprocessOrderSplittingService" parent="defaultOrderSplittingService" >
         <property name="strategiesList">
             <list>
                 <ref bean="splitByAvailableCount"/>
                 <ref bean="splitByDeliveryMode" />
                 <ref bean="splitByPoS" />
                 <ref bean="splitByNamedDeliveryDate" />
                 <ref bean="splitByEntryDeliveryAddress" />
                 <ref bean="splitByWarehouse" />
             </list>
         </property>
     </bean>
     
     <!-- Split Strategies -->
     
     <alias name="defaultSplitByPoS" alias="splitByPoS"/>
     <bean id="defaultSplitByPoS" class="de.hybris.platform.yacceleratorfulfilmentprocess.strategy.impl.SplitByPoS" />
     
     <alias name="defaultSplitByEntryDeliveryAddress" alias="splitByEntryDeliveryAddress"/>
     <bean id="defaultSplitByEntryDeliveryAddress" class="de.hybris.platform.yacceleratorfulfilmentprocess.strategy.impl.SplitByEntryDeliveryAddress"  />
     
     <alias name="defaultSplitByDeliveryMode" alias="splitByDeliveryMode"/>
     <bean id="defaultSplitByDeliveryMode" class="de.hybris.platform.yacceleratorfulfilmentprocess.strategy.impl.SplitByDeliveryMode" >
         <property name="pickupDeliveryModeDao" ref="pickupDeliveryModeDao"/>
     </bean>
     
     <alias name="defaultSplitByAvailableCount" alias="splitByAvailableCount"/>
     <bean id="defaultSplitByAvailableCount" class="de.hybris.platform.yacceleratorfulfilmentprocess.strategy.impl.SplitByAvailableCount" >
         <property name="commerceStockService" ref="commerceStockService"/>
     </bean>
     
     <alias name="defaultSplitByWarehouse" alias="splitByWarehouse"/>
     <bean id="defaultSplitByWarehouse" class="de.hybris.platform.yacceleratorfulfilmentprocess.strategy.impl.SplitByWarehouse" />
    
    

    You can use this way to inject your business logic to the process.

    1. As far as I know, there is no configuration to do the business log, you can implement it in your own strategy.

    Hope it could be helpful.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.