Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
NSC | SuiteQL: Using Outer Join to Get the Assigned Employee’s Full Name in the Task Table
Here is a sample query that retrieves the task records columns from the task table and sources the employee’s full name by concatenating the firstname and lastname fields from the employee table using outer join to display the assigned employee’s full name instead of their internal ID.
SELECT
task.title,
employee.firstname ||' '||employee.lastname as fullname,
task.priority,
task.status,
task.startdate ,
task.duedate
FROM task
FULL OUTER JOIN employee ON task.owner = employee.id;
SELECT title
FROM task;
Got any feedback? Let us know in the comments!
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
Tagged:
0
