Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039892Openbravo ERP09. Financial managementpublic2019-01-09 11:092019-01-10 10:22
ngarcia 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR18Q4.23.0PR18Q4.2 
Sandrahuguet
Core
Production - QA Approved
2018-06-20
3.0PR18Q4
https://code.openbravo.com/erp/devel/pi/rev/58cf1a94960f [^]
No
0039892: Cannot process a Simple G/L Journal with Open Items option selected on a line
Cannot process a Simple G/L Journal with Open Items option selected on a line
As group admin role:
   Create a Simple G/L Journal:
      Organization: F&B US East Coast
      General Ledger: F&B International Group US/A/US Dollar
   Add a line to it:
      Account: 1110 - Checking Account
      Debit: 100
      Open Items: Y
      Select Financial Account, Payment Method, G/L Item and Payment Date
   Add another line to it:
      Account: 1120 - Funds In-Transfer
      Credit: 100
      Open Items: N
   Try to complete it and check the following error is shown:
      java.lang.IllegalArgumentException: Type specified for TypedQuery [org.openbravo.erpCommon.ad_forms.AcctSchema] is incompatible with query return type [class org.openbravo.model.financialmgmt.accounting.coa.AcctSchema]
No tags attached.
blocks defect 0039889 closed AtulOpenbravo Cannot process a Simple G/L Journal with Open Items option selected on a line 
Issue History
2019-01-09 13:04AtulOpenbravoTypedefect => backport
2019-01-09 13:04AtulOpenbravoTarget Version => 3.0PR18Q4.2
2019-01-09 13:21ngarciaSummaryCannot process a Simple G/L Item with Open Items option selected on a line => Cannot process a Simple G/L Journal with Open Items option selected on a line
2019-01-09 13:21ngarciaDescription Updatedbug_revision_view_page.php?rev_id=18096#r18096
2019-01-10 08:04AtulOpenbravoNote Added: 0108877
2019-01-10 10:19hgbotCheckin
2019-01-10 10:19hgbotNote Added: 0108884
2019-01-10 10:19hgbotStatusscheduled => resolved
2019-01-10 10:19hgbotResolutionopen => fixed
2019-01-10 10:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q4.2/rev/7d2186218b944861e6694242004efb4f16d84646 [^]
2019-01-10 10:22SandrahuguetReview Assigned To => Sandrahuguet
2019-01-10 10:22SandrahuguetNote Added: 0108887
2019-01-10 10:22SandrahuguetStatusresolved => closed
2019-01-10 10:22SandrahuguetFixed in Version => 3.0PR18Q4.2

Notes
(0108877)
AtulOpenbravo   
2019-01-10 08:04   
Test Plan

- As group admin role:
- Create a Simple G/L Journal:
      Organization: F&B US East Coast
      General Ledger: F&B International Group US/A/US Dollar
- Add a line to it:
      Account: 1110 - Checking Account
      Debit: 100
      Open Items: Y
      Select Financial Account, Payment Method, G/L Item and Payment Date.
- Add another line to it:
      Account: 1120 - Funds In-Transfer
      Credit: 100
      Open Items: N
- Try to complete it.
- Realize that Simple G/L Journal is completed successfully.
(0108884)
hgbot   
2019-01-10 10:19   
Repository: erp/backports/3.0PR18Q4.2
Changeset: 7d2186218b944861e6694242004efb4f16d84646
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Jan 10 12:26:05 2019 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR18Q4.2/rev/7d2186218b944861e6694242004efb4f16d84646 [^]

Fixes Issue 39892:Cannot process a Simple G/L Journal with
Open Items option selected on a line

Type of typed query was wrongly mentioned during hibernate
upgrade, org.openbravo.model.financialmgmt.accounting.coa.AcctSchema
required instead of org.openbravo.erpCommon.ad_forms.AcctSchema

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPaymentFromJournalLine.java
---
(0108887)
Sandrahuguet   
2019-01-10 10:22   
Code review + testing ok