Adding Contacts to an Order - Error Saving Person

Discussions concerning general integration topics.

Moderator: Phil Barton

Post Reply
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Adding Contacts to an Order - Error Saving Person

Post by roteague »

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,
Robert
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

Post by Phil Barton »

This is a known issue and has been addressed in our next release.
Phil Barton
Software Architect
SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Adding Contacts to an Order - Error Saving Person

Post by roteague »

Phil Barton wrote:This is a known issue and has been addressed in our next release.
Thanks Phil!! You've saved me a lot of headaches. I'll wait the next release.
Robert
Post Reply