Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Calculated Field in Report Writer

(0) ShareShare
ReportReport
Posted on by 3,225

How would i make this calculated field for our orders?

I need to make a "subtotal to ship" field by taking the extended price of all items that will be shipped less the extended price of backordered items.  I would like this to show on the Order before we transfer it to invoice.

Thanks for any help.

Katie

*This post is locked for comments

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,965 Most Valuable Professional on at
    RE: Calculated Field in Report Writer

    Hi Katie

    There are two methods.

    The first is exactly as Justin describes.

    The other is to make a single calculated field with the calculation

    (Qty Fulfilled * Unit Price) - (Qty to Back Order * Unit Price)

    Then drag the field into the footer and set it for type SUM.

    This is simpler and will give the same figure.

    David

  • Suggested answer
    Justin Thorp Profile Picture
    Justin Thorp 2,265 on at
    RE: Calculated Field in Report Writer

    Hi Katie,

    The approach I suggest is to create 3 calculated fields.

    1.)  Presumably take the Qty Fulfilled * Unit Price.  (Let's call this CALC1).  Place it in the Report Footer and change the "Display Type" to SUM.

    2.)   Presumably take the Qty to Back Order * Unit Price.  (Let's call this CALC2).  Place it in the Report Footer and change the Display type to SUM.

    3.)  When creating this 3rd calculated field, make sure you have "Resources" set to "Report Fields".  Now when you click on the "Field" drop down list, you should see:  RF_SUM CALC1 and RF_SUM CALC2 (Because you placed a field in the "RF" section, made the Display Type = "SUM" and the field was called CALC1...hence RF_SUM CALC1, etc...)

    So the expression for this 3rd calculated field would simply be:  RF_SUM CALC1 - RF_SUM CALC2

    Place this 3rd calculated field in the RF section of your report and change the "Display Type" to Data.

    ============================================

    The above is just a suggested method, and you may want to use different fields in Calc1 and Calc2.  The "Tricky" bit (or the bit I think most people forget about) is in CALC field 3 where you use the "Report Fields".

    Thanks,
    Justin

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans