---------------------------
X3 Studio
---------------------------
运行系统初始化的时候发生异常:选择了后续环节:"接收生产计划", 但是没有分配所有执行者! 类型:Exception。
---------------------------
确定
---------------------------
处理代码是这样的:
procedure TMainForm.FlowBroker1CreateFlowOutFlowTasks(Sender: TObject; Command: TFlowOutCommand);
var
lFlowTask:TFlowTask;
leaderURLs:TOrgURLs;
begin
leaderURLs := TOrgURLs.Create;
try
lFlowTask := Command.FlowTasks.FindFlowTask('JSSCJH');
if lFlowTask <> nil then
begin
if strDeptCode = '' then exit;