凭证录入关联带出维度
关键知识点:
RelatedFlexGroupField relatedFlexGroupField = e.Field as RelatedFlexGroupField;
DynamicObject dataobj= this.Model.GetValue(relatedFlexGroupField.RelatedBaseDataFlexGroupField, e.Row) as DynamicObject;
BaseDataField dataobjField= this.View.BillBusinessInfo.GetField(relatedFlexGroupField.RelatedBaseDataFlexGroupField) as BaseDataField;
int flexItemId, flexItemMasterId;
List<DynamicObject> enablelist= dataobjField.Controller.GetInUseFlexItemInfo(this.Context, this.View.BillBusinessInfo, relatedFlexGroupField, dataobj, "", out flexItemId, out flexItemMasterId);
判断是否对应的核算维度,然后赋值即可
凭证录入关联带出维度
关键知识点: RelatedFlexGroupField relatedFlexGroupField = e.Field as RelatedFlexGroupField; DynamicObject dataobj= ...
点击下载文档
本文2024-09-16 18:56:54发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-25420.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章