7/8/2025 2:34:22 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Activity Follow up customisation creates additional Activity
Posted: 24 Dec 09 3:49 AM
|
Hi All,
(v7.5.2 LAN)
I have added custom fields to the Activity table. I bind a new control (have tried both edit box and lookupEdit) in Activity Details View and it creates new Activities and completes without issue. If on the complete Activity dialogue I create a followup activity (say a meeting) it creates 2 activity records for the follow up meeting. One activity is without the custom field populated, and has a corresponding record in User_Activity and one record does populate the custom field, but does not have a corresponding User_Activity record, so it un-accessible.
Anybody had experience of custom fields in Activities and follow-up activities?
At the moment I am going to resort to removing the bindings and populating post save of the activity.
Any help/advice/suggestions appreciated.
James |
|
|
| |
|
Re: Activity Follow up customisation creates additional Activity
Posted: 29 Dec 09 3:36 AM
|
Thanks for the reply Mike,
Yes, I have the same fields in the History table (albeit in a different order - maybe that's a reason?).
When first added although the new fields were bound they were not adding to the database when the activity was committed. To compensate I was populating in the Global script Sub Application_AfterPostActivity. This appeared to work for new activities, but not for follow up activities (which duplicated, as per original post, before the scripted element was encountered).
I have since coded around this using globals. I will put some time aside and keep trying this, as I agree with you, that it should work without workarounds.
James |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|