You have to override the save button using extension to include your custom business logic.Below is the sample controller code to overide the Save button
public class MyControllerExt {
private final Account accObj;
public MyControllerExt (ApexPages.StandardController stdController) {
this.accObj= (Account)stdController.getRecord();
}
public PageReference save(){
//Write your business logic to insert/update child accounts
return null;
}
}
Thanks
Shaijan
You have to override the save button using extension to include your custom business logic.Below is the sample controller code to overide the Save button
Check this link to know more details about controller extension in salesforce http://www.salesforce.com/docs/developer/pages/Content/pages_controller_extension.htm