Updating Complex Attribute types using rest end point in Jscript
var lineitem = new Object();
//Money Type Attribute
var neu_amountchange_ref = new Object();
neu_amountchange_ref.Value = neu_amountchange;
lineitem.neu_AmountChange = neu_amountchange_ref;
lineitem.neu_PercentChange = neu_percentchange;
//updateRecord exists in JQueryRESTDataOperationFunctions.js
updateRecord(id, lineitem, "neu_whatifmodellineitemSet", updateWhatifLineItmeCompleted, null);
var lineitem = new Object();
//Money Type Attribute
var neu_amountchange_ref = new Object();
neu_amountchange_ref.Value = neu_amountchange;
lineitem.neu_AmountChange = neu_amountchange_ref;
lineitem.neu_PercentChange = neu_percentchange;
//updateRecord exists in JQueryRESTDataOperationFunctions.js
updateRecord(id, lineitem, "neu_whatifmodellineitemSet", updateWhatifLineItmeCompleted, null);
No comments:
Post a Comment