NAV 2009 Page renders differently when called from code

rsaritzkyrsaritzky Member Posts: 469
edited 2015-06-01 in NAV Three Tier
Hi all,

I have a simple NAV2009R2 RTC page - Header/subform type.

It is called from another page. I have an action button that calls the page via the "RunObject" property. The page renders as I expect it. The "Header" area has 2 columns of 5 fields

Now, I want to do some validation checking on the calling page before I run the page. So instead of the "RunObject" property, I have this code:
TESTFIELD("Location Code");
_subInventory.SETRANGE("Sub No.","No.");
_subinventoryCard.SETTABLEVIEW(_subInventory);
_subinventoryCard.RUNMODAL;

When the page is called using this method, instead of 2 columns of 5 fields, all 10 of the fields are displayed in a single column.

Has anyone seen this type of problem where the page renders differently based on how it is invoked?

Screenshots attached

Thx
Ron

Comments

  • simeon0816simeon0816 Member Posts: 12
    Looks like the "RunObject" one is being run with some User Personalization being taken consideration and the "Code" one isn't... which would make sense because it is called through Code.
Sign In or Register to comment.