Allow to create model from view (FHCA-1057)

Description

In some cases it can be useful to allow generating model for views. Proposal to allow generating model for view when the table parameter is not a wildcard (doesn't have %)

Environment

None

Activity

Show:
Chuck Boecking
September 6, 2019, 5:17 PM

What are example use cases for a view model? Here are my guesses:

  • Creating complex getter methods that are domain specific

  • Static methods that relate to data in the view

Carlos Ruiz
September 9, 2019, 10:18 AM

Hi , the complete customer request was:

In some cases, in order to normalize database queries (eg, forcing index usage) we would like to use Views, rather than having to create the query in BO, especially complex queries. However we couldnt generate Model from a View.

It is possible to change Model Generator to the generation of Models from a View?

Even knowing that a PO.SaveEx would return error for example.

Assignee

Carlos Ruiz

Reporter

Carlos Ruiz

Labels

None

Tested By

None

Fix versions

Priority

Major
Configure