[development-axapta] FormControl Declaration Problem

2009-09-18 Thread shamika kshirsagar
Hello,   I want to show one formcontrol based upon dataareaid. But that control is attached to respective table field group and that field group is used as is in Form Design - Group. So basically I cannot setup AutoDeclaration property to Yes as it is disabled.   So When I tried to declare the

[development-axapta] FormControl Declaration Problem

2009-09-18 Thread shamika
Hello, I want to show one formcontrol based upon dataareaid. But that control is attached to respective table field group and that field group is used as is in Form Design - Group. So basically I cannot setup AutoDeclaration property to Yes as it is disabled. So When I tried to declare

Re: [development-axapta] DB Upgrade Tool Error

2009-09-18 Thread nitin mathur
Hi Amit, Thanks for ur reply. As you said i delete the records from 'SQLDictionary' table from Ax4.0, doing this DBUpgrade tool run sucessfully. After installation of Ax2009 pointing to the updated database, while strating services of AOS it tells to delete some tables stating tables already

[development-axapta] Hide Button Based on User Permissions

2009-09-18 Thread branjema
I want to make button visible to users if a salesorder is not confirmed. I have done this. But now I want to make the button visible to admins all the time. What's the best way to do this? Thanks in advance

AW: [development-axapta] Hide Button Based on User Permissions

2009-09-18 Thread jesper.joergensen
Hi, Load the macro #Admin Implement this Method in the class Global static boolean IsUserInGroup (UserGroupId _GroupId = '', UserId _userId = CurUserId()) { #Admin UserGroupList info; ; if (!prmisdefault(_groupId)) _groupId = #AdminUserGroup; return (select recid

Re: [development-axapta] FormControl Declaration Problem

2009-09-18 Thread Diwakar Reddy Atchi
Use the below stmt after 'super()' in Init method of the form. element.control(Control::xx).visible(false); // xx is the form control name (Group/Field). Hope this helps! Regards, Diwakar From: shamika shamik...@yahoo.com To: