Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

How to get result of javascript method in html page

$
0
0

hiii

i write following js method and want result of this methos into html page in table format

 

my js method

 

var myinnovator = this.getInnovator();
var itemname=this.getProperty("symbi_item");
var manfact=this.getProperty("symbi_manufacturer");
var supl=this.getProperty("symbi_supplier");
var grnno=this.getProperty("symbi_grn_number");
var qty=this.getProperty("symbi_qc_total");
var grnid=this.getProperty("id");
var challan=this.getProperty("symbi_challan");
var iFmBom=myinnovator.newItem("Symbi_GRN_Item","get");
iFmBom.setProperty("source_id",grnid);
var result = iFmBom.apply();
var btno=result.getProperty("symbi_batch_no");
var noconts=result.getProperty("symbi_no_of_conts");

var content = "<table>";
content += "" +
"<tr>" +
"<td>" + this.getProperty("symbi_grn_number") + "</td>" +
"<td>" + result.getProperty("symbi_batch_no") + "</td>" +
"<td>" + result.getProperty("symbi_no_of_conts") + "</td>" +
"</tr>";

content += "</table>";
return content;

 

thanks in advance


Viewing all articles
Browse latest Browse all 1103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>