I have tried to create 'Other' type Order contact with Contact Type name as 'Closing Location' but not able to achieve the same
Can you please suggest for the same ?
Create contact: Other (closing location) To getting this done written the below code, it creates 'Other' type of Contact.
Code: Select all
// Add new Contact - Other (Closing Location)
dynamic newContract = ((IOrder)order).CreateNew("Other");
// SET the Location
dynamic address = (dynamic)contract.Address;
address.Address1 = objScheduleClosingRequest.Location;