Re: [development-axapta] Run an EXE from AX 2009 - Code Example

2009-06-02 Thread Steffen Denize
winapi::shellExecute(@'C:\acv312\ArsClip.exe');

Med venlig hilsen,
Steffen Denize

Dynamics AX - blog
http://denizone.blogspot.com



2009/5/29 MvT m...@webmail.co.za:


 Hi there,

 Can someone please show me how to open another EXE within AX 2009 Job.

 Kind regards.

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

 


Re: [development-axapta] Urgent!!!Post synchronization job taking too much time

2008-10-21 Thread Steffen Denize
One of the things you can do is to clean up posted data, e.g. run
ledgerJournalCleanUp class, and the other cleanup-classes mentioned in the
MS-provided guide for up-grade. Furthermore, delete companies that are not
needed.

With regards to the restart of the post-synch job, I'm not quite sure if it
is okay.

Best regards,

Steffen

2008/10/16 Amit Jain [EMAIL PROTECTED]

   Hi Guys,

 I am upgrading Axapta 3.0 SP3 to AX 4.0 SP2. Client has around 125 GB of
 data. During upgrade checklist, post synchronization is taking too much time
 and system totally goes into processing mode (sort of hangs). It is running
 almost for past 40 hours. Is there any way to fasten the process, or find
 the problem area. Also please tell me, is it ok, if i restart AOS and
 restart post syncronization process in middle of this process (when 60% of
 post synch has already been completed).

 Second issue is that for one of the table, some duplicate record is
 automatically getting created, during DBUpgradeTool exe execution.

 Please advice on these issues.


 Regards
 Amit

 Add more friends to your messenger and enjoy! Go to
 http://messenger.yahoo.com/invite/

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

  




-- 
Dynamics AX - blog
http://denizone.blogspot.com


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



Re: [development-axapta] Re: Problem running Dynamics AX DB Upgrade Preparation

2008-06-19 Thread Steffen Denize
Hi David
Yes, changing the SQL-version to a std. or higher version did the trick for
me.

Cheers,
Steffen

2008/6/18 david santoso [EMAIL PROTECTED]:

   Hi Vanessa, J, Steffen,

 I also have a same error when running AxDbUpgrade.exe

 do you guys already got the solution ?

 Did the solusion change the sql version (standard or higher version) work ?

 Cheers,

 David S

 On Tue, Mar 25, 2008 at 6:42 PM, steffendenize [EMAIL 
 PROTECTED]steffendenize%40gmail.com
 
 wrote:

  --- In 
  development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com
 development-axapta%40yahoogroups.com,

  J [EMAIL PROTECTED] wrote:
  
When running AxDbUpgrade.exe it display the following error:
===
Copying tables with 1 thread(s).
  
   Vanessa, when I got similar errors, I ran the SQL statement through
   SQL Server Management Studio and got a much more informative error. It
   should be tremendously more useful than the one you got.
  
   I have had similar errors when I a) tried to upgrade FRx tables, and
   b) used a mapped drive.
  
   Good luck
   J
  
  I got a similar error - it appears that the db upgrade tool only
  functions probably on a std. version or higher of the SQL-server.
  When I received that error, I was trying to run the db upgrade tool on
  a developer ed. of SQL-server.
 
  You can identify your SQL version by following these steps:
  http://support.microsoft.com/kb/321185
 
  Hope it helps,
 
 
 

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

  




-- 
Dynamics AX - blog
http://denizone.blogspot.com


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



Re: [development-axapta] No Device error on client startup - possible smmPhone error

2008-05-22 Thread Steffen Denize
Try disabling the telephone integration in the system configuration in crm
module

2008/5/21 meadeswenson [EMAIL PROTECTED]:

   We've installed AX 2009 demo, v5.0.495.0. On our client boxes, when
 we start the AX client's, we receive an Infolog containing numerous
 instances of the message No Device. I've traced the problem down to
 the smmPhone form, which is a wrapper for the smmPhone.ocx ActiveX
 control, but that is as far as I can get. Oddly, each time the client
 starts, the number of instances of No Device increases by three (or
 four?).

 I've tried re-registering the OCS, but it had no affect. Any ideas?

 TIA

  




-- 
Dynamics AX - blog
http://denizone.blogspot.com


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



Re: [development-axapta] Re: Format body of email as HTML

2008-05-13 Thread Steffen Denize
Hi,
thanks for the reply, but it is not quite what I'm looking for.
I'm trying to format the text of the mail itself as html, so that signatures
(with logos and links) are automatically added.

/Steffen

2008/5/8 johnshine34 [EMAIL PROTECTED]:

   Hi, If you change init method to set printjobsettings, can send
 attachment as HTML. Is this what you you mean?
 if (salesFormLetter)
 {
 element.unpackPrintjobSettings
 (salesFormLetter.printerSettingsFormLetter());
 // == Modification Start SIG JJS 010808 Invoice Mail
 if (CustInvoiceJour.custTable_InvoiceAccount
 ().SIG_EmailSalesInvoice == NoYesCombo::Yes)
 {
 element.printJobSettings().mailTo(custTable::find
 (CustInvoiceJour.InvoiceAccount, false).Email);
 element.printJobSettings().preferredMailFormat
 (PrintFormat::HTML);
 element.printJobSettings().preferredTarget
 (PrintMedium::Mail);
 }
 else
 {
 element.unpackPrintjobSettings
 (SalesFormLetter::getPrinterSettingsFormletter
 (DocumentStatus::Invoice));
 element.printJobSettings().setTarget(PrintMedium::Screen);

 // == Modification Start SIG JJS 010808 Invoice Mail
 if (CustInvoiceJour.custTable_InvoiceAccount
 ().SIG_EmailSalesInvoice == NoYesCombo::Yes)
 {
 element.printJobSettings().mailTo(custTable::find
 (CustInvoiceJour.InvoiceAccount, false).Email);
 element.printJobSettings().preferredMailFormat
 (PrintFormat::HTML);
 element.printJobSettings().preferredTarget
 (PrintMedium::Mail);

 // == Modification Start SIG JJS 240808 Invoice Mail
 Status
 }

 Steffan, i hope this helps, I have a problem how to automate this so
 printout is not shown and printer set up from does not have to
 trigger the email. Know can use the SysMailer class but that is
 getting tricky, is there a better solution?

 --- In 
 development-axapta@yahoogroups.comdevelopment-axapta%40yahoogroups.com,
 steffendenize
 [EMAIL PROTECTED] wrote:
 
  Hi,
  When using AX 4.0 build-in print management, I can automatically
 email
  e.g. invoices to customers, but how do I set the body of the email
 to
  be html and not 'non-formatted' text? And when I'm at it, how do I
  automatically add a signature to the outgoing email?
 
  Best regards,
  Steffen
 

  




-- 
Dynamics AX - blog
http://denizone.blogspot.com


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



Re: [development-axapta] Where can I find good material for learning HR module of AX?

2008-05-07 Thread Steffen Denize
If you have access to PartnerSource, you can find training materials there.

/Steffen

2008/5/7 jazib.abdulah [EMAIL PROTECTED]:

   Hi

 I want to learn HR module of AX. Where can I find good material for
 learning HR module of AX?

 Thanks

  




-- 
Dynamics AX - blog
http://denizone.blogspot.com


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



Re: [development-axapta] Re: Problem running Dynamics AX DB Upgrade Preparation

2008-03-25 Thread Steffen Denize
I got a similar error - it appears that the db upgrade tool only functions
probably on a std. version or higher of the SQL-server.
When I received that error, I was trying to run the db upgrade tool on a
developer ed. of SQL-server.

You can identify your SQL version by following these steps:
http://support.microsoft.com/kb/321185

Hope it helps,

Steffen

2008/3/19, J [EMAIL PROTECTED]:

When running AxDbUpgrade.exe it display the following error:
  ===
  Copying tables with 1 thread(s).

 Vanessa, when I got similar errors, I ran the SQL statement through
 SQL Server Management Studio and got a much more informative error. It
 should be tremendously more useful than the one you got.

 I have had similar errors when I a) tried to upgrade FRx tables, and
 b) used a mapped drive.

 Good luck
 J

  




-- 
Firefox http://getfirefox.com
OpenOffice http://openoffice.org
openSUSE http://www.opensuse.org


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



Re: [development-axapta] Trapping of function keys in Axapta, and using them as Hotkey for certain requirements / process

2007-11-15 Thread Steffen Denize
Yeah - but that only works if you have a form open on before hand. Is it
possible to catch keystrokes without a form open, e.g as it is possible wih
ctrl-D, ctrl-P open projects?

/Steffen

PS: Sorry for thread stealing

2007/11/14, Niels Helgogaard [EMAIL PROTECTED]:

   Try to take a look at method task in class SysSetupFormRun.

 (use the macro Task to get the task-id values)

 Tanks
 Niels



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



SV: [development-axapta] Re: How To Find Persons who born today ? (birthdate)

2007-10-25 Thread Steffen Denize
Hi Ali

If you change emplTable to contactPerson in the select statement from Rosyee
you will find all persons who have birthday today, no matter how many person
there are in the given table.

 

Best regards,

Steffen

 

Fra: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] På vegne af Ali Ýhsan Aðca
Sendt: 24. oktober 2007 12:52
Til: development-axapta@yahoogroups.com
Emne: [development-axapta] Re: How To Find Persons who born today ?
(birthdate)

 

Thanks Rosyee,
But I have to find persons from ContactPerson table.
And there more than 200.000 records in there.
And this method will not be sufficient for finding 5 or maybe max 10
person from there.

Best Regards...
--- In HYPERLINK
mailto:development-axapta%40yahoogroups.com[EMAIL PROTECTED]
com, Rosyee [EMAIL PROTECTED] wrote:

 Hi Ali,
 
 You can use like this
 
 while Select emplTable
 {
 if( mthofyr(emplTable.BirthDate) == mthofyr(today())
  dayofmth(emplTable.BirthDate) == dayofmth(today()))
 {
 //u'll get records who born on same day as today
 }
 }
 
 Hope this is what you are looking for.
 
 Thanks,
 Rosyee
 
 
 On 10/24/07, Max Belugin [EMAIL PROTECTED] wrote:
 
  I'd prefer to extract month and day numbers to separate fields.
 
  But you can use Connection and native queries
 
  On 10/23/07, Ali Ýhsan Aðca
[EMAIL PROTECTED]aliihsanagca%40gmail.com
  wrote:
   I thought so. But I think there must be a way to include that
case in
   query filter string
  
   Thanks...
  
   --- In
HYPERLINK
mailto:development-axapta%40yahoogroups.com[EMAIL PROTECTED]
comdevelopment-axapta%40yahoogroups.com,
  Max Belugin
   mbelugin@ wrote:
   
I think, the only way is to enumerate dates from today back to
1900.
(AFAIK there is no way to store dates prior to 1900)
   
On 10/22/07, Ali Ã#65533;hsan Aðca aliihsanagca@ wrote:
 I want to find the persons who were born today?
 What is the filter for that query?

 Thanks in advance...




 Yahoo! Groups Links




   
   
--
Max Belugin, HYPERLINK http://belugin.infohttp://belugin.info ,
ICQ:9406811
   
  
  
  
  
  
   Yahoo! Groups Links
  
  
  
  
 
  --
  Max Belugin, HYPERLINK http://belugin.infohttp://belugin.info ,
ICQ:9406811
  
 
 
 
 [Non-text portions of this message have been removed]


 

 

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.9/1090 - Release Date: 24-10-2007
08:48


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.9/1090 - Release Date: 24-10-2007
08:48
 


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