Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Dexterity Calculated Field In Scrolling Window

(0) ShareShare
ReportReport
Posted on by

 I'm trying to create a window using Dexterity to more conveniently pull together garnishment data.  I created a simple window with a scrolling window to pull all garnishments for a given employee.  It works great however the table that shows garnishment data only keeps the original amount and the amount paid not the remaining balance. I'm trying to create a field in the scrolling window that will calculate remaining balance.  I wrote the script to fill the window and it compiles, but the remaining balance field won't calculate.  Currently I have tried putting the script in both the Pre and Post window script section with no luck.  Any thoughts? Is this even possible?

*This post is locked for comments

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,042 Most Valuable Professional on at
    RE: Dexterity Calculated Field In Scrolling Window

    Hi

    Tim is correct.

    You can use the set x to y syntax or x = y syntax. It does not make a difference.

    The issue is that the Fill script runs before the window fields are populated so you must work with the table fields.

    David

  • Community Member Profile Picture
    on at
    RE: Dexterity Calculated Field In Scrolling Window

    Thank you very much.  I was missing the set part.  It worked with that.

  • Verified answer
    Tim W Profile Picture
    2,925 on at
    RE: Dexterity Calculated Field In Scrolling Window

    You have to put it in the fill script of the scrolling window and though you are setting the value of a field in the scrolling window you need to use the table values as the source for the calculation.

    ** Scrolling window fill script**

    set 'Remaining Balance' of window <your scrolling window> of form <your form holding the window> to 'Original Amount Field' of table <your table> - 'Amount Paid Field' of table <your table>;

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans