Openbravo Issue Tracking System - Modules
View Issue Details
0053291ModulesOpen APIpublic2023-08-24 15:302023-09-04 12:02
sofidossant 
Triage Platform Conn 
highmajoralways
closedno change required 
5
2.50 
 
0053291: Add a filter so that the entities that are also deactivated are obtained
If I use the API to get some entity, it always brings me the active records.
We need some filter that allows inactive results to be obtained as well.
For example use:
/ws/org.openbravo.api.ExportService/BusinessPartner
And you get only the active BP.
No tags attached.
Issue History
2023-08-24 15:30sofidossantNew Issue
2023-08-24 15:30sofidossantAssigned To => Triage Platform Conn
2023-08-24 15:35sofidossantTypefeature request => defect
2023-08-28 09:08adrianromeroNote Added: 0154002
2023-08-28 09:08adrianromeroStatusnew => closed
2023-08-28 09:08adrianromeroResolutionopen => no change required
2023-08-28 12:26sofidossantStatusclosed => new
2023-08-28 12:26sofidossantTypedefect => feature request
2023-09-04 12:02adrianromeroNote Added: 0154400
2023-09-04 12:02adrianromeroStatusnew => closed

Notes
(0154002)
adrianromero   
2023-08-28 09:08   
Deactivated records are not valid records for any business flow in Openbravo, not only for exporting in the API.

This is not an error of the API.
(0154400)
adrianromero   
2023-09-04 12:02   
The API is designed to return only active records as described in the documentation:
http://wiki.openbravo.com/wiki/Projects:External_Integration_Infrastructure/TechnicalDocumentation#org.openbravo.service.external.integration.export [^]


HqlQueryBuilderCriteria: A class intended to parse an HQL query by replacing a particular placeholder with the corresponding criteria. It has the following subclasses:
ActiveCriteria: Includes an isActive=true criteria.