Hello dear experts! :)
First of all, I tested this on the spanish localized version on NAV2013R2, different CU applied (including CU12).
Also, I tested this on NAV2013 (no R2) and did NOT happen.
Scenario.
I was developing a solution that required me to create a custom function on a page to pass some params. When calling the page I did something like this:
[...]
MyPage.SetMyFilters(filter1,filter2);
MyPage.RUNMODAL;
__________
And for some odd reason, when I debug at the point of setting the filters, they are properly set but when the runmodal goes off, they disappear and they save the first one that was ever used (probably per user).
Meaning:
1st execution:
.- Filter1 := 'test1';
.- Filter2 := 'test2';
RUNMODAL - Correct. Filter1 equals test1 and filter2 equals test2.
2nd execution:
.- Filter1 := 'test3';
.- Filter2 := 'test4';
RUNMODAL - Incorrect. Filter1 equals test1 and filter2 equals test2. It doesn't matter if I close and open up NAV (guessing it has to do with the personalizations being stored on SQL).
I tested this on a standard, not customized NAV functionality and happened too. I tried playing with some of the properties of MyPage (like savevalues and whatnot) but no changes.
For now I just created a SingleInstance codeunit and kept going. I checked partnersource too (like I said before, tried it on CU12, but no luck). NAV2013 works fine.
Anyone encountered a similar situation?
*This post is locked for comments