- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 02:32 AM
I created a BR to copy a field value from a custom field in sysapproval_approver to another field in a custom table. For some reason when I query for the sys_id the BR does not work, only if I hard-code a sys_id.
After, Update BR, Order 100, table: sysapproval_approver
Field to be copied: u_ic_id2
Target table: u_it_investment_committee_request
Target field: u_ic_id
*****************************************
***********************************
I also tried itInvestmentRequest.addQuery("sys_id", current.itInvestmentRequest.sys_id ); and other ways to get the sys_id but none of them worked.
Can anyone help, please?
Thank you a lot in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 03:06 AM
The solution was to use the document_id
itInvestmentRequest.addQuery("sys_id", current.document_id);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 12:39 PM
Than you so much for your post, you do not know how many hours I spent on this, thank you again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2024 01:35 AM
You are very welcome 😄