Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
XMLSchema_EcoResCategoryDoc [Dynamics AX2012; X++]
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/dynamics/2008/01/documents/EcoResCategoryDocument" xmlns:st="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/dynamics/2008/01/documents/EcoResCategoryDocument" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="SharedTypes.xsd" namespace="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes" />
<xs:element name="EcoResCategoryDocument" type="tns:AxdEcoResCategoryDocument" />
<xs:complexType name="AxdEcoResCategoryDocument">
<xs:sequence>
<xs:element minOccurs="0" name="ClearNilFieldsOnUpdate" nillable="true" type="st:AxdEnum_boolean" />
<xs:element minOccurs="0" name="DocPurpose" nillable="true" type="st:AxdEnum_XMLDocPurpose" />
<xs:element minOccurs="0" name="SenderId" nillable="true" type="st:AxdExtType_DataAreaId" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="EcoResCategory" type="tns:AxdEntity_EcoResCategory_EcoResCategory" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AxdEntity_EcoResCategory_EcoResCategory">
<xs:sequence>
<xs:element minOccurs="0" name="_DocumentHash" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="RecId" nillable="true" type="st:AxdExtType_RecId" />
<xs:element minOccurs="0" name="RecVersion" nillable="true" type="st:AxdExtType_RecVersion" />
<xs:element minOccurs="1" name="CategoryHierarchy" type="st:AxdExtType_EcoResCategoryHierarchyId" />
<xs:element minOccurs="0" name="ParentCategory" nillable="true" type="st:AxdExtType_EcoResCategoryId" />
<xs:element minOccurs="1" name="Name" type="st:AxdExtType_EcoResCategoryName" />
<xs:element minOccurs="0" name="Code" nillable="true" type="st:AxdExtType_EcoResCategoryCommodityCode" />
<xs:element minOccurs="0" name="IsActive" nillable="true" type="st:AxdExtType_NoYesId" />
<xs:element minOccurs="0" name="ChangeStatus" nillable="true" type="st:AxdEnum_EcoResCategoryChangeStatus" />
<xs:element minOccurs="0" name="Level" nillable="true" type="st:AxdExtType_EcoResCategoryLevel" />
<xs:element minOccurs="0" name="NestedSetRight" nillable="true" type="st:AxdExtType_EcoResCategoryNestedSetRight" />
<xs:element minOccurs="0" name="NestedSetLeft" nillable="true" type="st:AxdExtType_EcoResCategoryNestedSetLeft" />
<xs:element minOccurs="0" name="IsCategoryAttributesInherited" nillable="true" type="st:AxdExtType_NoYesId" />
<xs:element minOccurs="0" name="InstanceRelationType" nillable="true" type="st:AxdExtType_RelationType" />
<xs:element minOccurs="0" name="IsTangible" nillable="true" type="st:AxdExtType_NoYesId" />
<xs:element minOccurs="0" name="DefaultProjectGlobalCategory" nillable="true" type="st:AxdExtType_RefRecId" />
<xs:element minOccurs="0" name="PKWiUCode" nillable="true" type="st:AxdExtType_PlPKWiUCode" />
<xs:element minOccurs="0" name="INT_SalesPurchClasses" nillable="true" type="st:AxdEnum_INT_SalesPurchClasses" />
<xs:element minOccurs="0" name="DefaultDimension" nillable="true" type="st:AxdType_DimensionAttributeValueSet" />
<xs:element minOccurs="0" name="INT_ClassDimensionAttributeRecId" nillable="true" type="st:AxdExtType_RefRecId" />
<xs:element minOccurs="0" name="INT_ClassDimensionTagRecId" nillable="true" type="st:AxdExtType_RefRecId" />
<xs:element minOccurs="0" name="INT_DefaultDimension" nillable="true" type="st:AxdType_DimensionAttributeValueSet" />
<xs:element minOccurs="0" name="INT_SalesPriceRules" nillable="true" type="st:AxdExtType_NoYesId" />
<xs:element minOccurs="0" name="INT_SalesPriceAllSuspended" nillable="true" type="st:AxdExtType_NoYesId" />
<xs:element minOccurs="0" name="INT_DateBorderbyNOofDays" nillable="true" type="st:AxdExtType_NoYesId" />
</xs:sequence>
<xs:attribute fixed="entity" name="class" use="required" />
<xs:attribute name="action" type="st:AxdEnum_AxdEntityAction" />
</xs:complexType>
<xs:complexType name="AxdEntity_EcoResCategory_PCClass">
<xs:complexContent mixed="false">
<xs:extension base="tns:AxdEntity_EcoResCategory_EcoResCategory">
<xs:sequence>
<xs:element minOccurs="0" name="ReuseEnabled" nillable="true" type="st:AxdExtType_PCComponentConfigurationReuseOption" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.