4382: execute immediate l_dynamic_condition Using out l_condition;
4383: exception
4384: when Others then
4385: -- this needs replaced with a message for translation.
4386: Fnd_File.put_line(Fnd_File.Log,
4387: 'Error in Advanced Conditions while processing this dynamic sql statement: ');
4388: Fnd_File.put_line(Fnd_File.Log, l_dynamic_condition);
4389: raise; -- such that the error processing in ben_ext_thread occurs.
4390: end;
4384: when Others then
4385: -- this needs replaced with a message for translation.
4386: Fnd_File.put_line(Fnd_File.Log,
4387: 'Error in Advanced Conditions while processing this dynamic sql statement: ');
4388: Fnd_File.put_line(Fnd_File.Log, l_dynamic_condition);
4389: raise; -- such that the error processing in ben_ext_thread occurs.
4390: end;
4391: --
4392: if l_condition = 'T' then
4564: begin
4565: execute immediate l_dynamic_condition Using out l_condition;
4566: exception
4567: when Others then
4568: Fnd_File.put_line(Fnd_File.Log,
4569: 'Error in Advanced Conditions while processing this dynamic sql statement: ');
4570: Fnd_File.put_line(Fnd_File.Log, l_dynamic_condition);
4571: raise; -- such that the error processing in ben_ext_thread occurs.
4572: end;
4566: exception
4567: when Others then
4568: Fnd_File.put_line(Fnd_File.Log,
4569: 'Error in Advanced Conditions while processing this dynamic sql statement: ');
4570: Fnd_File.put_line(Fnd_File.Log, l_dynamic_condition);
4571: raise; -- such that the error processing in ben_ext_thread occurs.
4572: end;
4573: --
4574: if l_condition = 'T' then