I am using VS Tools to build some custom solutions and for some reason when I call:
Microsoft.Dexterity.Applications.Dynamics.Forms.VendorLookup.VendorLookup.Open()
Microsoft.Dexterity.Applications.Dynamics.Forms.VendorLookup.VendorLookup.RedisplayButton.RunValidate()
The vendors do not get listed. I use similar code to pull up the CheckbookLookup window from my apps and it works as expected. When I go to the Purchasing -> Cards -> Vendor and the vendor maintenance window opens. I can click on the magnifing glass next to the Vendor ID field and the same Vendor lookup window shows that shows from my form. With the exception that this time the vendors are populated in the scrollwindow.
Anyone know why they would not work with my code? Or a different way to do this using VS Tools?
*This post is locked for comments
I have the same question (0)Stanley,
Most lookup windows are similar in how they work and some do fill themselves using code similar to above.
I would suggest taking a look a the "Lookups.zip" sample on customersource.
the Vendor lookup is one of the several common lookups that the sample app shows how to open.
mbs.microsoft.com/.../developertoolkitsampleapplicationsformicrosoftgp10.htm studio tools sample
regards
patrick
gp dev support