[Axapta-Knowledge-Village] Re: Reg Is there way to send reports via email automatically

2009-10-13 Thread manoch_niti
Hi.

In outlook .Go to security options,
and clear the  checkbox "Warn me when other applications try to send mail as 
me" 

Hope this will help you.

Regards.

--- In Axapta-Knowledge-Village@yahoogroups.com, "trinadh sura" 
 wrote:
>
> Dear all,
> 
>  
> 
> I am trying  to create a batch job which should send  some Reports  as PDF 
> 
> file per Mail daily. The problem is, The job can generate this file , and 
> 
> attach to Email this file but can?t send the mail automatically. After 
> 
> calling the   SendAttachment method , Outlook window  is opened. And I must 
> 
> click to send Button in this Window . But I want to send this mail without a
> 
> 
> Confirmation or manual handling.
> 
>  
> 
> Is there any other way to send it automatically?
>




[Axapta-Knowledge-Village] Re: Baht text conversion

2009-06-11 Thread manoch_niti
Dear dan

Do you mean convert a number in to thai language text?
I  can give you a method .
but i don't know your e-mail address.

Regards.
 

--- In Axapta-Knowledge-Village@yahoogroups.com, pradeep itnal 
 wrote:
>
> Sorry mate... i dnt have any formula... but we can Google it or wiki   
> :)..hope u already dng that 
> 
> 
> Thanks & Regards
> Pradeep S.Itnal
> mob:+91-9886529409
> 
> 
> --- On Fri, 5/6/09, cshauw  wrote:
> 
> 
> From: cshauw 
> Subject: [Axapta-Knowledge-Village] Re: Baht text conversion
> To: Axapta-Knowledge-Village@yahoogroups.com
> Date: Friday, 5 June, 2009, 12:13 PM
> 
> 
> 
> 
> 
> 
> 
> 
> Hi,
> 
> Thank you for the reply, we are using this method now but we have the problem 
> to understand Thai numbering system and therefore no idea how to modify, 
> could you advice any standard formula available? Thank you in advance.
> 
> BR,
> Dan
> 
> --- In Axapta-Knowledge- vill...@yahoogro ups.com, pradeep itnal 
>  wrote:
> >
> > hi 
> >     You can modify the method "numtoText" method in global class 
> > available in the AOT 
> > 
> > 
> > Thanks & Regards
> > Pradeep S.Itnal
> > mob:+91-9886529409
> > 
> > 
> > --- On Fri, 5/6/09, cshauw  wrote:
> > 
> > 
> > From: cshauw 
> > Subject: [Axapta-Knowledge- Village] Baht text conversion
> > To: Axapta-Knowledge- vill...@yahoogro ups.com
> > Date: Friday, 5 June, 2009, 9:53 AM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Hi,
> > 
> > Can anyone share to me how Axapta converting the invoice amount into Baht 
> > text, I understand that it is not like direct conversion as English, thank 
> > you.
> > 
> > BR,
> > Dan




[Axapta-Knowledge-Village] Re: Format text for sending email

2009-04-20 Thread manoch_niti
Hi.

The message body must written in html language.
Please try to apply HTML tag into your message. 
for example, surround it with  ... .

Regards.
manoch


--- In Axapta-Knowledge-Village@yahoogroups.com, "anton_tjiptadi" 
 wrote:
>
> Dear all,
> 
> I developed some notification program in Ax 3. This program should send email 
> regarding some changes in Axapta. Problem is I set the message body so it 
> would look nice when my user receive it. Turns out all the format missing so 
> it would only display one long lines without any format.
> 
> Example of my lines is 
> "Purchase order no 1234 is created \n. Please approve or reject \n\n Regards 
> \n Admin"
> 
> I'm using dialog to display this message before Axapta send it. It already 
> looks nice on screen.
> Message body in my dialog already looks like this :
> 
> "Purchase order no 1234 is created 
> Please approve or reject.
>  
> Regards
> Admin"
> 
> After I clicked ok on my dialog, it send the email but with all character in 
> one line.
> --> "Purchase order no 1234 is created.Please approve or rejectRegardsAdmin"
> 
> Any suggestion?
> 
> Thanks in advance.
> Regards,
> Anton
>




[Axapta-Knowledge-Village] Re: How to return str[]?

2009-04-07 Thread manoch_niti
I am not sure does Ax method can return an array or not.
But, I think you can convert array to container or list then return it.

Sorry if my english is not good.

Regards.

--- In Axapta-Knowledge-Village@yahoogroups.com, "altgrep"  
wrote:
>
> Hello Everyone,
> 
> I have been trying to figure out how to return an array of strings like this:
> 
> public str[] exReturnArray()
> {
> 
> str  strArray[];
> 
> ;
> strArray[1] = "mon";
> strArray[2] = "tues";
> strArray[3] = "wed";
> strArray[4] = "thur"; 
> 
> return strArray;
> }
> 
> I get different errors depending on what I try.. can anyone set me straight?
> 
> Thanks,
> Mike
>




[Axapta-Knowledge-Village] Re: Need Urgent Help!

2009-03-31 Thread manoch_niti
Hi.

You can use args.parmObject() to pass object as a parameter,
or pass reference of form1 by args.caller() 



--- In Axapta-Knowledge-Village@yahoogroups.com, "Ehtasham ur Rahman" 
 wrote:
>
> Hi Champs!
> How r u all?.I need your help.
> 
> I have two forms, Form1 and Form2. I call the Form2 on the click event of 
> button from Form1. Now, from Form2 I want some values to be transfered to 
> Form1. How would I do that?
> 
> I can easily pass value from Form1 to Form2 using:
> 
>args.parm("hello");
> 
> and can get value on Form2 using:
> 
>info(element.args().parm());
> 
> But how would I pass value from Form3 to Form1? How can I pass more than one 
> values from Form3 to Form1?
> 
> Any help and suggestion will be highly appreciated.
> 
> Thanks,
> Ehtasham Ur Rahman.
>




[Axapta-Knowledge-Village] Re: How to add or condition using query classes (Urgent)

2008-11-09 Thread manoch_niti
Hi.

See.
http://www.axaptapedia.com/Expressions_in_query_ranges

--- In Axapta-Knowledge-Village@yahoogroups.com, "nageshsinha" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> How can I use OR condition if I am going to build a query using the
> query classes. I have a query like "Select from inventtable where
> InventTable.ItemId == "XYZ" OR Inventtable.ItemName == "ABC".
> 
> Can anyone please tell me how can I build this query using the query
> classes.
> 
> Thanks in advance,
> 
> Regards,
> 
> Nagesh
> 
> 
> 
==

> Extend your network, join http://www.linkedin.com/e/gis/165338 the 
Microsoft Dynamics AX Knowledge Village at LINKEDIN
>




[Axapta-Knowledge-Village] Re: How to avoid outlook pop up message when sending mails from Dynamics AX

2008-10-23 Thread manoch_niti
Hi.
There have 2 options .
1. Update your antivirus software. 
2. Open Outlook security options page then disable this feature.

* Click help link in the pop-up message to find where the option is 
located.

Regards. 

--- In Axapta-Knowledge-Village@yahoogroups.com, Axapta Material 
<[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
> 
> I am trying to send results of my report to a mail reciepient as a batch 
job. Whenever the job is run the outlook pop up a message and waits 
for some body to hit allow to receive the email.
> 
> Is there a way to get rid of the pop up message? We are on Outlook 
2007.
> 
> Thanks in advance,
> DJ
>




[Axapta-Knowledge-Village] Re: Techincal Query

2008-10-21 Thread manoch_niti
Please try this.
1. Remove SalesOrders section. (or remove all controls in the section)
2. Drag fields from salesTables into SalesLines Section.  

Hope this will help you.
Regards.

--- In Axapta-Knowledge-Village@yahoogroups.com, abhishek mehta 
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am developing a report(Packing Slip) which should contain the data 
from Header level and Line level...
> In standerd Ax report it prints like first Header level data will get 
printed then Line level data will be printing and this continues for all 
recoeds
> My concern in this report is the 
> I have to print the data where Header level Data Prints first then in 
same line Line level Data will be printing which has got multiple records,
> Like
> Lets assume Header is Sales Order and Line is Sales Line 
> Column should appear like this.
> Sales order no,Sales Record id, SalesLine record(Item Number,Item 
Dimension).
> Pls help me out me in this case is it achievable or not 
> If yes then how we can achieve it
>  
> Pls reply
>  
> Thnx & Regards
> Abhishek Mehta
>  
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>




[Axapta-Knowledge-Village] Re: Email through Batch Job

2008-07-17 Thread manoch_niti
May be you need to put your file in share folder instead of a local folder.
Hope this can help you.

Regards.
 

--- In Axapta-Knowledge-Village@yahoogroups.com, "bobchamp5" 
<[EMAIL PROTECTED]> wrote:
>
> I am trying to run this Email job through a batch process.   My 
> problem is that when the job runs through batch it fails to attach 
> file.
> If I am starting the batch process on my pc where is the batch job 
> looking for the attachment file?  It works fine interactive from my 
> pc.  Below is my code.
> 
> SysMailer mailer;
> ;
> mailer = new SysMailer();
> 
> mailer.fromAddress('[EMAIL PROTECTED]');
> mailer.fromName('Shipping Update');
> mailer.subject("Daily Shipping Update");
> 
> mailer.tos().add('[EMAIL PROTECTED]');
> 
> mailer.body("Please find attached Shipping Update");
> 
> mailer.SMTPRelayServers
> ().addSysEmailParameters::find   
> ().SMTPRelayServerName,
>   SysEmailParameters::find().SMTPPortNumber,
>   SysEmailParameters::find().SMTPServerIPAddress,
>   SysEmailParameters::find().SMTPUserName,
>   SysEmailParameters::find().SMTPPassword);
> 
>  mailer.attachments().add(C:\\dailyrecap.pdf);
> 
> mailer.sendMail();
> 
> Thanks Bob
>