The Zurich release has arrived! Interested in new features and functionalities? Click here for more

POC (list of Request items should be displayed under a Request Item)

arshanapalli
Tera Contributor

Hi Developer Community,

Please go through this document and give your thoughts and ideas if any ...

Example :

I have a request item 'RITM0407164'. Which is having a Variables section where I am creating a request (button from UI page) which opens a new window to request another Request Item. So all those requests I make by clicking the button should be displayed as shown below( i have hardcoded them )

find_real_file.png

Here is the new request screenshot in a new window:

find_real_file.png

after Ordering

find_real_file.png

On clicking on the request it shows the Request Item number

find_real_file.png

This 'RITM0407649' should be displayed on my first screen under the list, it has to do the same whenever I create a request under 'RITM0407164'. (Like parent request item).

Please feel free to ask any questions you have. I can use the best possible approach, my thoughts were to use Restful request

Thanks,

Harsha.

2 REPLIES 2

stojdev
Giga Guru

Quick answer, don't! (create a new Request from a Request!)



REQ -> RITM -> TASK always works, otherwise you might not be doing it right.


Look into how to add new tasks to your REQ instead.


Thanks for the reply Stefan Ojeblom.


The logic was already initiated, I don't think I can reimplement the whole thing.



I have used localStorage to store the Parent Request Item Number and fetched it in the child request item to store it in the sc_req_item database(parent id is stored in correlation id of a child record so that i can make a parent-child relationship). I am able to fetch the child records making a REST call.



The problem is that logic only works when I drive down all the way to child record page, as I have used g_form to get&set the values. It should be more dynamic to fetch the child results.