起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 367|回复: 2

新手:TOrgURL在程序中如何引入?

[复制链接]
发表于 2010-12-8 10:59:01 | 显示全部楼层 |阅读模式
procedure TFORM_SCXHCLQRB.FlowBroker1CreateFlowOutFlowTasks(Sender: TObject; Command: TFlowOutCommand);
var
  lFlowTask:TFlowTask;
  lOrgURL: TOrgURL;
  lCurrentUnitID : string;
begin
  lFlowTask := Command.FlowTasks.FindFlowTask(ANextProcUnit);//根据任务环节查找任务
  lCurrentUnitID :=sysutils.UpperCase(FlowBroker1.FlowControl.CurrentProcUnit.ID);
  if lFlowTask <> nil then
  begin
    lFlowTask.Executors.Clear;   //删除缺省执行者
    lOrgURL := TOrgURL.Create('XSB','XSY','ZXX' ); //部门、岗位、人员创建组织单元
    lFlowTask.Executors.Add(lOrgURL);//添加执行者
  end;
end;

不知道lOrgURL: TOrgURL;如何引入?
回复

使用道具 举报

发表于 2010-12-8 15:11:47 | 显示全部楼层
Business.Model.Org。。。。。这个看下
回复 支持 反对

使用道具 举报

发表于 2010-12-15 15:36:13 | 显示全部楼层
楼主,这个问题解决了吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-5 22:36 , Processed in 0.042358 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表