AX 2009 - Sales order Invoice - Batch Printing Issue

This post has 2 Replies | 3 Followers

Not Ranked
Posts 13
95 Points
Joined: Mon, Jun 9 2008
Last Online:
Tue, Aug 5 2008 15:47
Jeffer Posted: Tue, Jun 10 2008 15:11
How helpful was this post/question? Please rate here:
Hi
 
I realized that i posted the following question to the wrong form (membership questions).
Could someone please help me in this regard?
 
 
Hi

Im quite new to Dynamics AX and we use AX-2009 in Virtual PC for Development.

I’m trying to do Sales order- Invoice as Batch processing. My objective is
to print the Sales Order > Invoice as Batch process in terms of EMail / File
/ Printer


I use my local Virtual PC machine as both AX Client and AOS Batch Server.


To print batch, I setup following things.

1. I set "Server Configuration", "Batch Groups" under Administration > Setup

2. And as per help, I set "Connect to printers on this server" properties
both in Dynamics AX 2009 client and server configuration utility.

Whenever the batch process runs, I got the following errors on different
scenarios.

1. When configured the printer for Email, the InfoLog shows the below
error

Error: Method 'send' in COM object of class 'CDO.Message' returned error code 0x80040211 (<unknown>) which means: <unknown>.

2. When configured the printer for File, the InfoLog shows the below error

Error: "Target file must be in UNC format."

3. When configured the printer to my local Printer got the error saying

Error: "Selected printer is not an AOS printer"


Am I missing something?

Could someone please assist me in this regard?

Thanks in advance

Jaff

Not Ranked
Posts 13
95 Points
Joined: Mon, Jun 9 2008
Last Online:
Tue, Aug 5 2008 15:47
Jeffer replied on Thu, Jun 12 2008 21:52
How helpful was this comment/solution? Please rate here:

Hi

After few attempts,  I have found the solution for #2 (Send to File) and #3 Printer (partially),

2. When I Configure my "Printer Setup", I should give UNC path i.e, \ComputerName\Folder\FileName instead of Physical path. (but if i have more than one invoice, this file overwritten with latest Sales Order record)

How do I print one-to-one file per Sales Order ?

3. When Configured "Printer Setup" > "Printer" to "AOS: Microsoft XPS Document Writer", It will prompt for Save location (but when i run batch i don't need this prompting which needs user action) . Still no luck to print directly to Printer

 For the Case 1 i.e., EMAIL,I'm still getting error even though i configured through "E-Mail Parameters" form (Administration >)

Any thoughts...???

Jaff 

 

 

 

Not Ranked
Posts 1
5 Points
Joined: Thu, Jan 15 2009
Last Online:
Fri, Jan 16 2009 9:36
Timmy replied on Thu, Jan 15 2009 17:40
How helpful was this comment/solution? Please rate here:

Hi Jaff,

did you ever make any progress with your issues?

I'm having the same problems. I had a play around with administraion > email parameters until I found a combination that worked (my active directory name and password seems to work, or alternatively ticked use NTLM), so hopefully I have that setup correctly. One of my problems was I was trying to send a PDF and therefore got an error (I guess because i didnt have adobe installed on the server?). When i changed the attachment to send as a txt file, the email sent fine... now the only issue is no matter which email address it sends to (even gmail), it is like the email has been send from the account it is being sent to. Like when i send it to a gmail address and click reply, it reply's to the same gmail address.

To run a batch job and have a report print to a printer, it looks like I need to have an AOS printer installed? I've logged on to the aos server and added a network printer... no luck though.

Any help would be much appreciated.

Page 1 of 1 (3 items) | RSS | Bookmark and Share