| 
			
			 | 
		#1 | 
| 
			
			 Участник 
		
			
	 | 
	
	
	
		
		
			
			
			gatesasbait: Automatic creation of a PDF from a customer invoice in Dynamics Ax 4.0
			 
			
			Источник: http://gatesasbait.spaces.live.com/B...B9F5!223.entry 
		
		
		
		
		
		
			============== Good morning, The following code snippet will create a PDF from a CustInvoiceJour record, without any user intervention, using only the standard Ax4 EPSendDocument class. X++: public static void EPSendDocumentTest(Args _args) { EPSendDocument sendDocument; CustInvoiceJour custInvoiceJour; Filename filename; ; select firstonly custInvoiceJour; filename = WinAPI::getTempPath() +'MyInvoice.pdf'; sendDocument = new EPSendDocument(custInvoiceJour); sendDocument.parmOriginal(true); sendDocument.parmFileName(filename); // Make document will run the report and send it to a PDF file with // the path specified in filename sendDocument.makeDocument(); } ![]() ![]() Источник: http://gatesasbait.spaces.live.com/B...B9F5!223.entry 
				__________________ 
		
		
		
		
	Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.  | 
| 
	
 | 
| 
	
	 | 
	
		
  |