Hello All,
The following code doesnt not seem to work correctly. It compiles succesfully but i get unhandle exception on the UD screen saying couldnt find the column Character05. Any help anyone?
PartNumberCB = cType(csm.GetNativeControlReference("93cbd527-3b46-479f-b78c-8c1ad8040e70"),EpiUltraCombo)
dsPart = Epicor.Mfg.UI.FormFunctions.SearchFunctions.listLookup(oTrans,"PartAdapter", recSelected, False,"ClassID = ""FG"" or ClassID = ""FG20"" ")
If (recSelected) Then
PartNumberCB.ValueMember = "PartNum"
PartNumberCB.DataSource = dsPart
PartNumberCB.DisplayMember = "Character05"
Dim fields As String() = New String() {"PartNum" , "Character05"}
PartNumberCB.SetColumnFilter(fields)
End if
I used this code with PartNum and it works like a charm. Not sure what i am missing. thank you!
Jose
?
Charlie Smith
ESSNER Manufacturing, L.P.
6651 Will Rogers Blvd.
Fort Worth, TX 76140
csmith@...<mailto:csmith@...>
ph: (817) 529-6165
fx: (817) 568-2625
[LOGO_Essner_Manufacturing]
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Wednesday, March 18, 2015 3:53 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Code to return Character05 from Part table in UD table
Hello All,
The following code doesnt not seem to work correctly. It compiles succesfully but i get unhandle exception on the UD screen saying couldnt find the column Character05. Any help anyone?
PartNumberCB = cType(csm.GetNativeControlReference("93cbd527-3b46-479f-b78c-8c1ad8040e70"),EpiUltraCombo)
dsPart = Epicor.Mfg.UI.FormFunctions.SearchFunctions.listLookup(oTrans,"PartAdapter", recSelected, False,"ClassID = ""FG"" or ClassID = ""FG20"" ")
If (recSelected) Then
PartNumberCB.ValueMember = "PartNum"
PartNumberCB.DataSource = dsPart
PartNumberCB.DisplayMember = "Character05"
Dim fields As String() = New String() {"PartNum" , "Character05"}
PartNumberCB.SetColumnFilter(fields)
End if
I used this code with PartNum and it works like a charm. Not sure what i am missing. thank you!
Jose
[Non-text portions of this message have been removed]
Are you on E10 by chance?
I was told by 'Support' that listLookup does not return UD fields....
You could bind that dsPart to a ultragrid and see what is being returned...
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Wed, Mar 18, 2015 at 5:01 PM, neverunmacron@... [vantage] <vantage@yahoogroups.com> wrote:Â<div> <p>I am in Vantage 8.03..409C.</p><div><br></div><div>the thing is that if return the partnum field, it returns the parts</div><p></p> </div> <div style="color:#fff;min-height:0;"></div>
Jose C Gomez
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Fri, Mar 20, 2015 at 1:37 PM, neverunmacron@... [vantage] <vantage@yahoogroups.com> wrote:Â<div> <p>Still haven't been able to figure this out. Anyone else has an idea? thank you!</p><div>Jose</div><p></p> </div><span class="ygrps-yiv-1831020663"> <div style="color:#fff;min-height:0;"></div>