Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027440 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | minor | have not tried | 2014-08-23 17:03 | 2015-09-11 06:33 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | AtulOpenbravo | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 16ed86fcdf7f | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0027440: pl-function c_order_status is broken: uuid bug | |||||||
Description | This function is broken and fails if it is called and should return '2' for a process order with a line which has no associated shipment of invoice or payment. Technically error is the v_CountNotPaid variable being varchar2 where it should be NUMBER. Technically this is a regression as that variable was changed accidently when introducing uuid's in 2.50 (commit: 8a0fe0193bef). | |||||||
Steps To Reproduce | Create a new sales order with one line and book it. Look up c_order_id of that order run select c_order_status('this-uuid'); See following error: ERROR: operator does not exist: character varying <> integer LINE 1: ...ed <> 0 AND v_CountNotInvoiced <> 0 AND v_CountNotPaid <> 0) ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. QUERY: SELECT (v_CountNotDelivered <> 0 AND v_CountNotInvoiced <> 0 AND v_CountNotPaid <> 0) CONTEXT: PL/pgSQL function c_order_status(character varying) line 80 at IF | |||||||
Proposed Solution | Change variable back to NUMBER | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0069652) shuehner (administrator) 2014-08-23 17:06 |
Note see related 27441 issue talking about deleting the pl-function completely. |
(0080289) hgbot (developer) 2015-09-09 18:09 |
Repository: erp/devel/pi Changeset: 16ed86fcdf7f0c17d54790cfeeda0546617d7001 Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Wed Jul 15 23:48:05 2015 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/16ed86fcdf7f0c17d54790cfeeda0546617d7001 [^] Fixes Issue 27440:pl-function c_order_status is broken: uuid bug Variable v_CountNotPaid wrongly set as VARCHAR during merge r2.5x into trunk --- M src-db/database/model/functions/C_ORDER_STATUS.xml --- |
(0080290) dmiguelez (developer) 2015-09-09 18:10 |
Code Review + Testing Ok |
(0080322) hudsonbot (developer) 2015-09-11 06:33 |
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/2828f6cbe752 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2014-08-23 17:03 | shuehner | New Issue | |
2014-08-23 17:03 | shuehner | Assigned To | => dmiguelez |
2014-08-23 17:03 | shuehner | Modules | => Core |
2014-08-23 17:03 | shuehner | Triggers an Emergency Pack | => No |
2014-08-23 17:06 | shuehner | Relationship added | related to 0027441 |
2014-08-23 17:06 | shuehner | Note Added: 0069652 | |
2014-09-03 13:55 | eduardo_Argal | Assigned To | dmiguelez => eduardo_Argal |
2015-07-15 19:57 | AtulOpenbravo | Assigned To | eduardo_Argal => AtulOpenbravo |
2015-07-15 19:57 | AtulOpenbravo | Status | new => scheduled |
2015-09-09 18:09 | hgbot | Checkin | |
2015-09-09 18:09 | hgbot | Note Added: 0080289 | |
2015-09-09 18:09 | hgbot | Status | scheduled => resolved |
2015-09-09 18:09 | hgbot | Resolution | open => fixed |
2015-09-09 18:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/16ed86fcdf7f0c17d54790cfeeda0546617d7001 [^] |
2015-09-09 18:10 | dmiguelez | Review Assigned To | => dmiguelez |
2015-09-09 18:10 | dmiguelez | Note Added: 0080290 | |
2015-09-09 18:10 | dmiguelez | Status | resolved => closed |
2015-09-11 06:33 | hudsonbot | Checkin | |
2015-09-11 06:33 | hudsonbot | Note Added: 0080322 |
Copyright © 2000 - 2009 MantisBT Group |