Skip to Content
0
Former Member
Oct 25, 2012 at 12:26 AM

Employee Responsible Rule

78 Views

Hi,

I am developing a custom rule for 'Leads Employee Respobsible' so that alert will be sent to emp responsible when new lead is created. So this rule will be triggered when we save a LEAD first time. The point where this rule is called at run time - at this time "CRM Lead" is not saved in the data base. So some how I need to get the partner number of the lead at run time. To achieve this, I have created an element in my rule as a BOR Object Type BUS2000108.

Now in the function module - I am using this statement to read the current values of the element.

swc_get_element ac_container 'OBJECT' responsible.

But it does not show any value. Infact it does not add the entry in ac_container. Any idea what is missing, or how to achieve the run time value of parnter no here. I tried with different attributes of this BOR Object type but none of them is working. Seems like something is missing.

Please help.

Thanks,