Error in Create Lines From Function

Description

Created and completed a Sales Order having charge "ABC" Qty= 5 only.
Created and completed the Invoice#1 for respective SO and pick the Qty=2 by the process "Create Lines From".
Again Create Invoice#2 for same SO to pick remaining Qty of the charge, But when I open the process "Create Lines From" to pick remaining Qty it shows me 5 Qty again
where as the correct Qty should be "3".
MAJOR ERROR
After completing the Invoice#1 with qty 2 , and then when I create the Invoice#2 and Select all 5(WRONG QTY) qty again then it allows me to post the Invoice#2 also.
It should not allow me to post the Invoice#2 at all.

For Product of SERVICE Type also this function is not working properly.
For reference please use this Link https://groups.google.com/forum/#!topic/idempiere/usdipJLG7Zg

Environment

Windows 10, PostgresSQL*strong text*12

Assignee

Unassigned

Reporter

Varius ERP

Labels

None

Tested By

None

Components

Affects versions

Priority

Major
Configure