Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041850 | Openbravo ERP | 09. Financial management | public | 2019-09-18 15:01 | 2019-09-19 18:28 | |||||||
Reporter | ngarcia | |||||||||||
Assigned To | markmm82 | |||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR19Q2.3 | Fixed in Version | 3.0PR19Q2.3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | 2019-05-03 | |||||||||||
Regression introduced in release | 3.0PR19Q3 | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/54f5cc848bee48edf56131bff6b0265e17a75a99 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0041850: Cannot post a document if it has a customized SQL description that returns more than one record | |||||||||||
Description | Cannot post a document if it has a customized SQL description that returns more than one record | |||||||||||
Steps To Reproduce | Install the 18Q3.5 version As System Admin role: Create a new template for exporting the changes made to core Set as Displayed the SQL Description field of Active Tables tab of General Ledger Configuration window Export the changes to the template As group admin role: Set the following SQL Description to the Invoice table of 'F&B EspaƱa, S.A. US/A/Euro' configuration: select 'Order Document Number: ' || o.documentno || ' ,' from c_order o, c_invoice i where i.c_order_id = o.c_order_id and i.c_invoice_id = @RecordId@ UNION select 'Invoice Document Number: ' || documentno || ' ' from c_invoice where c_invoice_id = @RecordId@ Create a Sales Order: Document Type: POS Order Add a product with stock and complete it Go to Sales Invoice window and post the created invoice Check its description. It concatenates the result of the two queries Upgrade the instance to a version which includes the fix of 40523 issue (18Q4.4, 19Q.1 or higher) As group admin role: Go to Sales Invoice window and unpost the created invoice Try to post it and check it finishes with the following error: Process failed during execution The log shows: org.openbravo.erpCommon.ad_forms.AcctServer - AcctServer - postCommitjavax.servlet.ServletException: @CODE=@query did not return a unique result: 2 | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-09-18 15:39 | Sandrahuguet | Type | defect => backport | |||||||||
2019-09-18 15:39 | Sandrahuguet | Target Version | => 3.0PR19Q2.3 | |||||||||
2019-09-19 18:26 | hgbot | Checkin | ||||||||||
2019-09-19 18:26 | hgbot | Note Added: 0114674 | ||||||||||
2019-09-19 18:28 | Sandrahuguet | Status | scheduled => resolved | |||||||||
2019-09-19 18:28 | Sandrahuguet | Fixed in Version | => 3.0PR19Q2.3 | |||||||||
2019-09-19 18:28 | Sandrahuguet | Fixed in SCM revision | => https://code.openbravo.com/erp/backports/3.0PR19Q2.3/rev/d1654ee5a5a63480995b1d74a31c7779c1227a75 [^] | |||||||||
2019-09-19 18:28 | Sandrahuguet | Resolution | open => fixed | |||||||||
2019-09-19 18:28 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
2019-09-19 18:28 | Sandrahuguet | Note Added: 0114677 | ||||||||||
2019-09-19 18:28 | Sandrahuguet | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|