| | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 08/31/2010 7:23:04 PM Posts: 436, Visits: 2,079 |
| | I'd like to see the default field prefix in the table properties of the DDT carried over as a BO property. It would simplify some code I have in my custom base business object. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 08/31/2010 2:36:53 PM Posts: 6,287, Visits: 6,191 |
| Can you give me an example of how you would use this? It might make it easier to help implement some type of solution. Thanks! |
| | | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 08/31/2010 7:23:04 PM Posts: 436, Visits: 2,079 |
| | Just about all of my business objects have a ModBy, AddBy, ModDate, and AddDate field preceeded by the table prefix. ModBy and AddBy are integers (SFSUser PK). I want to create my own object template that adds the code to update the fields when a new record is added or a record is modified. I aslo have some code that populates some custom fields; AddByName, ModByName. I thought that if I had the default prefix the code would be simplier. Right now I just loop through the field name collection looking for fields that contain "AddBy" or whatever I'm looking for to get the actual field name/property I want to work with. |
| |
|
|