Hi all ,
I have an compilation error when I am running my plugin ,that runs when I create a new contract line item. I wrote this plugin to create 1 Service Activity per X month ( X value is defined to the system from a field at contract line form ).
For example lets assume that I entered X=3, then I want the system to create 1 Service Activity every 3 months .Then I will have a Service Activity at August,November,February ,May .... so on
here is the error description : An exception of type 'System.ServiceModel.FaultException`1' occurred in PluginProfiler.Library.dll but was not handled in user code
Additional information: Creating Entity with an invalid parent. Entity: ServiceAppointment, ReferencingAttribute:regardingobjectid
please note that I created a relationship between contract line item and service activity entities but when I navigate to Communication&Collaboration section at contract line entity , the activities check box is dimmed so I cannot check mark on activities box( I attached a photo to illustrate that ).
*This post is locked for comments