on 05-12-2011 8:56 AM
大家好:
在_et_FORM_DATA_LOAD before事件中. 直接Return False.
运行后, 在单据进行查找时, 输入 " * "查询全部. 然后任意行双击. 此时提示 "出现内部错误 (1) [消息 131-183]"
请教如何才能解决此问题.?
期待各位大虾给予意见...谢谢.
你好,
你是在事件函数里面return false? 但是这个函数是void类型函数,return false根本编译不过,方便的话, 想知道你的具体的代码,谢谢。
void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo bizObjInfo, out bool BubbleEvent)
{ }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Warren Jiang :
代码如下:
[B1Listener(BoEventTypes.et_FORM_DATA_LOAD, true)]
public virtual bool OnBeforeFormDataLoad(BusinessObjectInfo pVal)
{
Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
// ADD YOUR ACTION CODE HERE ...
return true;
}
et_FORM_DATA_LOAD事件是分 before和after的.. after事件的确是viod类型..但是before事件是bool类型..
return true就是通过, return false则是返回..
谢谢.
Edited by: jimmy.l on May 19, 2011 3:38 AM
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.