RE: [Axapta-Knowledge-Village] Int64 problem

2008-05-19 Thread James Flavell
om: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Fruergaard Pontoppidan Sent: Tuesday, May 20, 2008 2:55 AM To: Axapta-Knowledge-Village@yahoogroups.com Subject: RE: [Axapta-Knowledge-Village] Int64 problem Or even better: Set xyz = new Set(typeId2T

RE: [Axapta-Knowledge-Village] Int64 problem

2008-05-19 Thread Michael Fruergaard Pontoppidan
PROTECTED] On Behalf Of Sumit Loya Sent: 16. maj 2008 08:33 To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] Int64 problem Hi James, Have you initialized ur set with Int64 or Integer. Please check that. Ur code should look like this Set xyz = new Set(Types::Int64

RE: [Axapta-Knowledge-Village] Int64 problem

2008-05-16 Thread James Flavell
:) _ From: Axapta-Knowledge-Village@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sumit Loya Sent: Friday, May 16, 2008 2:33 PM To: Axapta-Knowledge-Village@yahoogroups.com Subject: Re: [Axapta-Knowledge-Village] Int64 problem Hi James, Have you initialized ur set with

Re: [Axapta-Knowledge-Village] Int64 problem

2008-05-15 Thread Sumit Loya
Hi James, Have you initialized ur set with Int64 or Integer. Please check that. Ur code should look like this Set xyz = new Set(Types::Int64); Regards, Sumit On Fri, May 16, 2008 at 11:51 AM, James Flavell <[EMAIL PROTECTED]> wrote: >Can anyone help me to fix a problem in AX4.0 realted to

[Axapta-Knowledge-Village] Int64 problem

2008-05-15 Thread James Flavell
Can anyone help me to fix a problem in AX4.0 realted to Int64 and SETs I have some code that does the following: SET xyz; SalesLine salines; ; if (!xyz.add(saleslinerecid)) It gives an error that it was expecting an int and not an Int64 I understand the RecId is now Int64 but do not know