Skip to Content
0
Former Member
Feb 14, 2011 at 10:38 AM

Save BP on Lead Save

66 Views

I need to Save BP in Precontact Role on Lead Save. All the coding for the BP is done. This is how it works at the moment:

1) BP relevant data has been added to Lead's Header. User in Create mode can enter all BP specific data.

2) After Saving Lead BP get s a BP ID and user is able to navigate to BP streight after saving.

3) After navigating to BP user is asked whether he wants to Save BP.

So the problem is that BP is saved in the buffer but not actually committed to the database on Lead Save,

I need BP saved on Lead save. I think I need to add BP entity to the transaction context of lead before saving it? If any of it makese sense please let me know your valuable comments.