Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039891Openbravo ERP09. Financial managementpublic2019-01-09 11:092019-01-10 10:21
ngarcia 
AtulOpenbravo 
immediatemajoralways
closedfixed 
5
 
3.0PR19Q13.0PR19Q1 
Sandrahuguet
Core
Production - QA Approved
2018-06-20
3.0PR18Q4
https://code.openbravo.com/erp/devel/pi/rev/58cf1a94960f [^]
No
0039891: 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.0PR19Q1
2019-01-09 13:22ngarciaSummaryCannot 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:22ngarciaDescription Updatedbug_revision_view_page.php?rev_id=18099#r18099
2019-01-10 08:04AtulOpenbravoNote Added: 0108878
2019-01-10 10:19hgbotCheckin
2019-01-10 10:19hgbotNote Added: 0108883
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.0PR19Q1/rev/60670578810a34ef20003b22c0c785bcb22b489c [^]
2019-01-10 10:20SandrahuguetReview Assigned To => Sandrahuguet
2019-01-10 10:20SandrahuguetNote Added: 0108886
2019-01-10 10:20SandrahuguetStatusresolved => closed
2019-01-10 10:20SandrahuguetFixed in Version => 3.0PR19Q2
2019-01-10 10:21SandrahuguetFixed in Version3.0PR19Q2 => 3.0PR19Q1

Notes
(0108878)
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.
(0108883)
hgbot   
2019-01-10 10:19   
Repository: erp/backports/3.0PR19Q1
Changeset: 60670578810a34ef20003b22c0c785bcb22b489c
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.0PR19Q1/rev/60670578810a34ef20003b22c0c785bcb22b489c [^]

Fixes Issue 39891: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
---
(0108886)
Sandrahuguet   
2019-01-10 10:20   
Code review + testing ok