I have created two backoffice collections,
In the first back_office collection, i have a custom widjet Area with Variable my_item and id: id_my_item. In this custom widjet i have custom list product line and a text input widjet area. Here i have got no issues as i can easily add update or delete values,
In the second backoffice i have custom widjet called list details with its variable my_item and id: id_my_item , These custom widjet has two fileds One is product line as a custom list and another is a variable based list area, now this area i want to be mapped with the values of product line and area of first back office.
To achive this in my backoffice 2nd collection i have added the first collection here and then i am using the following script
function list_ok(result) {
var my_item.vb_area= new Array();
for(i=0;i<result.length;i++) {
my_item.vb_area.push({"label":result[i].my_item.area,"value":result[i].my_item.area});
}
var a = new RMP_List();
a.fromArray(my_item.vb_area);
RMPApplication.setList("my_item.vb_area",a);
}
function list_ko(result) {
//Error while retrieving cars from brand_id
alert("ko " + JSON.stringify(result));
}
var my_pattern = {};
my_pattern.my_item.product_line_id= "[[my_item.product_line_id]]";
col_MaintainanceArea.listCallback(my_pattern,{},list_ok,list_ko);
with its listen to variable my_item.product_line_id.
But when i am launching my web interface and trying select the product line so that its respective area should come automatically, but the script is showing the error massage #N/A
so please tell me what is wrong and help me out
We have already started thread for the same issue posted by Somjit.
Request you to follow that particular thread ,as a result of which we are closing this issue.
Thanks,
Madhuri,Fujitsu RunMyProcess