web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

XML output

(0) ShareShare
ReportReport
Posted on by

Hi All

I have a issue with creating an XML output. Ive nearly got it there but can get over the final hurdle. The issue i have is referencing a group

Basically i need the XML to look like

<lv_ordertype>Order</lv_ordertype>
<references>

<WebReference>

<reference_index>7</reference_index>
<reference_value>ST</reference_value>

<WebReference>
</references>
<customer />
<delivery>

Instead of 

<references>

<reference_index>7</reference_index>

<reference_value>ST</reference_value>

</references>
<customer />
<delivery>

So basically the <WebReference> is missing. I'm sure this is something simple but can't see it. My Code is below

Kind Regards for your help


using System.Xml.Serialization;
public partial class ArrayOfWebSalesOrder
{
private WebSalesOrder[] websalesorderField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("WebSalesOrder", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WebSalesOrder[] websalesorder
{
get
{
return this.websalesorderField;
}
set
{
this.websalesorderField = value;
}
}
}

// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrder
{

private string lv_ordertypeField;

private string currency_codeField;

private string customer_referenceField;

private string delivery_instructionsField;

private string order_dateField;

private string delivery_dateField;

private string paymentField;

private string totalField;

private string total_goodsField;

private string total_vatField;

private string web_idField;

private WebSalesOrderCustomer[] customerField;

private WebSalesOrderDelivery[] deliveryField;

private WebSalesOrderItemsWebSalesOrderItem[] itemsField;

private WebSalesOrderreferences[] referencesField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string currency_code
{
get
{
return this.currency_codeField;
}
set
{
this.currency_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string customer_reference
{
get
{
return this.customer_referenceField;
}
set
{
this.customer_referenceField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string delivery_instructions
{
get
{
return this.delivery_instructionsField;
}
set
{
this.delivery_instructionsField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string order_date
{
get
{
return this.order_dateField;
}
set
{
this.order_dateField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string delivery_date
{
get
{
return this.delivery_dateField;
}
set
{
this.delivery_dateField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string payment
{
get
{
return this.paymentField;
}
set
{
this.paymentField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string total
{
get
{
return this.totalField;
}
set
{
this.totalField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string total_goods
{
get
{
return this.total_goodsField;
}
set
{
this.total_goodsField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string total_vat
{
get
{
return this.total_vatField;
}
set
{
this.total_vatField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string web_id
{
get
{
return this.web_idField;
}
set
{
this.web_idField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string lv_ordertype
{
get
{
return this.lv_ordertypeField;
}
set
{
this.lv_ordertypeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("references", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlElementAttribute("WebReferences", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WebSalesOrderreferences[] references
{
get
{
return this.referencesField;
}
set
{
this.referencesField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("customer", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WebSalesOrderCustomer[] customer
{
get
{
return this.customerField;
}
set
{
this.customerField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("delivery", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WebSalesOrderDelivery[] delivery
{
get
{
return this.deliveryField;
}
set
{
this.deliveryField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("WebSalesOrderItem", typeof(WebSalesOrderItemsWebSalesOrderItem), Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = false)]
public WebSalesOrderItemsWebSalesOrderItem[] items
{
get
{
return this.itemsField;
}
set
{
this.itemsField = value;
}
}
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrderreferences


{
private string reference_indexField;

private string reference_valueField;

// private WebSalesOrderreferencesWebReference[] webreferencesField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("WebReferences", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
// public WebSalesOrderreferencesWebReference[] webreferences
// {
// get
// {
// return this.webreferencesField;
// }
// set
// {
// this.webreferencesField = value;
// }
// }

//}


/// <remarks/>
//[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
//[System.SerializableAttribute()]
//[System.Diagnostics.DebuggerStepThroughAttribute()]
//[System.ComponentModel.DesignerCategoryAttribute("code")]
//[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
//public partial class WebSalesOrderreferencesWebReference


//{

private string reference_7Field;

private string reference_8Field;

// private string reference_indexField;

// private string reference_valueField;


/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string reference_index
{
get
{
return this.reference_indexField;
}
set
{
this.reference_indexField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string reference_value
{
get
{
return this.reference_valueField;
}
set
{
this.reference_valueField = value;
}
}
}


/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrderCustomer
{

private string address_line_1Field;

private string address_line_2Field;

private string address_line_3Field;

private string address_line_4Field;

private string address_line_5Field;

private string company_nameField;

private string contact_emailField;

private string contact_nameField;

private string contact_phoneField;

private string customer_codeField;

private string postcodeField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_1
{
get
{
return this.address_line_1Field;
}
set
{
this.address_line_1Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_2
{
get
{
return this.address_line_2Field;
}
set
{
this.address_line_2Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_3
{
get
{
return this.address_line_3Field;
}
set
{
this.address_line_3Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_4
{
get
{
return this.address_line_4Field;
}
set
{
this.address_line_4Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_5
{
get
{
return this.address_line_5Field;
}
set
{
this.address_line_5Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string company_name
{
get
{
return this.company_nameField;
}
set
{
this.company_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_email
{
get
{
return this.contact_emailField;
}
set
{
this.contact_emailField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_name
{
get
{
return this.contact_nameField;
}
set
{
this.contact_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_phone
{
get
{
return this.contact_phoneField;
}
set
{
this.contact_phoneField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string customer_code
{
get
{
return this.customer_codeField;
}
set
{
this.customer_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string postcode
{
get
{
return this.postcodeField;
}
set
{
this.postcodeField = value;
}
}
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrderDelivery
{

private string address_line_1Field;

private string address_line_2Field;

private string address_line_3Field;

private string address_line_4Field;

private string address_line_5Field;

private string company_nameField;

private string contact_emailField;

private string contact_nameField;

private string contact_phoneField;

private string customer_codeField;

private string delivery_codeField;

private string postcodeField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_1
{
get
{
return this.address_line_1Field;
}
set
{
this.address_line_1Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_2
{
get
{
return this.address_line_2Field;
}
set
{
this.address_line_2Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_3
{
get
{
return this.address_line_3Field;
}
set
{
this.address_line_3Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_4
{
get
{
return this.address_line_4Field;
}
set
{
this.address_line_4Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_5
{
get
{
return this.address_line_5Field;
}
set
{
this.address_line_5Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string company_name
{
get
{
return this.company_nameField;
}
set
{
this.company_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_email
{
get
{
return this.contact_emailField;
}
set
{
this.contact_emailField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_name
{
get
{
return this.contact_nameField;
}
set
{
this.contact_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_phone
{
get
{
return this.contact_phoneField;
}
set
{
this.contact_phoneField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string customer_code
{
get
{
return this.customer_codeField;
}
set
{
this.customer_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string delivery_code
{
get
{
return this.delivery_codeField;
}
set
{
this.delivery_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string postcode
{
get
{
return this.postcodeField;
}
set
{
this.postcodeField = value;
}
}
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrderItemsWebSalesOrderItem
{

private string lv_itemnumberField;

private string discount_amountField;

private string discount_descriptionField;

private string discount_percentageField;

private string goodsField;

private string product_codeField;

private string quantityField;

private string totalField;

private string vat_amountField;

private string vat_inclusiveField;

private string vat_percentageField;

private WebSalesOrderItemsWebSalesOrderItemUnit[] unitField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string discount_amount
{
get
{
return this.discount_amountField;
}
set
{
this.discount_amountField = value;
}
}

[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string lv_itemnumber
{
get
{
return this.lv_itemnumberField;
}
set
{
this.lv_itemnumberField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string discount_description
{
get
{
return this.discount_descriptionField;
}
set
{
this.discount_descriptionField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string discount_percentage
{
get
{
return this.discount_percentageField;
}
set
{
this.discount_percentageField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string goods
{
get
{
return this.goodsField;
}
set
{
this.goodsField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string product_code
{
get
{
return this.product_codeField;
}
set
{
this.product_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string quantity
{
get
{
return this.quantityField;
}
set
{
this.quantityField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string total
{
get
{
return this.totalField;
}
set
{
this.totalField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string vat_amount
{
get
{
return this.vat_amountField;
}
set
{
this.vat_amountField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string vat_inclusive
{
get
{
return this.vat_inclusiveField;
}
set
{
this.vat_inclusiveField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string vat_percentage
{
get
{
return this.vat_percentageField;
}
set
{
this.vat_percentageField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute("unit", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public WebSalesOrderItemsWebSalesOrderItemUnit[] unit
{
get
{
return this.unitField;
}
set
{
this.unitField = value;
}
}
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebSalesOrderItemsWebSalesOrderItemUnit
{

private string descriptionField;

private string multiplierField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string description
{
get
{
return this.descriptionField;
}
set
{
this.descriptionField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string multiplier
{
get
{
return this.multiplierField;
}
set
{
this.multiplierField = value;
}
}
}


/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
public partial class WebCustomer
{

private string address_line_1Field;

private string address_line_2Field;

private string address_line_3Field;

private string address_line_4Field;

private string address_line_5Field;

private string company_nameField;

private string contact_emailField;

private string contact_nameField;

private string contact_phoneField;

private string customer_codeField;

private string postcodeField;

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_1
{
get
{
return this.address_line_1Field;
}
set
{
this.address_line_1Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_2
{
get
{
return this.address_line_2Field;
}
set
{
this.address_line_2Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_3
{
get
{
return this.address_line_3Field;
}
set
{
this.address_line_3Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_4
{
get
{
return this.address_line_4Field;
}
set
{
this.address_line_4Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string address_line_5
{
get
{
return this.address_line_5Field;
}
set
{
this.address_line_5Field = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string company_name
{
get
{
return this.company_nameField;
}
set
{
this.company_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_email
{
get
{
return this.contact_emailField;
}
set
{
this.contact_emailField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_name
{
get
{
return this.contact_nameField;
}
set
{
this.contact_nameField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string contact_phone
{
get
{
return this.contact_phoneField;
}
set
{
this.contact_phoneField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string customer_code
{
get
{
return this.customer_codeField;
}
set
{
this.customer_codeField = value;
}
}

/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string postcode
{
get
{
return this.postcodeField;
}
set
{
this.postcodeField = value;
}
}
}


///// <remarks/>
//[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.6.81.0")]
//[System.SerializableAttribute()]
//[System.Diagnostics.DebuggerStepThroughAttribute()]
//[System.ComponentModel.DesignerCategoryAttribute("code")]
//[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
//[System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)]
//public partial class NewDataSet {

// private WebSalesOrder[] itemsField;

// /// <remarks/>
// [System.Xml.Serialization.XmlElementAttribute("WebSalesOrder")]
// public WebSalesOrder[] Items {
// get {
// return this.itemsField;
// }
// set {
// this.itemsField = value;
// }
// }
//}

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Please Ignore the lines

    [System.Xml.Serialization.XmlElementAttribute("references", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]

    [System.Xml.Serialization.XmlElementAttribute("WebReferences", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]

    it is just the first line that is in the code

    Kind Regards

    Dan

  • Community Member Profile Picture
    on at

    Hi all

    Does any one have any ideas at all. Really need to get this to work. I’m sure it’s something simple I’m missing

    Kind regards

    Dan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans