Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Report Writer Calculation for Expiration Date on SOP blank Quote form

Posted on by Microsoft Employee

Hello, I'm trying to do a calculated field in Report Writer for the SOP blank quote form to make an expiration date field from the 'Document Date' field in the Header section from the "Sales Transaction Work" table to auto calculate 90 days from the document date. Calculations seem a little tricky and i just could not get favorable results. Any help or advice would be awesome! Thanks gurus.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Thank You Leslie and Sanjay!

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Howdy,

    sounds good  to me!

    kind regards,

    Leslie

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Open the report in report writer

    At tool box select calculated field - click new

    At calculated filed defination window

    1) Enter name of calculated filed - ExpiresOn

    2) Change result type to Date

    3) select sales transaction work at resources drop down

    4) select document date at field

    5) hit add

    6) click on "+" operator

    6) click on constants tab

    7) ensure the type is integer

    8) enter 90 at constant

    9) hit enter for constant

    10) hit add

    11) click ok

    Now the ExpiresOn field will appear at your calculated fileds which you can use in the report.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Hi Leslie, thanks for the quick response. Can you tell me the steps you took to get this to work?

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Joe,

    I made a calculated field that just added '90' to the Document Date field. What didn't work for you, or what am I missing?

    Kind regards,

    Leslie

  • Suggested answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: Report Writer Calculation for Expiration Date on SOP blank Quote form

    Hi Joe,

    Does the setting on the Sales Quote Setup window not work for you? I would normally just put '90' in that field and the system calculates the date automatically.

    What am I missing?

    Kind regards,

    Leslie

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans