Find out the relevant Rule
Gerhard Bienen
Hello experts,
i get an errormessage like
" Item - Form item is not editable as SAPbouiCom.IComboBox......
at COR_Utility.Helper.Run_FO_COR_CUS_00000041(CustomizeEvent pVal)"
We have a lot of Coresuite Rules and i did not know which is the real
Rule name.
Is there a way to find out which rules this error belongs to ?
best regards
Gerhard
Anders Olsson
Hello Gerhard,
Kind of a backward bend, but yes...
SELECT U_RuleName FROM [@COR_CUSTOM_FIELD] WHERE Code = '00000041'
will give you the rule name.
I would strongly suggest that you add exception handling in your code (try/catch). You can then output the rule name in an error message.
You can get the rule name dynamically from the pVal object:
pVal.RuleInfo.RuleName
Regards,
Anders
Gerhard Bienen
Hello Anders,
thanks a lot. I was looking for the complete string :-(
Perfect answer
Regards
Gerhard
Please sign in to leave a comment.
Comments
0 comments