甘特图后台赋值报错
金蝶云社区-无痕
无痕
0人赞赏了该文章 1,999次浏览 未经作者许可,禁止转载编辑于2016年06月15日 09:56:53
甘特图后台赋值报错
代码:
EntryEntity entryEntity = this.Model.BillBusinessInfo.GetEntryEntity("FGanttChart");
Kingdee.BOS.Orm.DataEntity.DynamicObjectCollection entityDataObject = this.Model.GetEntityDataObject(entryEntity);
DynamicObjectCollection DC = DBUtils.ExecuteDynamicObject(this.Context, @"select FID Id,FEntryId,FTASKNAME Content,FSTART Start,FFINISH Finish,FISMILESTONE IsMilestone,FISCOMPLETED IsCompleted
,FCOMPLETION Completion,FPREDECESSORS Predecessors,FASSIGNMENTS AssignmentsContent,FINDENTATION Indentation,FCOMPLETEDFINISH CompletedFinish from MXR_t_Cust_Entry");
entityDataObject.Clear();
foreach (Kingdee.BOS.Orm.DataEntity.DynamicObject current3 in DC)
{
entityDataObject.Add(current3);
}
this.View.Model.SetEntryCurrentRowIndex("FGanttChart", 0);
this.View.UpdateView("FGanttChart");
报错