Need to assign the task assignment group to stockroom assignment group.

vinuth v
Tera Expert

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

1 ACCEPTED SOLUTION

@vinuth v 

 

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;

 

View solution in original post

3 REPLIES 3

Manmohan K
Tera Sage

Hi @vinuth v 

 

Please try with below line

task.assignment_group = current.transfer_to.assignment_group.sys_id;

Hi @Manmohan K 

 

Tried with the above script but it's not working,

vinuthv_0-1685967779128.png

 

@vinuth v 

 

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;