How is due_date determined on RITM?

Chris Bui
Giga Expert

Does anyone know how the due date is calculated on RITMs?  

I'm in my totally vanilla personal developer Helsinki instance.   Go to the catalog, pick Adobe, and click order now.   A RITM is created with a due date of tomorrow's date.   Looking at the catalog item, I see there's a delivery time set to 1 day.   So I change it to 10 days.   Order again.   Due date still tomorrow.   Checked the workflow, nothing is setting the due date there.   Checked business rules.   Nothing.  

Anyone point me in the right direction?

Thanks!

1 ACCEPTED SOLUTION

Hi Chris,



Thats my bad i didnot see whether it is inactive or active but i guess this post   Delivery dates & estimated delivery dates in your service catalog will


certainly help you out.



Thanks & Regards,


Abhishek




Note : Please mark this response as correct and helpful via your post link (How is due_date determined on RITM?   ) to help others with the same questio


View solution in original post

6 REPLIES 6

Abhishek Raj3
Tera Guru

Hi Chris ,



There is an OOB Business rule(Calculate Request Item Due Date) written on requested item table to calculate request item due date.


kindly have a look on the business rule.




Business rule :     (Calculate Request Item Due Date)


  1. var daysStr = current.cat_item.delivery_time.getDisplayValue();
  2. var days = daysStr.split(' ')[0];
  3. gs.print("days = " + days);
  4. current.due_date.setValue(gs.daysAgo(-1 * days));



Thanks & Regards,


Abhishek




Note : Please mark this response as correct and helpful via your post link (How is due_date determined on RITM?   ) to help others with the same question.


Thanks, but this BR is inactive OOB.  


Hi Chris,



Thats my bad i didnot see whether it is inactive or active but i guess this post   Delivery dates & estimated delivery dates in your service catalog will


certainly help you out.



Thanks & Regards,


Abhishek




Note : Please mark this response as correct and helpful via your post link (How is due_date determined on RITM?   ) to help others with the same questio


Thank you Abhishek!   This looks to be it.