
How to show the source Document lookup using C#....
In GP 2010 ...Financila - >General - > Source Document Lookup. This is showing defalut value with : GJ. Same thing i have to do using c#.
I used below code....
Microsoft.Dexterity.Applications.SmartListDictionary.SourceDocumentLookupForm obj = SmartList.Forms.SourceDocumentLookup;
obj .Open();
i got window without any values in that...I need to show the form with default value : GJ.
Let me know how can i get the values ....
*This post is locked for comments
I have the same question (0)SourceDocumentLookupForm sform = SmartList.Forms.SourceDocumentLookup;
if (!sform.IsOpen)
{
sform.Open();
}
sform.SourceDocumentLookup.SourceDocument.Value = "GL";
sform.SourceDocumentLookup.SortBy.RunValidate();
Hope this helps.