Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0019718 | Openbravo ERP | 07. Sales management | public | 2012-02-10 04:33 | 2012-09-26 17:19 |
|
| Reporter | boris | |
| Assigned To | Sandrahuguet | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 30 | OS Version | |
| Product Version | 3.0MP7.1 | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | naiaramartinez |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0019718: Uncatched exception when changing 'Complete' sales invoice |
| Description | Deleting a order line from a sales invoice that has been set to complete will produce this error:
Error
ERROR: Document processed/posted - 100000.00 - 0.00 - 0.00 - 0.00 - 8CD6182E151346B1AF4D3056DB2E4188 - 8CD6182E151346B1AF4D3056DB2E4188 Where: SQL statement "UPDATE C_INVOICETAX SET TAXAMT = (CASE WHEN $1 ='D' THEN ROUND((TAXBASEAMT - $2 ) * $3 /100, $4 ) ELSE (TAXAMT - $5 ) END), TAXBASEAMT=TAXBASEAMT - $6 WHERE C_INVOICE_ID = $7 AND C_TAX_ID = $8 AND Recalculate = 'Y'" PL/pgSQL function "c_invoicelinetax_trg" line 84 at SQL statement
|
| Steps To Reproduce | Create sales invoice. Set to Complete. Delete the invoice line. |
| Proposed Solution | Catch the exception and show the message: This invoice is set to complete and cannot be changed. |
| Additional Information | |
| Tags | VMA-Reviewed |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2012-02-10 04:33 | boris | New Issue | |
| 2012-02-10 04:33 | boris | Assigned To | => jonalegriaesarte |
| 2012-02-10 04:33 | boris | Modules | => Core |
| 2012-04-03 12:20 | jonalegriaesarte | Assigned To | jonalegriaesarte => vmromanos |
| 2012-04-11 09:41 | vmromanos | Tag Attached: VMA-Reviewed | |
| 2012-05-10 12:12 | gorka_gil | Assigned To | vmromanos => mirurita |
| 2012-05-17 17:12 | Sandrahuguet | Assigned To | mirurita => Sandrahuguet |
| 2012-05-17 17:12 | Sandrahuguet | Status | new => scheduled |
| 2012-05-17 17:12 | Sandrahuguet | fix_in_branch | => pi |
| 2012-05-21 09:16 | Sandrahuguet | Note Added: 0048792 | |
| 2012-09-14 10:20 | hgbot | Checkin | |
| 2012-09-14 10:20 | hgbot | Note Added: 0052111 | |
| 2012-09-14 10:20 | hgbot | Status | scheduled => resolved |
| 2012-09-14 10:20 | hgbot | Resolution | open => fixed |
| 2012-09-14 10:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ed8fe55b2a082c7dc2473e4a7691b3bc454e780f [^] |
| 2012-09-14 10:21 | naiaramartinez | Closed by | => naiaramartinez |
| 2012-09-14 10:21 | naiaramartinez | Note Added: 0052112 | |
| 2012-09-14 10:21 | naiaramartinez | Status | resolved => closed |
| 2012-09-26 17:19 | hudsonbot | Checkin | |
| 2012-09-26 17:19 | hudsonbot | Note Added: 0052753 | |
|
Notes |
|
|
|
Test Plan:
-Go to sales invoive, and select a complete sales invoice.
-Select a line, and delete it.
-Notice than now the error message is: Document posted/processed. |
|
|
|
(0052111)
|
|
hgbot
|
|
2012-09-14 10:20
|
|
|
|
|
|
|
|
|
|
|