RE: [development-axapta] Weird Issue while deploying a from DEV env. to TEST env.

2009-05-19 Thread Palle Mølgaard
Try stopping test AOS, delete axapd.aoi (Application Object Index file), and 
start AOS again.

This will recreate the axapd.aoi file.

Regards

Palle Mølgaard

[cid:image001.jpg@01C9D544.23808F10]
Tlf.: 96 31 44 44
p...@systemate.dk<mailto:p...@systemate.dk>
www.systemate.dk<http://www.systemate.dk>


From: development-axapta@yahoogroups.com 
[mailto:development-axa...@yahoogroups.com] On Behalf Of benoit.billington
Sent: 14. maj 2009 16:58
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Weird Issue while deploying a from DEV env. to 
TEST env.





Hello there,

I have a weird issue

I stop my DEV & TEST env AOS'
copy the BUS & VAR layers from DEV to my TEST env.
Start the TEST env.
Synchronise
Compile

but I have an object which is different from the DEV env.

a static method called "alava_findAverageRoute" is there but not static anymore
and there's a new method called "Renamed_alava_findAverageRoute" which is 
static but in the editor its name is "alava_findAverageRoute"

see screenshot : 
http://img259.imageshack.us/img259/750/greenshot20090514121149.png



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



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]



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

2008-05-16 Thread Palle Mølgaard
Create the set as :

 

xyz = new Set(Types::Int64);

 

Med venlig hilsen

 

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 08:22
To: development-axapta@yahoogroups.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]



RE: [development-axapta] Select statement

2007-12-14 Thread Palle Mølgaard
Try this :

While select InventTable 

Where (InventTable.ItemId == _itemId || !_itemId)

 

Regards 

Palle Mølgaard

 

 



From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Syner P
Sent: 13. december 2007 09:20
To: [EMAIL PROTECTED]; development-axapta@yahoogroups.com
Subject: [development-axapta] Select statement

 

Hi,

I have problem with a report query. In fetch method, I used 'while select' 
statement with several criterion. But when the user passes blank criteria, I 
want to use this like '*' in queries. But it doesn't work.

Ex:

If (!_ItemId) _ItemId='*';
while select InventTable
where ItemId==_ItemId
...
Any help appreciated.
Syner

__
Looking for last minute shopping deals? 
Find them fast with Yahoo! Search. 
http://tools.search.yahoo.com/newsearch/category.php?category=shopping 
<http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 

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

 



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



RE: [development-axapta] Bitmaps in pdf files

2006-02-28 Thread Palle Mølgaard
t imageObjectNo or it will be only on page #1

    imagesOnPage.add(imageObjectNo);

    // SYP-Modification R-DEN-DDSP-KITR-04447 - End (SP3)

 

    // Generate the object that draws the image...

    s  = 'q\r';

 

    s += this.drawFieldFrame(_field, x1, y1, x2, y2);

 

    // Provide a scaling factor bringing the image size up to the size requested by the report

    // Also, provide x,y pos)

    if (_field.resize())

    s += '   ' + this.real2str(x2-x1) + ' 0 0 ' + this.real2str(y2-y1) + ' ' + this.real2str(x1) + ' ' + this.real2str(y1) + ' cm\r';

    else

    {

    x1 += this.twips(this.borderWidth(_field.borderWidth(), _field.lineLeft()));

    y1 += this.twips(this.borderWidth(_field.borderWidth(), _field.lineRight()));

    x2 -= this.twips(this.borderWidth(_field.borderWidth(), _field.lineTop()));

    y2 -= this.twips(this.borderWidth(_field.borderWidth(), _field.lineBottom()));

 

    if (_field.alignment() == ALIGNMENT::Center)

    {

    x1 = (x1 + x2 - img.width()) / 2;

    y1 = (y1 + y2 - img.height()) / 2;

    }

    else if (_field.alignment() == ALIGNMENT::Right)

    {

    x1 = x2 - img.width();

    y1 = y2 - img.height();

    }

    else    // left

    {

    y1 = y2 - img.height();

    }

    // SP4 does not work! - back to SP3 code

    //RH#4382, v-yuriv, 24-11-2004

    //The PDF bitmap drawing has wrong scaling from what we see in the preview so we should also scale it by PDFPreviewScale

    //s += '   ' + this.real2str(PDFPreviewScale*img.width()) + ' 0 0 ' + this.real2str(PDFPreviewScale*img.height()) + ' ' + this.real2str(x1) + ' ' + this.real2str(y1) + ' cm\r';

    s += '   ' + this.real2str(img.width()) + ' 0 0 ' + this.real2str(img.height()) + ' ' + this.real2str(x1) + ' ' + this.real2str(y1) + ' cm\r';

    }

 

    s += '   /I' + int2str(imageObjectNo) + ' Do\r';

    s += 'Q\r';

 

    pagePDF.appendText(s);

    }

    super(_field, _section);

}

 

Regards

 Palle Mølgaard

  Systemate A/S



From: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allan Ørum
Sent: 27. februar 2006 21:30
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Bitmaps in pdf files

 

Hi,
I have a problem with pdf files.
When I print to screen (eg a confirmation), my bitmaps comes out fine and
scaled.
But when I print to a pdf file, the bitmaps are placed funny, and are no
longer scaled.

Anyone with experience in this area?

Regards Allan






SPONSORED LINKS 

Computer part <http://groups.yahoo.com/gads?t=ms&k=Computer+part&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yLpvcLTIDJ5FTkRJGsO11w>  

Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=cuhEClK4dU4wapXFmKisbQ>  

Microsoft axapta <http://groups.yahoo.com/gads?t=ms&k=Microsoft+axapta&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yfeG_U6QaLfPOZZIud02Fg>  

Support exchange <http://groups.yahoo.com/gads?t=ms&k=Support+exchange&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=hy8yRGMzrmxdphyITTUeqA>  

 

 

 



YAHOO! GROUPS LINKS 

 

*   Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
    
*   To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]  
    
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . 

 





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









  
  
SPONSORED LINKS
  
  
  

Computer part
  
  
Programming languages
  
  
Microsoft axapta
  
  


Support exchange
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: AW: [development-axapta] closing the caller form

2004-09-28 Thread Palle Mølgaard




Hi,
 
you must set the caller to the form instead of the button by using :
 
args.caller(element);
 
instead of :
 
args.caller(this);
 
In your clicked()-method.

Regards

  Palle
    
 




  From: Jesmond Giordimaina [mailto:[EMAIL PROTECTED] 
  Sent: 28. september 2004 13:32
  To: [EMAIL PROTECTED]
  Subject: Re: AW: [development-axapta] closing the caller form
  
  
  Hi,
  
  thanks for fast reply.
  But it's still telling "FormButtoncontrol Object does
  not have method close". 
  
  The code that opens the second form is this:
  
  void clicked()
  {
  
  Args args = new Args();
  //Passing args to form
  Form frm = new Form('ShowCustTableData');
  FormRun formRun;
  ;
  
  args.object(frm);
  args.caller(this);
  
  formRun = classFactory.formRunClass(args);
  formRun.init();
  formRun.run();
  formRun.wait();
  }
  
  
  
  The code that tries to close the form (from the second
  form) is : 
  
  void clicked()
  {
  Args args = new args();
  FormRun frm;
  ;
  
  frm = element.args().caller();
  frm.close();
  
  }
  
  reg
  Jesmond
  
  
  
  
  
  --- Matthias Schuster <[EMAIL PROTECTED]> wrote:
  
  > Hi Jesmond,
  >  
  > try this!
  >  
  > FormRun  frm;
  > Frm = element.args().caller();
  > Frm.close();
  >  
  > Cu
  > M
  >  
  >  
  >   _  
  > 
  > Von: Jesmond Giordimaina
  > [mailto:[EMAIL PROTECTED] 
  > Gesendet: Dienstag, 28. September 2004 11:05
  > An: [EMAIL PROTECTED]
  > Betreff: [development-axapta] closing the caller
  > form
  >  
  > Hi all,
  > 
  > does anybody know how to close a form from another
  > form? I am trying to use the following code from the
  > active form.
  > 
  > 
  > Args args = new args();
  > Form frm;
  > ;
  > 
  > frm = args.caller();
  > frm.finalize();
  > 
  > 
  > Thanks in advance
  > reg
  > Jesmond
  > 
  > 
  > 
  > ___
  > Do you Yahoo!?
  > Declare Yourself - Register online to vote today!
  > http://vote.yahoo.com
  > 
  > 
  > 
  > 
  > 
  > Yahoo! Groups Sponsor
  > 
  > 
  > ADVERTISEMENT
  >  
  >
   se96mf6/*http:/companion.yahoo.com> click here
  > 
  >  
  >
  
  > 
  >  
  >   _  
  > 
  > Yahoo! Groups Links
  > *  To visit your group on the web, go to:
  > http://groups.yahoo.com/group/development-axapta/
  >   
  > *  To unsubscribe from this group, send an email to:
  > [EMAIL PROTECTED]
  >
  
  > 
  >   
  > *  Your use of Yahoo! Groups is subject to the Yahoo!
  > Terms of Service 
  > . 
  > 
  > 
  > [Non-text portions of this message have been
  > removed]
  > 
  > 
  > 
  
  
  
      
  __
  Do you Yahoo!?
  New and Improved Yahoo! Mail - Send 10MB messages!
  http://promotions.yahoo.com/new_mail 
  
  
  
  Yahoo! Groups Sponsor  
    ADVERTISEMENT
  click here    
        

  

  Yahoo! Groups Links
  

  *  To visit your group on the web, go to:
    http://groups.yahoo.com/group/development-axapta/
      
  *  To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]  
      
  *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service  . 

  
  












Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Rounding

2004-01-27 Thread Palle Mølgaard





Try round().
 
Ex : Round(123.456,0.01) -> 123.46
Med venlig hilsen 
    Palle Mølgaard     Systemate A/S 
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Sent: 27. januar 2004 
11:46To: [EMAIL PROTECTED]Subject: 
[development-axapta] Rounding

Hi,
 
I would like to 
round a real value to its nearest 2 decimal places. For example 
123.456 -> 123.46 and 4.321 -> 4.32.  Is there any functions 
available in axapta to do this? I've tried the roundZeroDec function but all it 
does is round down if the value is > 0 and vice versa. 
 
TIA,
Charles

Yahoo! Groups Links

  To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/  

  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]  

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 








Yahoo! Groups Sponsor


  ADVERTISEMENT 









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.







[development-axapta] Web application : update after user-input

2004-01-14 Thread Palle Mølgaard





I have built a web-application, but now I have the 
following questions :
 
Is it possible, and practical, to update the web-page, 
after the user has input a value into a field. That is : is it possible to 
display the project name in a text-field on the web-page, after the user has 
selected a project-id on the web-page ?
 
Where do i place the code to handle the value returned from 
a lookup-value - I want to execute Axapta-code, when the user has selected a 
value from a lookup-window, but I can't seem to find the method to 
change.
 
Kind regards
 
    Palle Mølgaard    
Systemate A/S




Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.