ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9369) Add order priority management on sale order creation
Date Sat, 01 Jul 2017 13:02:01 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071218#comment-16071218

Jacques Le Roux commented on OFBIZ-9369:


Looking for more information about priority I stumbled upon this comment, in InventoryServices.xml,
which is worth considering (with related code) in this issue.

         Code in balanceInventoryItems service was doing same job which reassignInventoryReservations
service is doing. Purpose of both the services are same. In fact reassignInventoryReservations
service does better job of 
         reserving items for an order. 1) It takes into account the order priority, currentPromisedDate,
reservedDateTime and sequenceId. where as  balanceInventoryItems was prioritizing orders 
         based on reservedDatetime and sequenceId. 2) reassignInventoryReservations excludes
items with sufficient inventory, where as balanceInventoryItems also pulls up order items
which have sufficient inventory. 
         Calling reassignInventoryReservations from balanceInventoryItems. balanceInventoryItems
can be deleted, but not deleting it because its used in many places in OFBiz. 
         To DO: We can delete balanceInventoryItems in future and replace it with reassignInventoryReservations
every where. 

> Add order priority management on sale order creation
> ----------------------------------------------------
>                 Key: OFBIZ-9369
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9369
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Leila Mekika
>            Priority: Minor
>         Attachments: OFBIZ-9369.patch
> I made a patch to allow order priority setting when creating sale order.
> This add option on order first step creation an add it to the OrderHeader during creation
so that reservation SECA is triggered.

This message was sent by Atlassian JIRA

View raw message