Error: The INSERT statement conflicted with the FOREIGN KEY constraint “FK_MKTSOURCECODEPART_SEGMENTATIONID.” -- when adding a test marketing effort segment

Error: Data could not be saved. The INSERT statement conflicted with the FOREIGN KEY constraint “FK_MKTSOURCECODEPART_SEGMENTATIONID.” The conflict occurred in database “[DATABASE NAME]”, table “dbo.MKTSEGMENTATION”, column ‘ID’

When attempting to add a test segment to a marketing effort, BBDM users may receive the error message above. The error message may appear if the source code for the test segment contains any user-defined source code parts.

Download and install the latest patch, which contains all fixes from previous patches. If you are running an older version, download and install the latest version and then the patch. 

Possible workaround:

When first adding the test segment, leave the format for the user-defined source code part set to <by marketing effort>. Once the test segment has been added, edit it and change the format to the desired format for this particular source code part.

Environment

 3.0.516.15
 3.0.516, Service Pack 3

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.