on 06-10-2013 10:10 AM
Hi Experts ,
I have a requirement in which i need to call create master agreement action from a toolbar script ,
I need to have a toolbar script name Create Master Agreement ,when user clicks on that the same wizard should come as when user clicks on action-> Create Master agreement .
Appreciate your support.
Regards,
Piyush Srivastava
Hi Piyush,
There are a couple things you need to take into consideration. First, you would have to determine what master agreement doc type you want to use. The script to create the MA would look something this…
maHome = IBeanHomeLocator.lookup(session, ContractIBeanHomeIfc.sHOME_NAME);
maBean = maHome.create(docType);
Once the you the iBean, you would have to use the setter methods on the ContractIBeanIfc to set the values of all the required fields on the master agreement and finally call the save method on the home.
Hope this helps.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.