Deepak Dixit created OFBIZ-13271:
------------------------------------

             Summary: Clean up entity definitions by removing unnecessary 
table-name attributes.
                 Key: OFBIZ-13271
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13271
             Project: OFBiz
          Issue Type: Improvement
    Affects Versions: Upcoming Branch
            Reporter: Deepak Dixit
            Assignee: Deepak Dixit


Some entities in OFBiz use the {{table-name}} attribute with a {{_new}} suffix 
(e.g., {{{}table-name="PRODUCT_KEYWORD_NEW"{}}}).

These were likely introduced during a transition or migration. Since the 
original tables no longer exist and there are no conflicts, we can safely 
remove these {{table-name}} attributes to let OFBiz use the default naming 
convention based on the entity name. This helps reduce clutter and improves 
maintainability.

This task includes two cleanup efforts
 # *Remove unused entities* that are no longer referenced in code or used in 
any business logic:

 ** {{ORDER_BLACKLIST}}

 ** {{ORDER_BLACKLIST_TYPE}}

 ** {{PRODUCT_PROMO_CODE_EMAIL}}

 ** {{PICKLIST_STATUS_HISTORY}}

 # *Remove redundant {{table-name}} attributes* from entity definitions that 
use {{_NEW}} suffixes. These overrides were likely used during temporary 
transitions. The original tables are no longer present, and the suffix is 
unnecessary:

 ** {{PARTY_RATE_NEW}}

 ** {{SALARY_STEP_NEW}}

 ** {{EMPL_POSITION_TYPE_RATE_NEW}}

 ** {{PRODUCT_KEYWORD_NEW}}

 ** {{WORK_EFFORT_CONTACT_MECH_NEW}}

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to