The way order statuses works today seems to be fine, OrderReadHelper has the 
necessary methods to get additional details for the order item.

1) If order item is partially shipped and remaining quantity is pending you 
could get the shipped quantity from OrderReadHelper. Approved status seems 
valid here.

2) If order item is partially shipped and remaining quantity is cancelled, the 
cancelled quantity is stored in OrderItem.cancelQuantity. Again you could get 
the shipped quantity and cancelled quantity from OrderReadHelper. Completed 
status seems valid here.

Thanks.
Mridul Pathak


> On 25-Apr-2020, at 10:57 AM, Mohammad Kathawala 
> <mohammad.kathaw...@hotwaxsystems.com> wrote:
> 
> Hello Shikha,
> 
> The statuses mentioned by you in all the scenarios seem correct to me and
> AFAIK it works in the same way in OFBiz. We can definitely improve it by
> adding a 'Partially Complete/Partially Fulfilled' status to an order item
> as mentioned by Pawan.
> 
> Thanks & Regards
> Mohammad Kathawala
> 
> On Tue, Apr 14, 2020 at 6:03 PM Suraj Khurana <suraj.khur...@hotwax.co>
> wrote:
> 
>> Adding Dev ML.
>> 
>> --
>> Best Regards,
>> Suraj Khurana
>> Senior Technical Consultant
>> 
>> On Tue, Apr 14, 2020 at 5:13 PM Shikha Jaiswal <
>> shikha.jais...@hotwaxsystems.com> wrote:
>> 
>>> Hello team,
>>> 
>>> From the business point of view, please share what should be the exact
>>> status of an item after approval, if it is being shipped partially.
>>> 
>>> Suppose an order item is of 3 qty and all three are split down into
>>> separate ship groups and shipped one by one, what should be the ideal
>>> status on each following instances, as we maintain item status on
>> OrderItem
>>> level only, not specific to OISGA:
>>> 
>>> - One item is shipped, two are pending.
>>> -- IMO, it should be Approved as there are still pending items, please
>>> confirm.
>>> 
>>> - Two items are shipped, one is pending.
>>> -- IMO, it should be Approved as there are still pending items, please
>>> confirm.
>>> 
>>> - Two items are shipped, one is canceled.
>>> -- IMO, it should be Completed as it is shipped or canceled, please
>>> confirm.
>>> 
>>> OR
>>> 
>>> - All three items are shipped
>>> -- IMO, it should be Completed as all items are shipped.
>>> 
>>> Please let me know your thoughts on this.
>>> 
>>> --
>>> Thanks & Regards,
>>> Shikha Jaiswal
>>> Senior Enterprise Software Engineer
>>> 
>> 

Reply via email to