Most Powerful Open Source ERP

Guideline Proxy Fields Should Share Semantics

To keep consistency across fields.
  • Last Update:2019-07-15
  • Version:001
  • Language:en

Proxy Fields Should Share Semantics

If no semantic field (business/product specific) is found, it means that the proxy field will link to a technical field (which is only defined in Base_viewFieldLibrary) directly.

If semantic fields exists, they should share semantics as much as possible

Good Example:

SaleOrder_view[my_total_price]

-> Base_viewTradeFieldLibrary[my_view_mode_total_price]
  -> Base_viewFieldLibrary[my_view_mode_money_quantity]
    -> Base_viewFieldLibrary[my_float_field]

SaleOrder_view[my_title]

-> Base_viewTradeFieldLibrary[my_view_mode_title]
  -> Base_viewFieldLibrary[my_view_mode_title]
    -> Base_viewFieldLibrary[my_string_field]