RE: [development-axapta] Problem with Int64 and SET

2008-05-19 Thread Palle Mølgaard
It may appear to be a good idea. But it is quite time consuming to search the 
entire application for Types::Integer, and then evaluate every hit to find 
out if it should be changed to Types::Int64...

 

Kind regards

 

Palle Mølgaard

 

 

Tlf.: 96 31 44 44

[EMAIL PROTECTED]

www.systemate.dk http://www.systemate.dk 

 

 



From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
James Flavell
Sent: 16. maj 2008 11:58
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] Problem with Int64 and SET

 

Thank you Palle everything is now solved :)

I was just wondering is such a check of Types::Integer recommended in any
upgrade documents as it was obvisouly something completely overlooked for
the cusotmer upgrade that was done? 

Thanks
James


_ 

From: development-axapta@yahoogroups.com 
mailto:development-axapta%40yahoogroups.com 
[mailto:development-axapta@yahoogroups.com 
mailto:development-axapta%40yahoogroups.com ] On Behalf Of Palle Mølgaard
Sent: Friday, May 16, 2008 4:13 PM
To: development-axapta@yahoogroups.com 
mailto:development-axapta%40yahoogroups.com 
Subject: RE: [development-axapta] Problem with Int64 and SET

Create the set as :

xyz = new Set(Types::Int64);

Med venlig hilsen

Palle Mølgaard

Tlf.: 96 31 44 44

[EMAIL PROTECTED] mailto:pm%40systemate.dk dk

www.systemate.dk http://www.systemat http://www.systemate.dk 
http://www.systemate.dk  e.dk 



From: development- mailto:development-axapta%40yahoogroups.com
[EMAIL PROTECTED] mailto:axapta%40yahoogroups.com  [mailto:development-
mailto:development-axapta%40yahoogroups.com [EMAIL PROTECTED] 
mailto:axapta%40yahoogroups.com ] On
Behalf Of James Flavell
Sent: 16. maj 2008 08:22
To: development- mailto:development-axapta%40yahoogroups.com
[EMAIL PROTECTED] mailto:axapta%40yahoogroups.com 
Subject: [development-axapta] Problem with Int64 and SET

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 how to get a SET object
to accept it...

Thanks
James

[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] Problem with Int64 and SET

2008-05-16 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 how to get a SET object
to accept it...
 
Thanks
James


[Non-text portions of this message have been removed]