Compile error: CS0161
francesca casiraghi
Hi everybody! :oI'm new at using customizer and I'd need some help.
I added a very simple rule in optimizer: clicking on Add button in Delivery form 140 I want to show a message box.
This is the only line I type in my editor (C# code):
MessageBox.Show("TEST", "ok");
Parsing the code I got the following error:
COR_Utility.Helper.Run_FO_COR_CUS00000021(CoreUtility.Logic.CustomizeEvent): not all code paths return a value (CS0161)
Does anybody know what's wrong? Is it an installation problem?
Please find enclosed a print screen of my rule.
I'm using B1 PL43 - customize 1.42 SqlServer 2005.
Thanks a lot for your help!
francesca
Fritz Schwendemann
Hi FrancescaI guess, you didn't end the code with "return true;" or "return false;".
Fritz
0
Please sign in to leave a comment.
Comments
0 comments