[development-axapta] Re: help with Invalid NumeralsToTxt Result

2008-07-02 Thread eta2892a2
In short, it is a bug in the design of this method. 
We are using v3sp3, so I'm seeing the same thing. 
The result you are getting back is the upper bound of the int type
(2^31-1). 
If you look at the code in the numeralsToTxt global method, it uses
int type primitives to split up and process the real number. 
If the real number is bigger than 2^31-1, (2.147 billion you will get
the upper boundary as your result.

Best regards,

jms
--- In development-axapta@yahoogroups.com, "J" <[EMAIL PROTECTED]> wrote:
>
> It is a known bug in V3. Partnersource has a hotfix:
> https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-
> us;901373
> 
> 
> 
> --- In development-axapta@yahoogroups.com, Tony Zeigler 
>  wrote:
> >
> > Hrm, SP4 isn't the most current, but not sure if the issue would be 
> fixed by getting current. That would be my first attempt tho - 
> because I definately got a different result than you did.
> > 
> > 
> > --- On Mon, 6/30/08, Wahyudin Zakie  wrote:
> > 
> > From: Wahyudin Zakie 
> > Subject: Re: [development-axapta] help with Invalid NumeralsToTxt 
> Result
> > To: development-axapta@yahoogroups.com
> > Date: Monday, June 30, 2008, 3:05 AM
> > 
> > 
> > 
> > 
> > 
> > 
> > I'm using axapta 3.0 SP4.
> > 
> > --- On Fri, 6/27/08, Tony Zeigler  wrote:
> > 
> > From: Tony Zeigler 
> > Subject: Re: [development- axapta] help with Invalid NumeralsToTxt 
> Result
> > To: development- [EMAIL PROTECTED] ps.com
> > Date: Friday, June 27, 2008, 8:31 AM
> > 
> > This seems to give me the correct answer:
> > static void Job1(Args _args)
> > {
> >     ;
> >     info(numeralsToTxt( 31131178729. 00));
> > }
> >  
> > Not sure why yours would be giving a different answer. (I'm using 
> 4.0 with current patch)
> > 
> > --- On Thu, 6/26/08, Wahyudin Zakie <[EMAIL PROTECTED] com> wrote:
> > 
> > From: Wahyudin Zakie <[EMAIL PROTECTED] com>
> > Subject: [development- axapta] help with Invalid NumeralsToTxt 
> Result
> > To: development- [EMAIL PROTECTED] ps.com
> > Date: Thursday, June 26, 2008, 8:41 PM
> > 
> > hi,
> > I've a problem with NumeralsToTxt function. i have invoice amount = 
> IDR 31,131,178,729. i want to convert it to says number, i'm using 
> numeralstotxt function but the result is wrong. i try to test this 
> code with job like this.
> >  
> > info(strfmt( "%1",numeralsToT xt(31131178729. 00)));
> >  
> > it says : "Two Billion One Hundred Forty Seven Million Four Hundred 
> Eighty Three Thousand Six Hundred Forty Seven and 00/100"
> >  
> > is it a bug??? 
> >  
> > Thank's for your reply...
> >  
> > Zakie
> > 
> > [Non-text portions of this message have been removed]
> > 
> > [Non-text portions of this message have been removed]
> > 
> > [Non-text portions of this message have been removed]
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >   
> > 
> > [Non-text portions of this message have been removed]
> >
>




[development-axapta] Re: Report error

2008-07-02 Thread eta2892a2
Hi Asit,

Set your report up to run as a batch job.

cheers,

Jim

--- In development-axapta@yahoogroups.com, asit nayak <[EMAIL PROTECTED]>
wrote:
>
> Hi All,
> I have a report where i need to run this report
automatically on everyday on a specific time.
>
>   Please let me know how can i run the report automatically on every
day.
>
>   Thanks
>   Asit
> 
>
> 
> [Non-text portions of this message have been removed]
>




[development-axapta] Re: What are Maps and what's the use of them?

2008-07-02 Thread eta2892a2
--- In development-axapta@yahoogroups.com, "Vamsi Praneeth"
<[EMAIL PROTECTED]> wrote:
>
> Hello guys...I just wanna know...what actually are Maps in Dynamics AX
> 4.0 what are they used for? I have read in the e-books of Microsoft
> but couldn't figure out what actually are those.Can someone
> explain me in detail what they are?
>

Just to be thorough, Ax has two objects with similar names: Maps and
Map. Maps is found on the Data Dict node of the AOT and was succinctly
described in a previous response by Tony.
 
This is not to be confused with the Map Collection Class data type,
which (to quote the dev docs) is an object that associates one value
(a key) with another value, which can be any X++ type, including objects. 
Iteration though a Map collection, like any other collection, requires
instantiation of an Iterator object. You can check out Collection
Classes in the Developer Help for more details. 

Jim