Skip to content

Related to RM-4145: API changes for Contributions

Overview

This development adds a new product type called Contribution as well as extending the Product model configuration through the addition of a Product Subtype. A Contribution can be defined as an extra charge associated with a product, e.g. an "Eco-tax" on a product that contains plastic. Contributions are primarily configured via their product subtype.

What's New

Added Constraint

Product Table

Added constraint M_PRODUCT_CONTRIBUTION_CHECK to table M_PRODUCT:
 - defined as: PRODUCTTYPE <> 'C' OR M_PRODUCT_SUBTYPE_ID IS NOT NULL

Reason For Change

API change was detected in try-backoffice job: https://builds.openbravo.com/job/try-init/3556/console

Impact

Low (New constraint added for new product type)

Links

Jira: RM-4145

Mantis: 54623

MRs:

Docs:

Testing Performed

Edited by Frank González

Merge request reports