Scripting Question

DeIvory Gordon
Tera Guru

Hello, On line 19 below I have to make a change to the script. The price is being grabbed from the sc_req_item. Instead, it needs to grab the price from the parent (SC_request.Price). I should be able just dot walk to the request.price instead of price.  Per the second screen shot I clicked on "RITM" record, "Parent", then "Price". I am new to scripting and I tried dragging this to line 19, but I get an error.  How do I add this to line 19?

 

 

DeIvoryGordon_1-1738085599587.png

DeIvoryGordon_2-1738085857158.png

 

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@DeIvory Gordon Can you try replacing the line number 19 with the following.

 

var price = inputs['req_item'].parent.price;

View solution in original post

1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@DeIvory Gordon Can you try replacing the line number 19 with the following.

 

var price = inputs['req_item'].parent.price;