I've got a program that programatically adds a Contact to an order. Everything works perfectly for all contact types except one: Hazard Insurance Agent. Adding a new IHazardInsuranceAgent isn't the problem, adding the Person seems to work fine. However, when the record is saved I get the following error:
"Cannot insert the value NULL into column 'OrderContactID' ...."
I've validated that my Person record as an ID (I'm using HazardInsuranceAgent.Person.CreateNew), and the same code works for all the other types with no problems.
Any insight you can provide would be helpful,
Thanks,
Adding Contacts to an Order - Error Saving Person
Moderator: Phil Barton
-
- Posts: 54
- Joined: Wed Sep 24, 2008 2:37 pm
- Location: Raleigh, NC
- Contact:
Re: Adding Contacts to an Order - Error Saving Person
This is a known issue and has been addressed in our next release.
Phil Barton
Software Architect
SoftPro
Software Architect
SoftPro
Re: Adding Contacts to an Order - Error Saving Person
Thanks Phil!! You've saved me a lot of headaches. I'll wait the next release.Phil Barton wrote:This is a known issue and has been addressed in our next release.
Robert