Hi experts!!
This message appears when I run the test report to close the inventory period,
and the report is blank so I can not know which products are in negative or open.
when I activate the debugger, the code stops in the report 1004
AddError (Text)
ErrorCounter: = ErrorCounter + 1;
ErrorText [ErrorCounter]: = Text;
How I can run the test and see the report?
thanks!!!!
0
Answers
Can you please check ErrorText variables dimension. If its 50 or under 50 then you will get this error as indexing is going more then the given value. If its a complete standard code and you have done nothing then you should crosscheck how come its going more then 50. If some thing you have custom added then you can increase the value from 50 to more to get rid of this error.
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
How can I change the code to accept more than 51?
If yes, got through the menu View - C\A Globals.
Select the variable ErrorText, press Shift-F4 (for Properties), change the value in Dimensions from 50 to a higher number.
good luck.
1. Open Development Environment.
2. Press Shift + F12
3. Navigate to reports.
4. Open your Report.
5. Press Alt + V + B /
6. Select Error text Varible.
7. Press Shift + F4
8. Increase the Dimension Value from 50 to some higher number.
Cheers
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
I can already see all!!
Thanks again!