Jerry H.
2011-09-07 01:24:59 UTC
Overall, I like VSTools and am planning on replacing as much of my
100MB(!) VBA file as possible from a prior GP version.
Anyway, I'm having a specific problem with the SOP Entry Linescroll
fields.
I've modified the SOP Entry form and the line scroll, and re-run
DAG.exe to update the assemblies.
From there, I open a C# .NET form that eventually returns a re-
calculated Extended Price to the current line in the Linescroll, using
this code:
SopEntry1.SopEntry.LineScroll.ExtendedPrice.Value =
frmPriceCalc1.GetTotalPrice();
SopEntry1 is a variable that represents
"Microsoft.Dexterity.Applications.DynamicsModifiedDictionary.SopEntryForm"
The PROBLEM is that the Extended Price field within GP is not
changing. But if I use the VS debugger on the Dynamics process, I can
see that behind the scenes,
SopEntry1.SopEntry.LineScroll.ExtendedPrice.Value is getting updated
with results from my frmPriceCalc1 form.
Do I have to call some extra methods after updating a field? SHould I
be accessing the underlying SOP tables instead of the form fields?
100MB(!) VBA file as possible from a prior GP version.
Anyway, I'm having a specific problem with the SOP Entry Linescroll
fields.
I've modified the SOP Entry form and the line scroll, and re-run
DAG.exe to update the assemblies.
From there, I open a C# .NET form that eventually returns a re-
calculated Extended Price to the current line in the Linescroll, using
this code:
SopEntry1.SopEntry.LineScroll.ExtendedPrice.Value =
frmPriceCalc1.GetTotalPrice();
SopEntry1 is a variable that represents
"Microsoft.Dexterity.Applications.DynamicsModifiedDictionary.SopEntryForm"
The PROBLEM is that the Extended Price field within GP is not
changing. But if I use the VS debugger on the Dynamics process, I can
see that behind the scenes,
SopEntry1.SopEntry.LineScroll.ExtendedPrice.Value is getting updated
with results from my frmPriceCalc1 form.
Do I have to call some extra methods after updating a field? SHould I
be accessing the underlying SOP tables instead of the form fields?