View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Show collection (0 pages)
Collections help

Search

Retail:API changes

Contents

Openbravo Retail Distribution - API changes

This document explains all changes happened in the public API of the modules contained in the retail release. These changes are a potential risk of module breakage so all of them have been reviewed and explicitily approved. Every time a new change happen it will be included in this list and communicated as an alert through openbravo-development mailing list and Developers forum.

PI

RR17Q4

ID Module Type Description Risk Comments
RR17Q4 POS Terminal Change in c_bpartner table

All columns with address information have been removed. We already have that information in c_bpartner_location table. Removed columns: 'locId', 'locName', 'postalCode', 'cityName', 'regionId', 'countryId', 'countryName', 'shipLocId', 'shipLocName', 'shipPostalCode', 'shipCityName', 'shipRegionId', 'shipCountryId'.
The suggested way to read the location properties is to read them from the location objects in the receipt. The existing properties have been preserved for compatibility purposes inside the business partner object, but specially if there are customizations which add more properties to the location, the proper place to read them from is both location objects (billing and shipping) from the receipt model.

Medium See 36515
RR17Q4 POS Terminal Change in OrderLoader process

Some methods have been changed from protected to private. The OrderLoader itself could not be extended after the change done in 15Q3 and the addition of the ImportEntry functionality, so the change is done mainly to prevent future misunderstanding.

Low See 36614

RR17Q3

No Changes.

RR17Q2.3

No Changes.

RR17Q2.2

No Changes.

RR17Q2.1

No Changes.

RR17Q2

ID Module Type Description Risk Comments
RR17Q2.1 POS Terminal Change in OBPOS_PAYMENTMETHODCASHUP table

Field STARTINGCASH default value 0
Field TOTALSALES default value 0
Field TOTALRETURNS default value 0
Field AMOUNTTOKEEP default value 0 and not null

Low See 35472
RR17Q2.2 Mobile Core Removed class WritableOrganizations The process implemented in WritableOrganizations is no longer used by any retail module Low See 35630
RR17Q2.3 Retail Discounts Change in column EM_OBDISC_IDENTIFIER of the C_Orderline_offer table Column EM_OBDISC_IDENTIFIER length has been increased from 50 to 100 Low See 35342
RR17Q2.3 Mobile Core additionalCheckForDuplicates has been removed In previous versions of the Web POS, there was a mechanism called additionalCheckForDuplicates. This mechanism became obsolete with the arrival of the Import Entry functionality, and therefore has been ermoved. Low See 35293

RR17Q1.3

No Changes.

RR17Q1.2

No Changes.

RR17Q1.1

No Changes.

RR17Q1

No Changes.

RR16Q4.2

No Changes.

RR16Q4.1

No Changes.

RR16Q4

ID Module Type Description Risk Comments
RR16Q4.1 POS Terminal Change in orderLoader to avoid unneeded query createShipmentLines method now receives the locator list Low See 33732

RR16Q3.3

No Changes.

RR16Q3.2

No Changes.

RR16Q3.1

ID Module Type Description Risk Comments
RR16Q3.1.1 POS Terminal Change in orderLoader to avoid unneeded query createShipmentLines method now receives the locator list Low See 33732

RR16Q3

No Changes.

RR16Q2.4

No Changes

RR16Q2.3

No Changes

RR16Q2.2

No Changes

RR16Q2.1

ID Module Type Description Risk Comments
RR16Q2.1.1 POS Terminal Change in orderLoader to avoid unneeded query createShipmentLines method now receives the locator list Low See 33732

RR16Q2

No Changes

RR16Q1.3

No Changes.

RR16Q1.2

No Changes.

RR16Q1.1

No Changes.

RR16Q1

ID Module Type Description Risk Comments
RR16Q1.1 Mobile Core Add the ability to add parameters to getHqlProperties function Add the ability to add parameters to getHqlProperties function Low See 31572
RR16Q1.2 POS Terminal Change POSImportEntryProcessor to use Business Event Handler concept POSImportEntryProcessor now extends EntityPersistenceEventObserver instead of ImportEntryPreProcessor class Low See 31650

RR15Q4.5

No Changes.

RR15Q4.4

No Changes.

RR15Q4.3

No Changes.

RR15Q4.2

No Changes.

RR15Q4.1

No Changes.

RR15Q4

No Changes.

RR15Q3.4

No Changes.

RR15Q3.3

No Changes.

RR15Q3.2

No Changes.

RR15Q3.1

No Changes.

RR15Q3

ID Module Type Description Risk Comments
RR15Q3.1 Discounts Loader classes are not extensible As the data synchronization process of the Web POS changed significantly in this release, the ability to extend Loader classes (such as the OrderLoader) doesn't work anymore. This means that even if there is a child of any Loader class, and this class is registered in the client side, it won't be used in the backend to import the data. More information about this change can be found here.

It's important to remark that this way of adding new functionality to the Loading process was never intended, it was always dangerous (as overwriting our methods had the risk of losing bug fixes and new functionality if done improperly) and never worked completely (for example, it never worked if records ended up in the 'Errors while importing POS data' window and users tried to "Save again" the record).

This functionality has been replaced by the already existing hooks, so all developers are encouraged to use them to add new functionality to the Loader classes.

Low See this page for more information about the data synchronization changes.

RR15Q2.5

No Changes.

RR15Q2.4

No Changes.

RR15Q2.3

No Changes.

RR15Q2.2

No Changes.

RR15Q2.1

No Changes.

RR15Q2

ID Module Type Description Risk Comments
RR15Q2.1 Discounts AD Element has been removed The AD Element 'Discount percentage to apply' has been removed because it is not used in this module. It has been moved to the module 'discounts by total' Low See 29834
RR15Q2.2 POS Terminal Two mandatory fields now accept null values Now the fields Financial Account of POS Terminal Window / Payment Type Tab and Cash Differences from POS Terminal Type Window / Payment Method Tab allow null values. See the issue for more information. Low See 27722

RR15Q1.4

No Changes.

RR15Q1.3

No Changes.

RR15Q1.2

No Changes.

RR15Q1.1

No Changes.

RR15Q1

No Changes.

RR14Q4

ID Module Type Description Risk Comments
RR14Q4.1 Mobile Core Changed URL to retrieve (static) content before login The recommended URl for retrieving content generated by components before logging in has changed. See the issue for more information. Low See 27248
RR14Q4.2 Mobile Core New method to access the HookManager in client side javascript The HookManager is now accessible through this javascript: OB.UTIL.HookManager. The old method through the OB.MobileApp.model.hookManager is deprecated. See the issue for more information. Low See 27349

RR14Q2.4

ID Module Type Description Risk Comments
RR14Q2.4.1 Mobile Core Changed URL to retrieve (static) content before login The recommended URl for retrieving content generated by components before logging in has changed. See the issue for more information. Low See 27248

Retrieved from "http://wiki.openbravo.com/wiki/Retail:API_changes"

This page has been accessed 2,501 times. This page was last modified on 3 October 2017, at 08:08. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.