web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Cannot set SOP Line Item Extended Price using VSTools

(0) ShareShare
ReportReport
Posted on by 751

I am unable to assign a calculated value to the ExtendedPrice field within the LineScroll window of SOP Entry.  Is there any way to do this?

Here is my current code :

static Microsoft.Dexterity.Applications.DynamicsModifiedDictionary.SopEntryForm SopEntry1 = DynamicsModified.Forms.SopEntry;

SopEntry1.SopEntry.LineScroll.ExtendedPrice.Value = PriceCalc1.GetCalcExtdPrice();

SopEntry1.SopEntry.LineScroll.ExtendedPrice.RunValidate();

If I step through the debugger's Immediate window, I can check and see that ExtendedPrice contains the value I want coming from PriceCalc1.GetCalcExtdPrice().  However, the GP form itself remains unchanged even after the RunValidate command.  I am not getting any exceptions from .NET either.

The only way I can assign a value to a Line Item's Extended Price is to pop open the SopItemDetail form, which I would rather avoid.

 

I am using VS Tools, GP2010, Visual Studio 2010, C#.

 

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Jeganeedhi Krishnan Profile Picture
    2,500 on at

    Hi Jerry,

    If I am not mistaken, you can find one more local field of  Extended Price in scrollwindow.

    You have to set the value to that local field.

  • Dave Dusek Profile Picture
    on at

    Yes, he is right.  The field you should be setting is LocalExtendedPrice.  

  • Jerry Higgins Profile Picture
    751 on at

    Thanks!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans