Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045556
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajoralways2020-12-10 19:012022-02-01 08:05
ReporterAtulOpenbravoView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0045556: Grid filtering failed for HQL Query based table column in Distribution Order Issue window

DescriptionGrid filtering failed for HQL Query based table column in Distribution Order Issue window, Reserved Stock Tab uses a HQL query based table, Reservation Stock uses a column M_Reservation_Stock_ID which is rs object (rs is Main from table alias) in HQL query and has Reference : TableDir

Problem:
rs.reservationStock.reservation.quantity should have been transformed as rs.reservation.quantity

There is no property reservationStock for rs object, rs itself is a reservationStock object.
Steps To Reproduce- In AWO instance back office
- Make sure column for Window: Distribution Order Issue, Tab: Reserved Stock, Field: Reservation Stock i.e M_Reservation_Stock_ID is set as Allow Sorting and Allow Filtering as Yes
- Login in with AWO-QA admin role
- Naivgate to Distribution Order Issue window, clear filters and select record with document no 1000123
- Navigate to Lines Tab, select record for Product : Apple
- Navigate to Reserved Stock Tab.
- Apply some text in Reservation Stock field filter. Click "Refresh the current data from database"
- Error is shown in the Message box as:
Error
org.hibernate.QueryException: could not resolve property: reservationStock of: MaterialMgmtReservationStock
[select rs.id, rs as M_Reservation_Stock_ID, rs.storageBin as M_Locator, rs.attributeSetValue as M_Attributesetinstance,
rs.quantity as Quantity, rs.released as ReleasedQty, rs.allocated as IsAllocated, r.obdoDistorderline as obdoDistorderline,
r.product as M_Product_ID
from MaterialMgmtReservationStock rs
join rs.reservation r where rs.client.id in ('0', :clientId)
AND rs.organization.id in ( :organizations )
AND (( upper((((rs.reservationStock.reservation.product.name) || ' - '
|| COALESCE(to_char(rs.reservationStock.reservation.quantity),'')) || ' - ' ||
COALESCE(to_char(rs.reservationStock.quantity),'') || ' - ' ||
COALESCE(to_char(rs.reservationStock.allocated),'')))
like upper(:alias_0) escape '|' and r.obdoDistorderline.id = :alias_1 )) ]
TagsNo tags attached.
Attached Filespng file icon Error45556.png [^] (97,992 bytes) 2020-12-10 19:47

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-12-10 19:01 AtulOpenbravo New Issue
2020-12-10 19:01 AtulOpenbravo Assigned To => platform
2020-12-10 19:47 AtulOpenbravo File Added: Error45556.png
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker