现在的位置: 首页 > 综合 > 正文

Microsoft Dynamics CRM 4.0 对LOOKUP类型赋值

2012年11月23日 ⁄ 综合 ⁄ 共 350字 ⁄ 字号 评论关闭
var lookupData = new Array();
// Create an object to add to the array.
   var lookupItem= new Object();
// Set the id, typename, and name properties to the object.
     lookupItem.typename = 'transactioncurrency';
     lookupItem.name ="人民币"
// Add the object to the array.
   lookupData[0] = lookupItem;
  

// Set the value of the lookup field to the value of the array.
   crmForm.all.transactioncurrencyid.DataValue = lookupData;

抱歉!评论已关闭.