Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Dynamics 365 Retail PO...
Commerce forum

Dynamics 365 Retail POS extension for custom discount calculation

Posted on by 124

Hi All,

As per client request we have to extends the D365 retail POS extension for custom discount calculation.

We are using affiliation for University students. For university student -we have a 3 months offer.

1. October - December (3 months)

2.Each student will get 50% discount with maximum $2000.

As per my understanding I found that we should go for custom extension.

Can any one give me a better way?

If we need to write retail POS extension for custom discount calculation. How can we start the development?

I am new to retail development. But have previous experience on FnO extension development.

Thanks in advance

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Dynamics 365 Retail POS extension for custom discount calculation

    Hi,

    There is an alternative way, suggested on some forum: you can use loyalty cards with loyalty tiers - for every tire you can have amount limits defined (like, if more than 2000 amount => switch to 'no discounts' tire) and also expiration dates for tiers

  • D365 Warrior Profile Picture
    D365 Warrior 124 on at
    RE: Dynamics 365 Retail POS extension for custom discount calculation

    Hi

    Thank you very much for your details guide line.

     "If for any student batch job sees, that student should not use this discount anymore - update student record and remove 'Student 50%' discount from it"

    -- should I do this in CRT?

    Do I need to store the spent amount in customer profile?

    As I am new to retail development, what will be good option the calculation and time validation extension implement in CRT part?

    If any example or doc share will much appreciated.

    Thanks

  • Verified answer
    Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Dynamics 365 Retail POS extension for custom discount calculation

    Thank you for explanation.

    You are right, it will be extension to calculate every time, what amount is left from 2000$ for students.

    Probably, I would recommend pure D365 extension (X++) without touching Retail itself:

    1) Configure 50% discount via affiliation  'Student 50%'

    2) Assign this affiliation to all students

    3) Create batch job running in background that will be

       a) calculating how much discount every student already received

       b) when was the 1st date of discount usage  - so check 3 months limit

      If for any student batch job sees, that student should not use this discount anymore - update student record and remove 'Student 50%' discount from it

    4) As soon as 'Affiliations' data job runs, students without affiliation assigned will stop receiving discounts.

    This way you do not override any retail disc. calculation (that can influence bad on performance) + you do not need to transfer information about 'spent amount' to store databases (in case of RSSU/RSCU - you will have to anyway calculate this amount in F&O and push to Retail, because students can shop in many stores)

  • D365 Warrior Profile Picture
    D365 Warrior 124 on at
    RE: Dynamics 365 Retail POS extension for custom discount calculation

    Hi

    Thanks for your reply.

    2000$ maximum means

    For 1 student

    3 months + 50% discount= 2000$(max)

    That means 1 student get maximum discount amount 2000$. Not more than that. If any one reach the limit he/she will not allow for 50% discount.

    Thanks

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,597 on at
    RE: Dynamics 365 Retail POS extension for custom discount calculation

    Hi, could you, please, explain what you mean by 'maximum $2000'?

    3 months + 50% discount is standard configuration

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans