Copy record uses wrong quantity when used in shipment line / receipt line

Description

If working with serial numbers it is a must to split orderlines with quantity > 1 into multiple lines with quantity = 1

This can be done with "copy record" but actual behavior forces to edit every copied record to change quantity.

create purchase / sales order
create one order line with quantity = 5
complete document
create material receipt / shipment
switch to detail view
change quantity of orderline from 5 to 1
save
press "copy record"

The resulting orderline has quantity = 5

Expected result:
Order line has quantity = 1

Environment

None

Activity

Carlos Ruiz 
August 3, 2013 at 3:15 PM

https://bitbucket.org/trekglobal/idempiere/commits/546b3dc
implemented:

  • calculate running qty on same shipment/receipt - when user choose same order line twice the callout subtract the running qty of orderline

  • callout set qty to 1 when using a serialized ASI

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created July 5, 2013 at 5:46 PM
Updated March 13, 2014 at 2:19 PM
Resolved August 4, 2013 at 2:50 PM