|
|
|
|
#1 |
|
Участник
|
See form AifAdapter
AIF can export: AifWebServiceAdapter / AifMSMQAdapter / AifBizTalkAdapter / AifFileSystemAdapter Use last see also Document Schema Rules Generate a Document Schema |
|
|
|
|
#2 |
|
Участник
|
After a couple of hours I found the following link with a detailed explanation of calling AIF-Functions from a button:
http://www.dynamicscare.com/blog/ind...d-aif-document I think using the AifFileSystemAdapter and customizing outbound pipelines should be the solution. Is it possible to get the filename of the XML-Message which was saved by the AifFileSystemAdapter? |
|
|
|
| За это сообщение автора поблагодарили: S.Kuskov (1). | |
|
|
#3 |
|
Модератор
|
Provided that AIF is set up, all you need to do to push sales invoice while posting it is customizing SalesFormLetter_Invoice.updateNow() (see also printJournal() method):
X++: boolean updateNow()
{
///
this.postJournal();
// ->
if (custInvoiceJour.canXMLBeSent())
{
custInvoiceJour.sendElectronically(XMLDocPurpose::Original, AifSendMode::Async);
}
// <-
#if.never// #speedtest
if (speedExecute_Sales)
speedExecute_Sales.timing(SpeedSalesTiming::InvoiceEnd,'');
#endif
return true;
}
__________________
-ТСЯ или -ТЬСЯ ? |
|
|
|
|
#4 |
|
Участник
|
Цитата:
The next stage of the, start new AifOutboundProcessingService().run(); new AifGatewaySendService().run(); and the system generates filename, see: AifFileSystemSendAdapter. getNewOutFileName AifFileSystemSendAdapter. sendMessage How you want to use filename ? |
|
|
| Теги |
| aif |
|
|
|