Use Cases
Customize Billing Account Choosing
5 min
the billing account field is a standard data field found in various salesforce objects, including opportunities, quotes, and invoices it serves to identify the customer or client responsible for payment for goods or services rendered this field is especially relevant for customers collaborating with partners or resellers, as the partners and resellers may act as the billing account in salesforce, nue utilizes the 'account' object for both sales and billing purposes as a default, the billing accounts listed when creating a quote are associated with the sales account for more information on the billing hierarchy and its scenarios, please click billing account hierarchy docid\ isknq1oh0d81vhnqjs7ei however, there may be cases where you want to select a billing account from a list of partners, resellers or other accounts in this scenario, the billing account is not associated with the sales account this tutorial will walk through the steps in using the lookup filter plugin to allow the sales rep to select any account to be the billing account select billing account jpg to control the available options on the list of billing accounts, use the lookup filter plugin on the billing account field in the quote or order object by default, the associated billing accounts of the current sales account will be displayed under the section 'related billing accounts', and all other accounts are listed under 'other accounts' customize this plugin by following the steps provided below create an apex class apex class code can be copied lookup filter plugin docid 6xox67g3lremhigpb0ra7 once the apex class is created, you can then register the plugin in custom settings navigate to setup > custom settings search for lookup search plugin image3 click ‘manage’ add a new lookup search plugin value image4 enter the lookup field api name and object api name lookup field api name ruby billingaccount c object api name quote plugin class name ruby { name of the apex class you created } (eg ruby quotebillingaccountpluginv2) the plugin class name has to match the apex class name you created earlier image5 save now you can search for any account in the billing account field on the quote
🤔
Have a question?
Get answers fast with Nue’s intelligent AI, expert support team, and a growing community of users - all here to help you succeed.
To ask a question or participate in discussions, you'll need to authenticate first.