I am working on a project for CRM and trying to create a plugin for CRM Dynamic. Thisi plugin will take the data in an XML file and create an Order in CRM.
Can someone please assist me with this? I'm currently trying to write this in C#.
I came up with a plan to use LINQ to read the XML file but was lost on how to proceed for creating a new order in CRM using the values in the XML file.
Here's my existing XML file:
<?xml version="1.0" encoding="UTF-8"?>
<Orders xmlns="www.test-inc.com">
<Order>
<Meta>
<Version>testVersion</Version>
</Meta>
<Header>
<OrderHeader>
<PartnerId>test</PartnerId>
<PurchaseOrderNumber>01263-F5</PurchaseOrderNumber>
<PurchaseOrderDate>10/31/2013 10:08:00 AM</PurchaseOrderDate>
</OrderHeader>
<OrderDetail>
<PurchaseOrderTime>10:08:00 AM</PurchaseOrderTime>
<CustomerShippingAccount>W564</CustomerShippingAccount>
<CustomerPONumber>test123</CustomerPONumber>
</OrderDetail>
</Header>
</Order>
</Orders>