Update on Journal fields using a user on record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 01:13 PM
I am trying to update the TIme cards which do not have a time worked entry,
The script I am using does check the time worked entries and updates the record.
However I do not want to update as myself but as a use on the time worked/time card record.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 01:20 PM
Hello, My suggestion is such cases would be impersonate as admin or system admin accounts and run the script.
Regards,
Abhinay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 01:36 PM
Hi,
A few teams prefer not to update sys_updated_on and sys_updated_by fields for data fixes.
If that works, you may want to consider adding the code below to suppress updating these fields.
gr_fix.autoSysFields(false);
P.S - "gr_fix" refers to the Glide Record object of the table being updated.
Thanks,
Arav
