How to add time card hours field to Expense Line tab?

user0719
Tera Contributor

 

 

 

 

2 ACCEPTED SOLUTIONS

Sheldon  Swift
ServiceNow Employee
ServiceNow Employee

Hi @user0719 - Within the Expense Lines related list, right click anywhere in the header row, hover over Configure, and then in the flyout menu select List Layout. From there you can add Time card.Total to the list layout.

 

sheldondotswift_0-1723150830073.png

Note that because the column label is "Total", that is what will appear as the column heading in the related list. You can change the column label to "Total Hours" or something if you really want to, but it will change it everywhere (including the Time Card Portal). 

 

sheldondotswift_1-1723150947146.png

 

View solution in original post

Sure! Within the Expense Lines related list, right click the header of the column you want to total, hover over Configure, and then in the flyout menu select List Calculations. From there you can select Total value.

 

sheldondotswift_0-1723174541643.png

View solution in original post

4 REPLIES 4

Sheldon  Swift
ServiceNow Employee
ServiceNow Employee

Hi @user0719 - Within the Expense Lines related list, right click anywhere in the header row, hover over Configure, and then in the flyout menu select List Layout. From there you can add Time card.Total to the list layout.

 

sheldondotswift_0-1723150830073.png

Note that because the column label is "Total", that is what will appear as the column heading in the related list. You can change the column label to "Total Hours" or something if you really want to, but it will change it everywhere (including the Time Card Portal). 

 

sheldondotswift_1-1723150947146.png

 

Thank you! Is there also a way to show the Sum at the bottom for the "Total" column like it does for "Amount"?

Sure! Within the Expense Lines related list, right click the header of the column you want to total, hover over Configure, and then in the flyout menu select List Calculations. From there you can select Total value.

 

sheldondotswift_0-1723174541643.png

Thank you so much!!