Invoice->CreateLines from MAY lead to Overinvoicing

Description

Hello,
this is about the Button 'Create Lines From' inside Window "Invoice ( Customer) ".

Example Issue :
C_Orderline.qtyordered=10
C_Orderline.qtyinvoiced=2
2 Articles were already invoiced in another Invoice.
Click Button "Invoice->Create Lines From":
1) the Default-Qty is "10" and not "8"
2) the Line Created will be "10", not "8"

Im sorry I dont know the patch yet, but I think it is better

the 'Button "Create Lines From"' takes into account the already invoice QTY,
and MAYBE do the subtraction as needed automatically inside, to create a 'fitting' Default-Qty !

Thanks in advance

Best Regards
Florian

Environment

Version : 7.1.0.202003120923
Database Version : 202002281451_IDEMPIERE-4191.sql
Vendor : Supported by iDempiere community
JVM : OpenJDK 64-Bit Server VM 11.0.5+10
OS : Linux 4.14.49-ueit.idempiere-vm unknown
Host : localhost

Activity

Show:
Thomas Bayen
May 9, 2020, 6:19 PM

I reviewd that for iDempiere Triage Day. This ticket seems to be based on a misunderstanding.

The given function is to copy lines from one document to another not to calculate or to check what is already delivered or invoiced. If you still have issues with these things you better ask in the forums or in the irc/mattermost chatroom how to adjust your numbers. Documentation is lacking here and there a many ways to do these things. Feel also free to contact me personally or reopen this ticket if you need help.

Assignee

Unassigned

Reporter

Flo Boj

Labels

Tested By

None

Components

Affects versions

Priority

Critical
Configure