How are sc_req_item.due_date and sc_request.due_date fields autopopulated after user has ordered an item on ESS

ruthbrown
Mega Contributor

For this example, when a user has ordered an item from the catalogue on ESS, 1  sc_request record and 1 sc_req_item record is created.  Both records have a due_date field that is auto populated with a date 30 days from creating the request.  I want to find where the fields are auto populated, so far without luck.  I am particularly interested in sc_requ_item but they may be related.  This is what I have tried so far.

I have looked for Business Rules.  There is one related Business Rule that updates the sc_req_item.due_date field with the task_sla.planned_end_time.  The SLA not triggered until the item is approved, so usually this update happens later.

I have switched on debugging and had a rummage.  I am not very experienced but could not find anything relevant.  

I tried putting a Watch on the field but in our instance we can only create a new request via ESS.  I fudged adding a new sc_req_item record to an existing Request.  The record was created with a blank due_date, which suggests to me the auto population is coming from the ESS creation.

I have tried inspecting the ESS page, but again, I am fairly inexperienced.  I can't see where to add a screenshot here but maybe can do when I have posted this.

I  have looked at an out of the box developer instance and can see that the due_date is auto populated on record creation there as well, but not set to 30 days (2 days for the item I tested, and this related to Delivery Time?).  So I know that we have done something specific in our instance.

Any help welcome.

Kind Regards

Ruth

1 ACCEPTED SOLUTION

Community Alums
Not applicable

They are being Populated through Workflow attached on Request and Request Item, See below -


find_real_file.png


View solution in original post

4 REPLIES 4

ruthbrown
Mega Contributor

Here is my screen shot of the button that orders the item


find_real_file.png


Community Alums
Not applicable

They are being Populated through Workflow attached on Request and Request Item, See below -


find_real_file.png


Thanks.   I did have a quick look at our workflows early on but forgot to mention it.   I will go and look again.


Thank you, found it.   I had not looked in Properties