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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033503
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2016-07-20 08:292016-08-17 07:21
Reportersimbu94View Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc2604fffb961
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033503: Error Loading POS Terminal If default Business Partner's max(businessPartnerLocationId) is inactive.

DescriptionError Loading POS Terminal If default Business Partner's max(businessPartnerLocationId) is inactive.


Error getting Business Partner information
The Business Partner information is missing in local database. Click Reload to refresh the page. If the problem persists please contact your System Administrator.
Steps To Reproduce1. Login to POS Terminal VBS-1 (default Customer: VBS Customer)
2. Create 2 New Locations for default Business Partner
3. execute query in database (Make sure you are not updating default business partner location)

update c_bpartner_location set isactive='N' where c_bpartner_location_id =(select max(c_bpartner_location_id) from c_bpartner_location where c_bpartner_id='ABD91C9D3BC94175B876FBBE9CACA008') --VBS Customer

4. Clear cache and Login to POS. you see the POPUP error
Proposed SolutionBusiness Partner sub query is missing active check. Attached Patch for solution
TagsNo tags attached.
Attached Filespatch file icon BPError.patch [^] (2,418 bytes) 2016-07-21 11:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0088664)
hgbot (developer)
2016-07-26 11:27

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c2604fffb961a739c71d60e062ca9a3aa570c3ac
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jul 26 14:33:34 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c2604fffb961a739c71d60e062ca9a3aa570c3ac [^]

Fixes issue 33503 : BusinessPartner should be loaded if max(businessPartnerLocationId) is active

- Condition added in order to load the BusinessPartner with max(BusinessPartnerLocation) should be active

---
M src/org/openbravo/retail/posterminal/master/BusinessPartner.java
---
(0089162)
migueldejuana (developer)
2016-08-17 07:21

tested and reviewed

- Issue History
Date Modified Username Field Change
2016-07-20 08:29 simbu94 New Issue
2016-07-20 08:29 simbu94 Assigned To => Retail
2016-07-20 08:29 simbu94 Triggers an Emergency Pack => No
2016-07-20 08:29 simbu94 File Added: BPError.patch
2016-07-20 15:11 simbu94 File Deleted: BPError.patch
2016-07-21 11:12 simbu94 File Added: BPError.patch
2016-07-21 11:23 marvintm Status new => acknowledged
2016-07-22 13:58 simbu94 Summary Error Loading POS Terminal If default Business Partner Location is inactive. => Error Loading POS Terminal If default Business Partner's max(businessPartnerLocationId) is inactive.
2016-07-22 13:58 simbu94 Description Updated View Revisions
2016-07-25 11:19 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-07-25 11:19 ranjith_qualiantech_com Status acknowledged => scheduled
2016-07-26 11:27 hgbot Checkin
2016-07-26 11:27 hgbot Note Added: 0088664
2016-07-26 11:27 hgbot Status scheduled => resolved
2016-07-26 11:27 hgbot Resolution open => fixed
2016-07-26 11:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c2604fffb961a739c71d60e062ca9a3aa570c3ac [^]
2016-08-17 07:21 migueldejuana Review Assigned To => migueldejuana
2016-08-17 07:21 migueldejuana Note Added: 0089162
2016-08-17 07:21 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker