- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 05:05 AM
Hi All,
I am working on one of the form in this form I have "Transfer to stockroom" and it is referring to the alm_stockroom table.
When I submit the form the task will assign to the selected stockroom record assignment group.
I tried this in the catalog task
task.assignment_group = current.transfer_to.assignment_group;
Please any one provide me the input,
Thanks in advance,
Vinuth
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 05:28 AM
Can you share the entire code if possible
Also you can check with below line written assuming transfer to is a variable on the form. Make sure that transfer_to field backend name is right
task.assignment_group = current.variables.transfer_to.assignment_group.sys_id;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 05:12 AM
Hi @vinuth v
Please try with below line
task.assignment_group = current.transfer_to.assignment_group.sys_id;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 05:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2023 05:28 AM
Can you share the entire code if possible
Also you can check with below line written assuming transfer to is a variable on the form. Make sure that transfer_to field backend name is right
task.assignment_group = current.variables.transfer_to.assignment_group.sys_id;