In which script the estimated delivery date is calculated to display for product

robinbkumar
Tera Contributor

Hi, 

I am new to UI builder and S2P module. I am unable to find from which script the estimated date of delivery is counted and displayed for any product. Actually, I have requirement to now allow lesser date than estimated delivery dates of a product for specified date radio button. Please help

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@robinbkumar 

which record is that?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

The estimated date is calculated from the 'sn_shop_supplier_product' table's 'Total lead time in days' field from today's date. 

 

Example: The product shown in screenshot is Grohe... which has 'Total lead time in days' as 41. Hence from today + 41 days is 16th Feb 2025. It is calculated like this. But, I am unable to find from which script in Ui builder these calculations are happening.