Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Profit Margin Set

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there a way i can lock my profit margin to % even if new items come in ?

We only use one particular profit margin scheme like lock it 30% default if it need to change we would change the value

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Profit Margin Set

    Duplicated Test Database

    Can you help with the trigger please

    Create Trigger trg_updateprice

    ON dbo.item

    AS

    BEGIN

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Profit Margin Set

    NO option for this in RMS directly.  

    If you absolutely require this:  

    You could create a trigger in the database attached to the [Item] table that would set the price based on the cost and margin.  This would then update the price anytime a change was made to the item table (update price, or other item properties)

    You need to be careful to not have a circular trigger since you could be updating the item table via the trigger.

    Backup database and test when you are closed.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans