Hi all,
Does anyone know of a way to set a default value against account, that will be auto populate into the discount field when adding a new row to a quote?
Many thanks
Anthony
Hi all,
Does anyone know of a way to set a default value against account, that will be auto populate into the discount field when adding a new row to a quote?
Many thanks
Anthony
Hi Anthony
It is required good skills on javascript, php and sugarcrm development.
You have to:
Create a custom field on Accounts module;
Customize the custom/modules/Quotes/views/view.edit.php in order to expose a new javascript field which will store the default discount for the Account;
Modify the script modules/Quotes/quotes.js in order to update addRow function to properly fill in discount the default discount of Account.
Cheers
André Lopes
DevToolKit / Project of the Month - June 2009
Lampada Global Services- Open Source Solutions
Avenida Ipiranga, 318
Bloco B - CJ 1602
São Paulo, SP 01046-010
Brazil
Office: +55 11 3237-3110
Mobile: +55 11 7636-5859
e-mail: andre@lampadaglobal.com
Lampada Global delivers offshore software development and support services to customers around the world.
Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.
I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.
Thanks for the reply.
Looks like I have a little project over xmas![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks