OrderPOCreate creates order lines for delivered lines

Description

Create PO from Sales Order is a very useful process.

If a sales order is partly delivered it is sometimes useful to create a purchase order for the rest. Doing that with current functionality creates a full purchase order instead of only the items that are not yet delivered to the customer.

I suggest a small change in the code to correct this.

Environment

None

Activity

Show:

Orlando Curieles August 22, 2020 at 7:31 PM

Triaged by - Closed Potential Idea > 5 years without activity.

Carlos Ruiz December 10, 2014 at 6:07 PM

, reading the help of the process I think that's intentional:
http://wiki.idempiere.org/en/Generate_PO_from_Sales_Order_(Process_ID-193)
"After completing sales orders, you can create one or more purchase orders for each sales order."

The use case is like having a Template SO and generating always the same PO.

I think your patch is useful but better to create a new parameter for the process to indicate if the PO is just for undelivered quantities.

Daniel Tamm November 20, 2014 at 10:54 AM

Fixed

Details

Assignee

Reporter

Labels

Original estimate

Time tracking

No time logged1h remaining

Components

Affects versions

Priority

Created November 20, 2014 at 10:37 AM
Updated October 2, 2020 at 4:14 PM
Resolved August 22, 2020 at 7:31 PM

Flag notifications