操作单据体时增加子单据体分录
2,550次浏览
编辑于2015年01月09日 16:52:45
int rowIndex = 1;
DynamicObjectCollection entry0 = this.Model.DataObject["FMXEntity"] as DynamicObjectCollection;
DynamicObject objrow = entry0[e.Row] as DynamicObject;
Entity entity = this.View.Model.BusinessInfo.GetEntity("FSubEntity");
//this.View.Model.BeginIniti();
this.View.Model.CreateNewEntryRow(objrow,entity, rowIndex);
红字部分提示无效参数,求解
DynamicObjectCollection entry0 = this.Model.DataObject["FMXEntity"] as DynamicObjectCollection;
DynamicObject objrow = entry0[e.Row] as DynamicObject;
Entity entity = this.View.Model.BusinessInfo.GetEntity("FSubEntity");
//this.View.Model.BeginIniti();
this.View.Model.CreateNewEntryRow(objrow,entity, rowIndex);
红字部分提示无效参数,求解
推荐阅读