Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028862Openbravo ERP07. Sales managementpublic2015-02-04 13:222015-02-10 18:28
maite 
Sandrahuguet 
immediatemajoralways
closedfixed 
5
 
 
aferraz
Core
Production - QA Approved
3.0PR15Q1
https://code.openbravo.com/erp/devel/pi/rev/d45ee3d2e877 [^]
No
0028862: Error received when processing invoice including line referencing "discount product" line if it has not been delivered
Error received when processing invoice including line referencing "discount product" line if it has not been delivered
1. Register Sales Order for any Org and Alimentos y Supermercados BP.
2. Add any line. Verify that discount register has been included in "Discounts" tab and process order
3. Register Goods Shipment header and run "Create lines from" process. Include only product line and not include discount line. Process Shipment
4. Register Sales Invoice header and run "Create Lines from" process. Select previous Order and include both lines. Process and realize that following error is received "It is not possible to complete the invoice 1000133 line 20. Order No. 1000126: Invoiced Quantity cannot be higher than Delivered Quantity when Invoice Terms are: After Delivery."

NOTE: in Q4 version you are able to follow same steps and properly complete sales invoice
No tags attached.
caused by defect 00274853.0PR15Q1 closed reinaldoguerra Should not be possible to invoice more quantity than delivered quantity, when Invoice Terms are "After delivery" 
Issue History
2015-02-04 13:22maiteNew Issue
2015-02-04 13:22maiteAssigned To => dmiguelez
2015-02-04 13:22maiteModules => Core
2015-02-04 13:22maiteRegression level => Production - QA Approved
2015-02-04 13:22maiteRegression introduced in release => 3.0PR15Q1
2015-02-04 13:22maiteRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/d45ee3d2e877 [^]
2015-02-04 13:22maiteTriggers an Emergency Pack => No
2015-02-04 13:22maiteIssue Monitored: networkb
2015-02-04 13:34SandrahuguetAssigned Todmiguelez => umartirena
2015-02-05 17:38SandrahuguetAssigned Toumartirena => Sandrahuguet
2015-02-06 11:41hgbotCheckin
2015-02-06 11:41hgbotNote Added: 0074247
2015-02-06 11:41hgbotStatusnew => resolved
2015-02-06 11:41hgbotResolutionopen => fixed
2015-02-06 11:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/64fd34510c402d2c08d036a8f5303e244021e345 [^]
2015-02-06 11:42hgbotCheckin
2015-02-06 11:42hgbotNote Added: 0074248
2015-02-06 14:22aferrazReview Assigned To => aferraz
2015-02-06 14:22aferrazNote Added: 0074254
2015-02-06 14:22aferrazStatusresolved => closed
2015-02-06 16:37dmitry_mezentsevRelationship addedcaused by 0027485
2015-02-09 21:48hudsonbotCheckin
2015-02-09 21:48hudsonbotNote Added: 0074299
2015-02-09 21:48hudsonbotCheckin
2015-02-09 21:48hudsonbotNote Added: 0074300
2015-02-10 18:28SandrahuguetNote Added: 0074336

Notes
(0074247)
hgbot   
2015-02-06 11:41   
Repository: erp/devel/pi
Changeset: 64fd34510c402d2c08d036a8f5303e244021e345
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Feb 06 08:17:31 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/64fd34510c402d2c08d036a8f5303e244021e345 [^]

fixed issue 28862 backout changeset d45ee3d2e877

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0074248)
hgbot   
2015-02-06 11:42   
Repository: erp/devel/pi
Changeset: 52c6748ca22a72960f45cd5212292142e4788ccb
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Fri Feb 06 08:29:42 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/52c6748ca22a72960f45cd5212292142e4788ccb [^]

Related to issue 28862

add warning message when invoiced quantity is higher than delivered
quantity when invoice terms are After Delivery

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt_data.xsql
---
(0074254)
aferraz   
2015-02-06 14:22   
Code review + Testing OK
(0074299)
hudsonbot   
2015-02-09 21:48   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d68c131a3f59 [^]
Maturity status: Test
(0074300)
hudsonbot   
2015-02-09 21:48   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d68c131a3f59 [^]
Maturity status: Test
(0074336)
Sandrahuguet   
2015-02-10 18:28   
Test added in testlink:

http://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-8035 [^]