tag:blogger.com,1999:blog-4565800100410709901.post5734381066154743657..comments2024-03-15T00:20:34.527-07:00Comments on Dynamics AX 2012 Integration using AIF: Microsoft Dynamics AX 2012 – File Exchange (Export) using Web Services (WS)Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-4565800100410709901.post-29869830282744537052022-02-01T22:49:34.984-08:002022-02-01T22:49:34.984-08:00Hi Alex i have an error after generate service ...Hi Alex i have an error after generate service 'Generated Xml Schema for class AlexDataContractItemList has errors. Error message: Cannot resolve the 'schemaLocation' attribute..' How can i fix it?Anonymoushttps://www.blogger.com/profile/12492296235822238202noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-10023869755960048842018-05-03T06:32:18.208-07:002018-05-03T06:32:18.208-07:00Hi Alex! Your articles are invaluable and much app...Hi Alex! Your articles are invaluable and much appreciated!<br />Could you please explain how to create Outbound service for "HcmWorker" with 4 fields (Personnel number,Name,Position Id, Starting date)<br /><br />Thank you.Venkatesh AXhttps://www.blogger.com/profile/16637906243513752802noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-8565932781269459882016-08-17T13:28:51.712-07:002016-08-17T13:28:51.712-07:00Excellent post! However I would like to do the opp...Excellent post! However I would like to do the opposite and import a file using the File system adapter and a custom Service, to import data and execute business logic. It is possible to setup, I have tried every conceivable format of the input file and it never works.<br /><br />Any ideas would be appreciated!Skåninghttps://www.blogger.com/profile/01797724967869239970noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-61544866110724608882016-08-17T07:31:45.649-07:002016-08-17T07:31:45.649-07:00Excellent post! However I would like to do the opp...Excellent post! However I would like to do the opposite and import a file using the File system adapter and a custom Service, to import data and execute business logic. It is possible to setup, I have tried every conceivable format of the input file and it never works.<br /><br />Any ideas would be appreciated!Skåninghttps://www.blogger.com/profile/01797724967869239970noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-3669161576830332572015-09-01T15:56:50.678-07:002015-09-01T15:56:50.678-07:00Hi Alex! Your articles are invaluable and much ap...Hi Alex! Your articles are invaluable and much appreciated!<br />Do you have an article describing how to consume an external web service (strongly-typed service client) inside a custom outbound HTTP adapter?<br /><br />Similar to what Martin Dráb's mentioned here:<br />https://community.dynamics.com/ax/f/33/t/122653#259416<br /><br />Eugen Glasow's Outbound HTTP adapter for AIF:<br />http://blogs.msdn.com/b/dynamics-coe/archive/2015/02/19/outbound-http-adapter-for-aif.aspxAnonymoushttps://www.blogger.com/profile/00907276638262319367noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-50299263182076348002015-04-01T00:53:39.074-07:002015-04-01T00:53:39.074-07:00Hi,
can u link your solution via pastebin or post ...Hi,<br />can u link your solution via pastebin or post it here directly?Anonymoushttps://www.blogger.com/profile/16823570978874796044noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-15789619959964204142015-01-05T06:51:17.496-08:002015-01-05T06:51:17.496-08:00Hi
I managed to craete a valid XML/XSD schema.......Hi<br /><br />I managed to craete a valid XML/XSD schema.... I cannot publish it here due to the blog softwarerabolhttps://www.blogger.com/profile/01396546788091365940noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-22225848628835477492015-01-05T06:49:48.867-08:002015-01-05T06:49:48.867-08:00This comment has been removed by the author.rabolhttps://www.blogger.com/profile/01396546788091365940noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-91536636319784695942015-01-05T00:56:41.186-08:002015-01-05T00:56:41.186-08:00Hi
the schema from the AxleItemList cannot be val...Hi<br /><br />the schema from the AxleItemList cannot be validated which makes the deployment of the serice fail in AX2012R3 - any solution to that ?rabolhttps://www.blogger.com/profile/01396546788091365940noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-82770952980132069912014-11-12T19:45:44.865-08:002014-11-12T19:45:44.865-08:00Hi Alex, This post has helped me tremendously. Th...Hi Alex, This post has helped me tremendously. The only problem I am having is trying to serialize a header-line structure. No matter what I do the first header is created and all the lines from multiple headers below it. It never renders the next header. I am using separate data contracts for the header and lines but am not sure how to lay it out in the getschema and serialize methods of the List data contract. Any help would be greatly appreciated. Thanks, RobAnonymoushttps://www.blogger.com/profile/15036316074661177587noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-31067628910685771612014-06-19T22:14:37.032-07:002014-06-19T22:14:37.032-07:00SalesOrderServiceClient proxy = new SalesOrderServ... SalesOrderServiceClient proxy = new SalesOrderServiceClient();<br /> proxy.ClientCredentials.Windows.ClientCredential.UserName = "Administrator";<br /> proxy.ClientCredentials.Windows.ClientCredential.Password = "pass@word1";<br /> proxy.ClientCredentials.Windows.ClientCredential.Domain = "Contoso.com";<br /> CallContext context = new CallContext();<br /> context.Company = "USMF"; <br /><br /> AxdSalesOrder salesOrder = new AxdSalesOrder();<br /> AxdEntity_SalesTable[] salesTables = new AxdEntity_SalesTable[1];<br /> AxdEntity_SalesTable salesTable = new AxdEntity_SalesTable();<br /> AxdEntity_TableDlvAddr tableDlv = new AxdEntity_TableDlvAddr();<br /> <br /> salesTable.CurrencyCode = "USD";<br /> salesTable.CustAccount = "0000002";<br /> salesTable.ReceiptDateRequested = Convert.ToDateTime("2/1/2012");<br /> <br /> salesTable.PurchOrderFormNum = "PO113"; <br /><br /> tableDlv.action = AxdEnum_AxdEntityAction.create;<br /> tableDlv.CountryRegionId = "IND"; <br /> tableDlv.ZipCode = "110007"; <br /><br /><br /> <br /> salesTable.TableDlvAddr = new AxdEntity_TableDlvAddr[1] {tableDlv};<br /><br /> <br /> salesOrder.SalesTable = new AxdEntity_SalesTable[1] { salesTable }; <br /><br /><br /> try<br /> {<br /><br /> proxy.create( context,salesOrder);<br /> Console.WriteLine("Worked");<br /> }<br /><br /><br /> catch (Exception e)<br /> {<br /><br /><br /> throw e;<br /> }<br /><br /><br /><br />In this I dont have any way to mark that One time CheckboxGaurav Pandeyhttps://www.blogger.com/profile/13241415340971277398noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-32905273317508643692014-06-19T22:03:12.925-07:002014-06-19T22:03:12.925-07:00Hi Alex,
Thanks for your reply.
I have done the se...Hi Alex,<br />Thanks for your reply.<br />I have done the setup as per your suggestion , however the problem is that <br />AxdEntity_TableDlvAddr tableDlv = new AxdEntity_TableDlvAddr();<br /><br />this enity is not having datamethods for "Role" , which is neccssary for one time customer , as soon as you mark "one time customer in Address form , Role is set as One Time and system prevents that entry to have relation with Customer but only with SalesOrder.<br /><br /><br /><br />Can you please have a look and help .......Gaurav Pandeyhttps://www.blogger.com/profile/13241415340971277398noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-33886290516532951712014-06-19T11:31:12.158-07:002014-06-19T11:31:12.158-07:00Hi Gaurav!
In standard AX you have to make sure y...Hi Gaurav!<br /><br />In standard AX you have to make sure you select Default One-time customer account in Accounts Receivable Parameters > General > Customer > Default One-time customer account first. Then you can mark "On-time customer" checkbox upon a new Sales order creation<br /><br />Also based on the screenshot provided it seems you have some AX customizations in place, so also you will have to make sure no other customization is changing the way standard One-time customer feature works in AX <br /><br />Best Regards,<br />/AlexAlex Anikievhttps://www.blogger.com/profile/13438665643699572584noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-64325623818332229612014-06-19T05:40:17.399-07:002014-06-19T05:40:17.399-07:00please helpplease helpGaurav Pandeyhttps://www.blogger.com/profile/13241415340971277398noreply@blogger.comtag:blogger.com,1999:blog-4565800100410709901.post-47770929460385164262014-06-19T05:39:28.347-07:002014-06-19T05:39:28.347-07:00I am trying to create a sales order with One time ...I am trying to create a sales order with One time customer using AIF , however I am not able to check the below Check box (One time customer) ,can you please help <br /><br /><br />https://community.dynamics.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Discussions-Components-Files/33/5826.New-Address.JPG<br />Gaurav Pandeyhttps://www.blogger.com/profile/13241415340971277398noreply@blogger.com