By Greg McGuffey - 1/22/2009
Is there any way to exclude columns from a table in the BO Mapper, so those columns don't get included in the BO?
Background: I have added a couple of columns to most tables to help facilitate importing/copying data. The field is an "OriginalID" field and is used to track the original ID of an item when copying it, so any child items can be copied as well. My current thinking is to do this via sprocs only in the backend. The BO never needs to know about this column.
Thanks!
|
By Trent L. Taylor - 1/23/2009
At this point you would just ahve to use the ExcludeFieldsFromUpdate/ExcludeFieldsFromInsert properties on the BO. Excluding them from being created is not an option at the moment. But you can get around this by just excluding the inserts and updates so that they do not update back incorrectly.
|
By Greg McGuffey - 1/23/2009
OK. Look for an enhancement request coming to a forum near you soon!
|
By Trent L. Taylor - 1/25/2009
Actually this has been requested before and will make it into the next major version of SF.
|
By Greg McGuffey - 1/26/2009
Cool!
|