Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Opportunity - do you want to select the customer template?

(0) ShareShare
ReportReport
Posted on by 161

Hi,

When on a contact card and if I want to create a sales quote for a contact that isn't a customer I get asked the following question.

"Do you want to select the customer template?"

Can this be defaulted so that this questions isn't asked?

Thanks for any help in advance.

Neil.

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Opportunity - do you want to select the customer template?

    Hello,

    I believe this is not possible. In Sales Header table, this is defined:

           SelectCustomerTemplateQst: Label 'Do you want to select the customer template?';

    SelectSalesHeaderNewCustomerTemplate()

    #if not CLEAN18

       [Obsolete('Will be removed with other functionality related to "old" templates. Replaced by SelectSalesHeaderNewCustomerTemplate()', '18.0')]

       procedure SelectSalesHeaderCustomerTemplate(): Code[10]

       var

           Contact: Record Contact;

           ConfirmManagement: Codeunit "Confirm Management";

       begin

           Contact.Get("Sell-to Contact No.");

           if (Contact.Type = Contact.Type::Person) and (Contact."Company No." <> '') then

               Contact.Get(Contact."Company No.");

           if not Contact.ContactToCustBusinessRelationExist then

               if ConfirmManagement.GetResponse(SelectCustomerTemplateQst, false) then begin

                   Commit();

                   exit(CopyStr(Contact.LookupCustomerTemplate(), 1, 10));

               end;

       end;

       procedure SelectSalesHeaderNewCustomerTemplate(): Code[20]

       var

           Contact: Record Contact;

           ConfirmManagement: Codeunit "Confirm Management";

       begin

           Contact.Get("Sell-to Contact No.");

           if (Contact.Type = Contact.Type::Person) and (Contact."Company No." <> '') then

               Contact.Get(Contact."Company No.");

           if not Contact.ContactToCustBusinessRelationExist then

               if ConfirmManagement.GetResponse(SelectCustomerTemplateQst, false) then begin

                   Commit();

                   exit(Contact.LookupNewCustomerTemplate());

               end;

       end;

    You may want to raise it as a feature suggestion. Looks like a good suggestion. To be raised via https://aka.ms/bcideas .

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans