Search This Blog

Friday, June 12, 2015

Address automatically created when create account or contact.How to handle automatically create address

If you have any doubt in the post please post comments. I will try to solve your problem.

When Account and contact is create, two addresses automatically created. If you create plugin for address(customeraddress),plugin will not fire for those addresses for the below configuration.

For example:
Set address name as account name for address
Solutions:
Create a plugin for account and configure it as post operation. On the account  plugin, get/retrieve the address based on account id (where parentid=accountid). Iterate the address assign address name as account name and update the address as
service.update(objAddressEntity).

The same thing you can configure it for contact.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.