在使用U9 1.5 sp3 时,通过UI调BP,跟踪代码,当代码运行到Agent里下面代码处时
protected override object InvokeImplement<T>(T oChannel)
{
IContext context = ContextManager.Context;
IPOGenBarCodeBP channel = oChannel as IPOGenBarCodeBP;
if (channel != null)
{
return channel.Do(context, out returnMsgs, docNo, itemID, orgID, qty, suffix, specifications);
}
return null;
}
channel 为空,直接跳过channel.Do(),return null;所以代码根本就没调我们自己做的BP
产生原因是sp3的UBF.System.dll有问题,我们需要将其更新为2009-8-7的dll