Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
If you are going to use a view, then you have to make an updateable view. You will also need to open the BO Mapper and manually override the primary key field and specify a primary key field. It gets more complicated (whether using SF or not) when you start to create updateable views because there are just more things that need to be set. But what you are attempting is possible, as to whether or not it is the best approach just depends on your end goal. Another thing you can do is just create a regular query (SELECT statement) that pulls in all of the fields that you need. THen on the BO you can set the fields that do not need to be updates or inserted in the FieldsToExcludeFromInsert or the FieldsToExcludeFromUpdate properties. This way you achieve the same functionality without going through a view and complicating your INSERTs and UPDATEs.
|