[ 
https://issues.apache.org/jira/browse/OFBIZ-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525992
 ] 

Jacopo Cappellato commented on OFBIZ-1203:
------------------------------------------

Yes, you are right about the updateOrderItem service... when I wrote my notes I 
hadn't the source code available, so I just tried to remember the code.
The right service is: changeOrderItemStatus

Here are the corrected notes:

- the new service will be "checkCompleteInvoicedOrderItem" and will accept as 
input "orderId" and "orderItemSeqId"; the service will select all the 
OrderItemBilling records for the given OrderItem and if they completely match 
the total number of units ordered then it will call the changeOrderItemStatus 
service to complete the OrderItem (if is is not already completed)
- this new service will be attached with an ECA to the createOrderItemBilling 
service


> Drop Ship sales and purchase orders, move items to completed when items are 
> shipped and received.
> -------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1203
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1203
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: accounting, order
>         Environment: All systems, all enviornments
>            Reporter: Karl Pieleck
>            Assignee: Jacopo Cappellato
>
> Setup: When a product that is marked drop ship is sold, and the product's 
> vendor is marked as "will drop ship".
> Result: The purchase order and sales order never close, even when the items 
> are shipped, received, and the purchase order is paid. This activity is 
> different than a regular sales order for items sold from stock, where the 
> order is completed once the items are paid and the order is shipped.
> Action to Correct: Add code and services to close "Drop Ship Type PO's and 
> Sales Orders" when they are actually completed.

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

Reply via email to