Re: [development-axapta] Sockets in Axapta

2005-03-03 Thread Max Belugin


Hello Raal Goff,

пятница, 4 марта 2005 г., you wrote:

RG> Is there any sockets functionality available in axapta? A sockets class
RG> or com object, or any other way of getting sockets functionality?

RG> If not, is it possible to write a wrapper class to the winsock dll using
RG> the DLL classes etc? The winsock functions generally make use of
RG> pointers though, and im not sure if X++ can really support that?

look  at  WINAPI  Class  for  examples  -  pointers  is not a problem,
callbacks - is real problem


-- 
Best regards,
 Max

http://belugin.newmail.ru
ICQ:9406811






 
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:
http://docs.yahoo.com/info/terms/
 






RE: [development-axapta] SalesTable+SalesLine

2005-03-03 Thread Amar Senapati






Hi,

 

You may need to add SalesLine.clear() code as the first line.

 

Regards

Amar

 

  _  

From: Deni [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 3 March 2005 6:57 PM
To: development-axapta@yahoogroups.com
Subject: [development-axapta] SalesTable+SalesLine

 


Hi, I am new in Axapta Development
I must create Sales order which type is journal
but without using Sales Journal Form (AR -> Journal -> SalesOrder->
SalesJournal)

 header 
void saleshdrinsert(str _custgroup,
    CustAccount _custaccount,
    CustInvoiceAccount _invoiceaccount
    )
{
    SalesTable_DS.create();

    ttsbegin;
    
    SalesTable.CustGroup = _custgroup;// 
    SalesTable.CustAccount = _custaccount; //
    SalesTable.SalesType = 0;
    SalesTable.SalesStatus = 1;
    SalesTable.CurrencyCode = CompanyInfo::standardCurrency();
    SalesTable.InvoiceAccount = _invoiceaccount; // 
    SalesTable.LanguageId ='en-us';
    element.numberSeqFormHandler().formMethodDataSourceWrite();
    salestable.insert();
    
    ttscommit;
}

for Salesheader, I think it works beacuse the error doesn't appear

- line --
void saleslineinsert(SalesId salesidhdr,
 ItemId  _itemId, 
 InventDimId _inventdimid
 )
{
   
 ttsbegin;
    
 SalesLine.SalesId = salesidhdr;
 SalesLine.ItemId = _itemId;
 ...
 ...    
 
    SalesLine.insert();
    ttscommit;
}

error comes out  : "Item identification cannot be changed when inventory
transactions have been generated."
is there any wrong in that procedure..? if yes, can you explains..!
is there any way ?

Thanks for the answer.

Regards,

Deni



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









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. 



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













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] Sockets in Axapta

2005-03-03 Thread Raal Goff






Hi,

Is there any sockets functionality available in axapta? A sockets class
or com object, or any other way of getting sockets functionality?

If not, is it possible to write a wrapper class to the winsock dll using
the DLL classes etc? The winsock functions generally make use of
pointers though, and im not sure if X++ can really support that?

Any suggestions welcome,

Raal Goff
Software Developer
NAS Insurance Brokers
T 08 9480 8900
F 08 9481 1166
W www.nasinsurance.com.au













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.










AW: [development-axapta] SalesTable+SalesLine

2005-03-03 Thread Andrae, Tobias






NO- use a new class overriding SalesAutoCreate to do that ;-)
Tobias

  -UrsprÃngliche Nachricht- 
  Von: Deni [mailto:[EMAIL PROTECTED] 
  Gesendet: Do 03.03.2005 08:56 
  An: development-axapta@yahoogroups.com 
  Cc: 
  Betreff: [development-axapta] SalesTable+SalesLine
  
  



  Hi, I am new in Axapta Development
  I must create Sales order which type is journal
  but without using Sales Journal Form (AR -> Journal -> SalesOrder-> SalesJournal)
  
   header 
  void saleshdrinsert(str _custgroup,
      CustAccount _custaccount,
      CustInvoiceAccount _invoiceaccount
      )
  {
      SalesTable_DS.create();
  
      ttsbegin;
     
      SalesTable.CustGroup = _custgroup;//
      SalesTable.CustAccount = _custaccount; //
      SalesTable.SalesType = 0;
      SalesTable.SalesStatus = 1;
      SalesTable.CurrencyCode = CompanyInfo::standardCurrency();
      SalesTable.InvoiceAccount = _invoiceaccount; //
      SalesTable.LanguageId ='en-us';
      element.numberSeqFormHandler().formMethodDataSourceWrite();
      salestable.insert();
     
      ttscommit;
  }
  
  for Salesheader, I think it works beacuse the error doesn't appear
  
  - line --
  void saleslineinsert(SalesId salesidhdr,
   ItemId  _itemId,    
   InventDimId _inventdimid
   )
  {
    
   ttsbegin;
     
   SalesLine.SalesId = salesidhdr;
   SalesLine.ItemId = _itemId;
   ...
   ...   
      
      SalesLine.insert();
      ttscommit;
  }
  
  error comes out  : "Item identification cannot be changed when inventory transactions have been generated."
  is there any wrong in that procedure..? if yes, can you explains..!
  is there any way ?
  
  Thanks for the answer.
  
  Regards,
  
  Deni
  
  
  
  [Non-text portions of this message have been removed]
  
  
  
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
  



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













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] Problems viewing the documentation

2005-03-03 Thread astro_viking







Hi,

when I want to see the documentation for a class eg. FormStatic* i 
doubleclick the class in the AOT - the help window opens but there is 
no content in the window except from the icon bar in the top. Does 
anybody know what causes this problem?

I am running Axapta 2.5 with sp3















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.










AW: *SPAM* [development-axapta] AOS Client Error

2005-03-03 Thread Andrae, Tobias






use the client's directory as "application directory" for your client (e.g. c:\axapta\client)
 
 
hth Tobias

  -UrsprÃngliche Nachricht- 
  Von: chievaz_regalz [mailto:[EMAIL PROTECTED] 
  Gesendet: Do 03.03.2005 04:31 
  An: development-axapta@yahoogroups.com 
  Cc: 
  Betreff: *SPAM* [development-axapta] AOS Client Error
  
  




  Hai All,
  
  I need help ...
  
  I try to connect axapta client with AOS server. but everytime login
  i get error in "illegal directory structure for axapta application".
  then i map axapta application directory from server to server
  \\servername\axapta application. thats get axapta run well with AOS
  configuration. this mean that configuration same as with 2 tier
  configuration, WHY ??.
  
  i need connect with 3 tier configuration, so user doesn't need to
  map axapta application directory from server. i need resolution ..
  
  thanks for your attention.
  
  chievaz regalz
  
  
  
  
  
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
  



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













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.










SV: [development-axapta] Re: Ax 2.5 SP2 with Ax2.5 SP 4 kernel

2005-03-03 Thread Erik Hansen






It's not recomended by Microsoft, but it works.
Just install the 2.5 SP2 and upgrade the kernel.
 
Best regards
Erik Hansen



Fra: Karsten Krabbes [mailto:[EMAIL PROTECTED]
Sendt: to 03-03-2005 13:48
Til: development-axapta@yahoogroups.com
Emne: [development-axapta] Re: Ax 2.5 SP2 with Ax2.5 SP 4 kernel




As far as I remember it was a problem because new methods and 
functions were introduced in the kernel. 
You should always use the correct kernel for the application.

br
karsten
--- In development-axapta@yahoogroups.com, "pbercher" 
<[EMAIL PROTECTED]> wrote:
> 
> 
> Hello,
> 
> is there a problem useing the kernel (AX32.exe / Axserver.exe) from 
> Ax 2.5 SP4 on an istallation of Ax 2.5 SP2??
> 
> Regards
> Pirmin








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  . 




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













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] SalesTable+SalesLine

2005-03-03 Thread Girish Bhatkal






While inserting sales line you need to also include a few other methods
Like Check for the Modified method on the
SalesTable/Datasource/salesline/itemId/

If you could write and let me know all the lines written for writing
salesline then I could suggest what you need to modify.

Cheers,
Girish


-Original Message-
From: Deni [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2005 07:57
To: development-axapta@yahoogroups.com
Subject: [development-axapta] SalesTable+SalesLine



Hi, I am new in Axapta Development
I must create Sales order which type is journal
but without using Sales Journal Form (AR -> Journal -> SalesOrder->
SalesJournal)

 header 
void saleshdrinsert(str _custgroup,
    CustAccount _custaccount,
    CustInvoiceAccount _invoiceaccount
    )
{
    SalesTable_DS.create();

    ttsbegin;
    
    SalesTable.CustGroup = _custgroup;// 
    SalesTable.CustAccount = _custaccount; //
    SalesTable.SalesType = 0;
    SalesTable.SalesStatus = 1;
    SalesTable.CurrencyCode = CompanyInfo::standardCurrency();
    SalesTable.InvoiceAccount = _invoiceaccount; // 
    SalesTable.LanguageId ='en-us';
    element.numberSeqFormHandler().formMethodDataSourceWrite();
    salestable.insert();
    
    ttscommit;
}

for Salesheader, I think it works beacuse the error doesn't appear

- line --
void saleslineinsert(SalesId salesidhdr,
 ItemId  _itemId, 
 InventDimId _inventdimid
 )
{
   
 ttsbegin;
    
 SalesLine.SalesId = salesidhdr;
 SalesLine.ItemId = _itemId;
 ...
 ...    
 
    SalesLine.insert();
    ttscommit;
}
 
error comes out  : "Item identification cannot be changed when inventory
transactions have been generated."
is there any wrong in that procedure..? if yes, can you explains..!
is there any way ?

Thanks for the answer.

Regards,

Deni



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






 
Yahoo! Groups Links



 















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] Re: Product builder, how to execute user entered X++

2005-03-03 Thread Gokhan Can






What happens if I exceed 64 KB ??
I have an 64 KB error because of variable count ??


-Original Message-
From: James Flavell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 03, 2005 11:33 AM
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] Re: Product builder, how to execute
user entered X++



Thanks Onno that really helps me :))
 
Is this the way the product builder does it?
Thanks
James

-Original Message-
From: onnobid [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2005 17:30
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Re: Product builder, how to execute user
entered X++




Hi,

try this:

static void Job51(Args _args)
{
    XppCompiler XppComp = new XppCompiler();
    str XppSrc  = "void Box(str Text) {;box::info(Text);}";

    XppComp.compile(XppSrc);
    XppComp.execute("Hi");
}

or this:

static void Job52(Args _args)
{
    str XppSrc = "void Box(str Text) {;box::info(Text);}";

    runbuf(XppSrc, "Hi");
}

Note: Source must not exceed 64K!

Regards,
Onno








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]

be> 
  

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




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






 
Yahoo! Groups Links



 















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] Re: Ax 2.5 SP2 with Ax2.5 SP 4 kernel

2005-03-03 Thread Karsten Krabbes







As far as I remember it was a problem because new methods and 
functions were introduced in the kernel. 
You should always use the correct kernel for the application.

br
karsten
--- In development-axapta@yahoogroups.com, "pbercher" 
<[EMAIL PROTECTED]> wrote:
> 
> 
> Hello,
> 
> is there a problem useing the kernel (AX32.exe / Axserver.exe) from 
> Ax 2.5 SP4 on an istallation of Ax 2.5 SP2??
> 
> Regards
> Pirmin















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] Save of query when added table in range

2005-03-03 Thread Arkadiusz Zimniak


Hallo,

I have the following problem in Axapta 2.5. When end user sets the filter
f.e. on a form he can
add the ranges and than save modified query to be used later. But then I try
add the table (using
relations 1:n or n:1) in mode advanced and then I'm adding the ranges and
saving it. But unfortunattelly
when I'm going use them later the saved query doesn't have ranges from added
tables.
How could one save such query?

Best regards

Arkadiusz Zimniak
Integris Poznań
tel./fax +48 61 8681533, +48 61 8681549
e-mail: [EMAIL PROTECTED]
http://www.integris.pl






 
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:
http://docs.yahoo.com/info/terms/
 






[development-axapta] Record level security

2005-03-03 Thread Ax_dave







Hi,

Does anyone faced performance problem by inserting record level 
security on item master. (blocking certain group of items from 
viewing to certain group of users)

Thank you in advance for sharing your experiences.

Regards,
Manjushree















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] Re: Product builder, how to execute user entered X++

2005-03-03 Thread James Flavell






Thanks Onno that really helps me :))
 
Is this the way the product builder does it?
Thanks
James

-Original Message-
From: onnobid [mailto:[EMAIL PROTECTED] 
Sent: 03 March 2005 17:30
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Re: Product builder, how to execute user
entered X++




Hi,

try this:

static void Job51(Args _args)
{
    XppCompiler XppComp = new XppCompiler();
    str XppSrc  = "void Box(str Text) {;box::info(Text);}";

    XppComp.compile(XppSrc);
    XppComp.execute("Hi");
}

or this:

static void Job52(Args _args)
{
    str XppSrc = "void Box(str Text) {;box::info(Text);}";

    runbuf(XppSrc, "Hi");
}

Note: Source must not exceed 64K!

Regards,
Onno








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
 . 




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













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] Ax 2.5 SP2 with Ax2.5 SP 4 kernel

2005-03-03 Thread pbercher







Hello,

is there a problem useing the kernel (AX32.exe / Axserver.exe) from 
Ax 2.5 SP4 on an istallation of Ax 2.5 SP2??

Regards
Pirmin















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: RE : [development-axapta] Overrule keys

2005-03-03 Thread is05458







in the method task I do not have all the combinations of keys, only 
the "standard one" of axapta and for example the combinations of 
keys do not work.  I need it for a terminal TPV



--- In development-axapta@yahoogroups.com, "Steeve Gilbert" 
<[EMAIL PROTECTED]> wrote:
> 
> Yes, override the task() method of the form and place a breakpoint 
in there.  Press your key (for example F6) and see what task number 
is associated with this key.
> 
> Regards,
> 
> Steeve... 
> 
> 
> -Message d'origine-
> De : is05458 [mailto:[EMAIL PROTECTED] 
> Envoyé : 2 mars 2005 11:36
> À : development-axapta@yahoogroups.com
> Objet : [development-axapta] Overrule keys
> 
> 
> 
> 
> Hello,
> 
> I'd like to overrule keys in a form, for exemple Ctrl-X or F6 or 
> Shift-4 or something similar.
> 
> Is it possible???
> 
> How is it possible???
> 
> Thx a lot!!!
> 
> 
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links















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] Re: Product builder, how to execute user entered X++

2005-03-03 Thread onnobid







Hi,

try this:

static void Job51(Args _args)
{
    XppCompiler XppComp = new XppCompiler();
    str XppSrc  = "void Box(str Text) {;box::info(Text);}";

    XppComp.compile(XppSrc);
    XppComp.execute("Hi");
}

or this:

static void Job52(Args _args)
{
    str XppSrc = "void Box(str Text) {;box::info(Text);}";

    runbuf(XppSrc, "Hi");
}

Note: Source must not exceed 64K!

Regards,
Onno















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] SalesTable+SalesLine

2005-03-03 Thread Deni






Hi, I am new in Axapta Development
I must create Sales order which type is journal
but without using Sales Journal Form (AR -> Journal -> SalesOrder-> SalesJournal)

 header 
void saleshdrinsert(str _custgroup,
    CustAccount _custaccount,
    CustInvoiceAccount _invoiceaccount
    )
{
    SalesTable_DS.create();

    ttsbegin;
    
    SalesTable.CustGroup = _custgroup;// 
    SalesTable.CustAccount = _custaccount; //
    SalesTable.SalesType = 0;
    SalesTable.SalesStatus = 1;
    SalesTable.CurrencyCode = CompanyInfo::standardCurrency();
    SalesTable.InvoiceAccount = _invoiceaccount; // 
    SalesTable.LanguageId ='en-us';
    element.numberSeqFormHandler().formMethodDataSourceWrite();
    salestable.insert();
    
    ttscommit;
}

for Salesheader, I think it works beacuse the error doesn't appear

- line --
void saleslineinsert(SalesId salesidhdr,
 ItemId  _itemId, 
 InventDimId _inventdimid
 )
{
   
 ttsbegin;
    
 SalesLine.SalesId = salesidhdr;
 SalesLine.ItemId = _itemId;
 ...
 ...    
 
    SalesLine.insert();
    ttscommit;
}
 
error comes out  : "Item identification cannot be changed when inventory transactions have been generated."
is there any wrong in that procedure..? if yes, can you explains..!
is there any way ?

Thanks for the answer.

Regards,

Deni



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













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.