Hi, I am new in D365 and JS so I would be really appreciated if anyone could help me. Basically, I want to populate Aging Days Field that Difference of "Created On" and "Current Date". Then, when I press "Resolve case" button it will populate "Resolved By" field on that exact time.
Objectives: Create Case >Auto Populate Aging Days (Created On - Current Time) > Click Resolve Case > Auto Populate "Resolved By" With That Day Current Time