Hi,
When using the vendor lookup form in VST I cannot get it to go to the closet value from my input. I am using GP2018. The lookup sample app does not work either. All other lookups I have used work fine, i.e. items, buyers, locations etc...
After setting up the appropriate code in GPAddins I do this on the lookup button....
Microsoft.Dexterity.Applications.SmartListDictionary.VendorLookupForm vendorLookupForm = SmartList.Forms.VendorLookup;
GPAddIn.WPCreditorIDFromLookup = true;
vendorLookupForm.Open();
vendorLookupForm.VendorLookup.VendorId.Value = txtCreditorFrom.Text;
vendorLookupForm.VendorLookup.VendorSortBy.Value= 1;
vendorLookupForm.VendorLookup.VendorSortBy.RunValidate();
It does not seem to matter what is passed, it will go to the last vendor.
I have tried all the other options...
vendorLookupForm.VendorLookup.AsiLuFindString.Value = txtCreditorFrom.Text;
vendorLookupForm.VendorLookup.AsiLuFindString.RunValidate();
But this does not produce anything.
Any insight would be appreciated.
Thanks