[jira] Created: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
----------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: OFBIZ-2224
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
             Project: OFBiz
          Issue Type: Sub-task
          Components: order, product
    Affects Versions: SVN trunk
            Reporter: Pranay Pandey
             Fix For: SVN trunk


While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.

*Implementation Notes:*
* Re-do inventory reservations sorted by lower priority for these larger orders.
* Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
* Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)

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

BJ Freeman commented on OFBIZ-2224:
-----------------------------------

should consider that the larger order may have priority because of agreements
so agreements should be added into evaluation.
you can auto create agreements with ordering priority for all
I believe this would give you the greatest flexibility

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>             Fix For: SVN trunk
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pratik Khera updated OFBIZ-2224:
--------------------------------

    Attachment: ofbiz-2224.patch

These are the steps to test the patch:
1. Create new Sales Order.
2. To set the priority of order manually, go to order view page and choose the priority from drop down menu and click Reserve Inventory button.
Note : By default the priority is set to normal while creating sales order.
3. Now go to facility component and select Inventory items from the bar, select the inventory item id for which the order is placed.
4. The step will take you to the page from where inventory reservation can be performed according to
   a. Priority
   b. CurrentPromisedDate
   c. ReservedDatetime
   d. SequenceId
5. Observe the Inventory Item Reservations table to see the effect.

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pranay Pandey updated OFBIZ-2224:
---------------------------------

    Attachment: ofbiz-2224.patch

Thanks Pratik for providing the patch for this issue.

I reviewed your patch and it looks good to me, except conflict in OrderUiLabels.xml file when I applied it and a data load issue.

Here I uploaded the updated patch for resolving conflict and data load issue.

Rest I tested the patch and found no problems, Now inventory reservations are being done based on the priority which can be set from order detail page.

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur reassigned OFBIZ-2224:
----------------------------------

    Assignee: Vikas Mayur

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2224:
------------------------------------

Pratik,

Their are still conflicts in few files. I would appreciate if you can upload a new patch.

Apart from this few comments,

1) {code} <entity-condition entity-name="OrderItemAndShipGrpInvResAndItem" list="oisgirais">
                    <condition-list combine="and">
                        <condition-expr field-name="orderId" operator="equals" from-field="parameters.orderId"/>
                    </condition-list>
                </entity-condition>
     {code}
    since their is only one expression, this can be removed {code} <condition-list combine="and">{code}

2) Please also describe about (probably in the service description) what does high and low priorities means? I think order with high priority would be served first.

3) If possible, please add description about this field {code}<field name="priority" type="indicator"></field> {code}. Use <description></description> element.


> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Pranay Pandey commented on OFBIZ-2224:
--------------------------------------

Thanks Vikas for improvement suggestions.
I will surely provide you the updated patch if Pratik doesn't beat me.


> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2224:
------------------------------------

Thanks Pranay for reviewing and testing this patch. I am now waiting for the new patch because of the conflicts in few files and probably having few issues fixed as well (see above)

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pratik Khera updated OFBIZ-2224:
--------------------------------

    Attachment: OFBIZ-2224.patch

Thanks , Pranay and Vikas for providing your suggestions.This is the updated patch. I have done the required changes as per your suggestions..

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Pranay Pandey commented on OFBIZ-2224:
--------------------------------------

Thanks Pratik for updated patch, Just to let you know that keeping the name of the latest patch same as previous one helps in identifying the right patch.

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Ashish Vijaywargiya commented on OFBIZ-2224:
--------------------------------------------

identifying the right patch. --> identifying the recently(or last) uploaded patch :-).

--
Ashish



> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Pranay Pandey commented on OFBIZ-2224:
--------------------------------------

My intention was the same Ashish, BTW last updated patch comes first in the row :).

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Ashish Vijaywargiya commented on OFBIZ-2224:
--------------------------------------------

Pranay that sentence was only to give you smile :-) and I am sure there were a simple smile on your face after reading my sentence.
I hope my words can help other's who don't know this feature :-).

--
Ashish Vijaywargiya

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Vikas Mayur commented on OFBIZ-2224:
------------------------------------

BTW, http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices should be respected.

Pratik, It would be worth to give a reading to this small and good document.

> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2224) Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vikas Mayur closed OFBIZ-2224.
------------------------------

    Resolution: Fixed

Thanks Pratik and Pranay!

Patch is in trunk rev. 756001 (with slight modification to the service).


> Setting priority of orders on inventory allocation so that other orders are fulfilled while waiting for sufficient inventory to fill the large sales order
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-2224
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2224
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: order, product
>    Affects Versions: SVN trunk
>            Reporter: Pranay Pandey
>            Assignee: Vikas Mayur
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-2224.patch, ofbiz-2224.patch, ofbiz-2224.patch
>
>
> While waiting for the inventory to arrive, user lowers priority on inventory allocation so that other orders can be fulfilled while waiting for sufficient inventory to fill the large sales order.
> *Implementation Notes:*
> * Re-do inventory reservations sorted by lower priority for these larger orders.
> * Current code sorts reservations by currentPromisedDate, then reservedDatetime, then sequenceId (re-reserves if enabled by the ProductStore.balanceResOnOrderCreation field)
> * Add UI and supporting code to allow user to specify an order is a higher or lower priority and inventory reservation should be done before or after all other orders.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.