Fetching the Reference field's other column values in a UI ACTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2014 02:34 AM
Hello Everyone,
I need to pass on a Reference field's another column value to some web service from a UI action.
var oCountry = g_form.getReference('country');
gs.log('Object:' || oCountry,'WSCL');
gs.log('Shot name' || oCountry.u_short_name,'WSCL');
country is a reference field on my form, u_short_name is another column on country table. I am looking to post this value to a web service. This code is under a UI action.
Does getting the ref. with g_form works in UI action?
Please help!
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2014 05:46 AM
yup... it should work