Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz You only have until October 8, 2024, 2:00 PM ET to comment your answers and earn rewards! Click here for more details.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
AI capabilities embedded across the suite help boost productivity and give leaders an edge by helping them analyze data faster and generate unique insights that drive better decision-making. Watch these on-demand webinars to see how our AI capabilities can help you.

Streamline Invoice Processing with AI-Powered Automation

Use AI-Driven Insights for Faster, Better Planning and Forecasting

NSC | SuiteQL: Using Outer Join to Get the Assigned Employee’s Full Name in the Task Table

edited May 22, 2024 8:17PM in SuiteCloud / Customization

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!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders