[Axapta-Knowledge-Village] Re: Another X++ question
As I mentioned before, I am new to X++ so can you tell me where and how to use it? how this method will return the third dimension and have the user to select from/ thank you --- In Axapta-Knowledge-Village@yahoogroups.com, Thamrin Hartono [EMAIL PROTECTED] wrote: Maybe u can use this fieldId2Ext(fieldnum (tablename,fieldname),array entry). Rgds, Thamrin kardo_ax wrote: In the ranges it works fine, but can we do it in the dialog method?? --- In Axapta-Knowledge-Village@yahoogroups.com mailto:Axapta-Knowledge-Village%40yahoogroups.com, Steeve Gilbert steeve.gilbert@ wrote: You mean in the range? Try adding range like this : Dimension [1]. this will only show dimension 1. Hope that helps. --- In Axapta-Knowledge-Village@yahoogroups.com mailto:Axapta-Knowledge-Village%40yahoogroups.com, kardo_ax kardo_ax@ wrote: Hi All, In a report I want to show in the Dialog just one of the Dimension (Dep,Costcenter,...). How can I do this ? I dont want all the dimensions to appear for the user, Just one to select from/ thanks
Re: [Axapta-Knowledge-Village] Re: Another X++ question
Hi.. Create one String type EDT, ( for example Call it as Dim1) in EDT relation - in normal relation Type : Set this Property for this relation.. Table : Dimensions RelatedFeilds: Dimensions.Num Right Click on Relation Once again and Select Related Field Fixed Relation RelatedFeilds: DimensionCode Value : 0 Now use this EDT where ever you want... for Example (in dialog): Dialog_Dim1 = dialog.addField(typeid(Dim1)); // Edt Name hope it will helps you. Thanks, Ashok Kumar M is you need further more information contact : [EMAIL PROTECTED] --- On Sun, 23/11/08, kardo_ax [EMAIL PROTECTED] wrote: From: kardo_ax [EMAIL PROTECTED] Subject: [Axapta-Knowledge-Village] Re: Another X++ question To: Axapta-Knowledge-Village@yahoogroups.com Date: Sunday, 23 November, 2008, 12:18 PM In the ranges it works fine, but can we do it in the dialog method?? --- In Axapta-Knowledge- [EMAIL PROTECTED] ups.com, Steeve Gilbert steeve.gilbert@ ... wrote: You mean in the range? Try adding range like this : Dimension[1] . this will only show dimension 1. Hope that helps. --- In Axapta-Knowledge- [EMAIL PROTECTED] ups.com, kardo_ax kardo_ax@ wrote: Hi All, In a report I want to show in the Dialog just one of the Dimension (Dep,Costcenter, ...). How can I do this ? I dont want all the dimensions to appear for the user, Just one to select from/ thanks Get your own website and domain for just Rs.1,999/year.* Go to http://in.business.yahoo.com/
Re: [Axapta-Knowledge-Village] Re: Another X++ question
Maybe u can use this fieldId2Ext(fieldnum(tablename,fieldname),array entry). Rgds, Thamrin kardo_ax wrote: In the ranges it works fine, but can we do it in the dialog method?? --- In Axapta-Knowledge-Village@yahoogroups.com mailto:Axapta-Knowledge-Village%40yahoogroups.com, Steeve Gilbert [EMAIL PROTECTED] wrote: You mean in the range? Try adding range like this : Dimension[1]. this will only show dimension 1. Hope that helps. --- In Axapta-Knowledge-Village@yahoogroups.com mailto:Axapta-Knowledge-Village%40yahoogroups.com, kardo_ax kardo_ax@ wrote: Hi All, In a report I want to show in the Dialog just one of the Dimension (Dep,Costcenter,...). How can I do this ? I dont want all the dimensions to appear for the user, Just one to select from/ thanks
[Axapta-Knowledge-Village] Re: Another X++ question
In the ranges it works fine, but can we do it in the dialog method?? --- In Axapta-Knowledge-Village@yahoogroups.com, Steeve Gilbert [EMAIL PROTECTED] wrote: You mean in the range? Try adding range like this : Dimension[1]. this will only show dimension 1. Hope that helps. --- In Axapta-Knowledge-Village@yahoogroups.com, kardo_ax kardo_ax@ wrote: Hi All, In a report I want to show in the Dialog just one of the Dimension (Dep,Costcenter,...). How can I do this ? I dont want all the dimensions to appear for the user, Just one to select from/ thanks
[Axapta-Knowledge-Village] Re: Another X++ question
You mean in the range? Try adding range like this : Dimension[1]. this will only show dimension 1. Hope that helps. --- In Axapta-Knowledge-Village@yahoogroups.com, kardo_ax [EMAIL PROTECTED] wrote: Hi All, In a report I want to show in the Dialog just one of the Dimension (Dep,Costcenter,...). How can I do this ? I dont want all the dimensions to appear for the user, Just one to select from/ thanks