插件传递条件打开列表并返回数据

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-23浏览:2

插件传递条件打开列表并返回数据

ListShowParameter showParam = new ListShowParameter();

showParam.FormId = "SAL_SaleOrder";

showParam.ParentPageId = this.View.PageId;


// 强制指定过滤条件

var filterParameter = new ListRegularFilterParameter();

string filterString = "";

filterString = "FBillNo='XSDD000001'";

filterParameter.Filter = filterString;

//showParam.UseOrgId = 100041;

showParam.IsLookUp = true;

showParam.ListFilterParameter = filterParameter;

showParam.OpenStyle.ShowType = ShowType.InContainer;

this.View.ShowForm(showParam, new Action<FormResult>((actionResult) =>

{// 获取列表返回的数据                       

if (actionResult == null || actionResult.ReturnData == null)

{

return;

}

ListSelectedRowCollection listData = actionResult.ReturnData as ListSelectedRowCollection;

}));


插件传递条件打开列表并返回数据

ListShowParameter showParam = new ListShowParameter();showParam.FormId = "SAL_SaleOrder";showParam.ParentPageId = this.Vie...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息