Question on company nd department variable on catalog item

Mani60
Tera Contributor

Hi There,

 

I have one requirement on Catalog Item, 

In that i have company and department variables, company is reference to core_company, and department is also reference type of Variable, 

And If i select Company as HP then its associate departments only visible to requestor to select on the form.

and if i select HP then its  associate departments are visible then  i select DELL company then its associated department are visible in department field.

Could you guys please help me on to get the proper solution.

 

Thanks,

1 ACCEPTED SOLUTION

Sonam_Tiwari
Kilo Sage

@Mani60 , you can write a advanced reference qualifier like on department variable under type specification section.

javascript:'company='+current.variables.company;

i.e. javascript &colon; '<field_name for company on departyment table>' = + curernt.variables.<your company variable backend name>;

Consider indicating the response as helpful and marking it as correct if it meets your needs.

View solution in original post

2 REPLIES 2

Sonam_Tiwari
Kilo Sage

@Mani60 , you can write a advanced reference qualifier like on department variable under type specification section.

javascript&colon;'company='+current.variables.company;

i.e. javascript &colon; '<field_name for company on departyment table>' = + curernt.variables.<your company variable backend name>;

Consider indicating the response as helpful and marking it as correct if it meets your needs.

Hi @Sonam_Tiwari 

Thanks For your response.
It works really appreciate your help.