Query for Related Records on Related List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2017 01:47 PM
Having some trouble writing a query for my relationship. I have a custom table called "u_ppi_database". Records on this table can generate a
"REQUEST" which I have populating on the form as shown below. The field on request is "number" and my custom field is "u_request_number". I am trying to get a
related list that shows the request in that field above. Everything I try either shows ALL requests or none at all.
CUSTOM TABLE
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 07:06 AM
Can you please share the screenshot/details of the 'Relationship' you created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 09:48 PM
Can you please try replacing your script in 'Query with' with the below statement?
current.addQuery("sys_id", parent.u_request_number);
(Just remove everything in that field and try only with the above statement)