2/23/2025 6:59:42 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 the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
How to add an event to an Activity..?
Posted: 01 Aug 08 2:42 AM
|
Hi,
I want to add events for an activity. I have created an entity called Cevents and created a relation[1:M] between activity and CEvent. I have named CEvent as child properties in the activity and Activity as parent properties in Cevent.
I am trying to save an event for the current activity.But when I save, a new activity is created. i.e. activityId for the activity and the events are different. Following is the code snippet I am using to add an event to the activity:
EventDetails.ascx.cs: _activity = this.BindingSource.Current as Sage.SalesLogix.Activity.Activity; Sage.SalesLogix.Activity.Entities.CEvent cevents = Sage.Platform.EntityFactory.Create() as Sage.SalesLogix.Activity.Entities.CEvent; cevents.TARGET = Notes.Text; _activity.CEvent = cevents;
ActivityDetails.ascx.cs: On save click: _activity_Save();
Thanks, Prathima
|
|
|
|
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!
|
|
|
|
|
|
|
|