Microsoft Dynamics 365 Blog

Calling the InventTransferJournalService in AX 2012 

1 min read

I received a question on how to call this service.  The code below creates an inventory transfer journal for me in the demo data: TransferJournalServiceClient client = new TransferJournalServiceClient(); CallContext context = new CallContext();            context.Company = “ceu”;   AxdTransferJournal journal = new AxdTransferJournal(); AxdEntity_InventJournalTable journalHeader = new AxdEntity_InventJournalTable(); journalHeader.JournalNameId = “ITrf”;   AxdEntity_InventJournalTrans inventJournalTrans =…Read more