I have seven columns, and am polling the API for When I Work (WIW). I have the following six columns:
FIRST NAME LAST NAME FULL NAME MANAGER WIW ID PTO FROM PTO TO
ADAM MADA ADAM MADA PAUL SIMON 34411914 11/1/18 07:00 11/7/18 07:00
AMY MADA AMY YMA NOMIS LUAP 34074695 12/24/18 08:00 12/29/18 08:00
ROGER REGOR ROGER REGOR PETER PARKER 21685259 12/20/18 08:00 12/24/18 08:00
AMY MADA AMY YMA NOMIS LUAP 34074695 12/05/18 08:00 12/12/18 08:00
FIRST NAME = GROUP(slice(cd0e253394085e367c00a5a79f967768@/users/first_name;))
LAST NAME = (LOOKUP(!'dc0c578f-2',cd0e253394085e367c00a5a79f967768@/users/first_name;, cd0e253394085e367c00a5a79f967768@/users/last_name;))
FULL NAME = CONCAT(!'dc0c578f-2', " ", !'25e1bc36-5')
MANAGER = LOOKUP(!'e9d6b607-8',d20b7c1ff4c9dfb1a90db48efc02aba6@A:A;, d20b7c1ff4c9dfb1a90db48efc02aba6@H:H;)
NOTE @A:A is from "Agent Report" that have the Full Name of the Engineer
@H:H is from "Agent Report" that has the User Manager name
WIW ID = LOOKUP(&'dc0c578f-2',cd0e253394085e367c00a5a79f967768@/users/first_name;, cd0e253394085e367c00a5a79f967768@/users/id;)
PTO FROM = LOOKUP(!'25e1bc36-5',43034dd80aec44c610b1a490a28b6ffa@/users/last_name;, 43034dd80aec44c610b1a490a28b6ffa@/requests/start_time;)
PTO TO = LOOKUP(&'dc0c578f-2',cd0e253394085e367c00a5a79f967768@/users/first_name;, ARRAY(43034dd80aec44c610b1a490a28b6ffa@/requests/end_time;))
The issue is that I want to display all the records based on the ID for PTO, from and to.. and I am not able to get it to work. This is basically to track the engineers time off, so the Columns of PTO have to compliment each other for reference and should have all the enteries that match the WIW ID.