Group: Awaiting Activation
Posts: 592,
Visits: 3.7K
|
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.
|