Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Change Unit Price value on SOP Item Detail form using dexterity

Posted on by 185

I am trying to figure out how to change the Unit Price field on the SOP Item Detail window, I can change the value but when I change that field in dexterity code, the Extended Price, Subtotal and Tax isn't automatically calculated like it is if I manually change the amount in the field. How can I capture which dexterity code is running behind the scenes to update these other fields?

*This post is locked for comments

  • Verified answer
    Alvin Evans Profile Picture
    Alvin Evans 185 on at
    RE: Change Unit Price value on SOP Item Detail form using dexterity

    I found the "run script" command which is what I was after.

    run script 'Unit Price';

  • Alvin Evans Profile Picture
    Alvin Evans 185 on at
    RE: Change Unit Price value on SOP Item Detail form using dexterity

    What I am trying to do here is set the Unit Price field on the SOP Item Detail window and then force GP to recalculate the window as if I had typed the amount in the field manually, is this possible? Is it possible to force the GP Unit Price change trigger to run?

    Thanks

  • Alvin Evans Profile Picture
    Alvin Evans 185 on at
    RE: Change Unit Price value on SOP Item Detail form using dexterity

    I have installed the SDK but can't seem to find where the parameters for application procedures are listed, I have managed to debug that SOP_Calc_Extended is called but I have no idea what parameters it accepts.

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