Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Campaign with prerequisits

Posted on by Microsoft Employee

It is easy to create a campaign to sell a specific product, to a specific segment at a specific price in a specific time period. 

This works just fine but I want to add one more factor to this equation. I want this special price only to be active when a reference number/campaign number is used. Any thoughts?

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Campaign with prerequisits

    You are right, standard does so.

    You need a little customization. The price is handled in codeunit 7000 (FindSalesLinePrice). Here there's a function called CalcBestUnitPrice(TempSalesPrice).

    If a campaign is active in the Sales Header, you can filter TempSalesPrice (table 7002) by only sales price lines with Sales Type = Campaign.

    If no campaign is selected, than you can consider only Sales Price records with Sales Type <> Campaign.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Campaign with prerequisits

    Hi Stefano, thanks for the quick response. Campaign is in place but customer gets this special campaign price with every order. I want this to happen only when I want it to. In the order, refering to the campaign number or not, it makes no difference. The special campaign price is ALLWAYS generated for this product for this customer.

    Is there a checkbox I am missing?

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Campaign with prerequisits

    You can create sales prices for a particular campaign.

    When you create a Sales Order, you can specify a Campaign No. in the header and this affects the sales prices. Check here:

    https://msdn.microsoft.com/en-us/library/hh165250(v=nav.90).aspx

    msdn.microsoft.com/.../hh165212(v=nav.90).aspx

    https://msdn.microsoft.com/en-us/library/hh174278(v=nav.90).aspx

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans