- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 01:06 AM
I see that there is a BR named "Process time card" on time card table. Now if I turn it active false, expense lines are not generated but time card also remains in approved state and not go to processed state.
My concerns are:
1. Is it okay to leave the state as approved and not processed. Will it cause any issue when I turn on that BR "Process time card" again in future?
2. Is there another way that time card gets to processed state but no expense line is generated?
Please suggest.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2021 11:50 PM
Ok so if you don't want to create the expense line for any task in time card, you can comment the below highlighted line in SI 'TimeCardProcessHandler'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 07:29 AM
If I leave the generation of expense line and hide it from users then in that case, should I stop that scheduled job which changes the state of the expense lines from Pending to Processed?
As if the expense lines gets processed as well, it will be showing up at some place I believe?
Or it doesn't show up at all in project or demands or anywhere else?
I believe, the expenses will show up (if it gets processed) on project/resource pla/cost plan but I am not sure. If you can share some doc or any article.
I went through this https://community.servicenow.com/community?id=community_question&sys_id=cb84a35cdb25c85c6064eeb5ca96... but not getting the second part of the flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 08:46 PM
Thanks Girish. When you say "Please note that Expense lines are not limited to ITBM. If you are disabling the processing job, it will impact expense lines processing for other modules too.".
So as I have commented that one line of code it will only stop the expense lines from time card and will not impact anything else. Please confirm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2023 02:26 PM
Hi Girish20,
Hoping you can help. I'm trying to process an expense line which should be created from timecard without a task associated to it.
When timecard is approved, the labor rate card associated to the user should be used to generate the expense line.