<?xml version="1.0" standalone="yes"?>
<xs:schema id="AccountDistributionDataSet" targetNamespace="http://xml.objacct.com/AccountDistribution.xsd" xmlns:mstns="http://xml.objacct.com/AccountDistribution.xsd" xmlns="http://xml.objacct.com/AccountDistribution.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:element name="AccountDistributionDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Header">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RowID" type="xs:string" />
              <xs:element name="AccountDistributionDocID" type="xs:string" minOccurs="0" />
              <xs:element name="Active" type="xs:short" minOccurs="0" />
              <xs:element name="AllocationMethod" type="xs:string" minOccurs="0" />
              <xs:element name="AllocationPercentageRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AllocationRateRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AllocationUnitRowID" type="xs:string" minOccurs="0" />
              <xs:element name="Description" type="xs:string" minOccurs="0" />
              <xs:element name="Custom1" type="xs:string" minOccurs="0" />
              <xs:element name="Custom2" type="xs:string" minOccurs="0" />
              <xs:element name="Custom3" type="xs:string" minOccurs="0" />
              <xs:element name="Custom4" type="xs:string" minOccurs="0" />
              <xs:element name="Custom5" type="xs:string" minOccurs="0" />
              <xs:element name="Custom6" type="xs:string" minOccurs="0" />
              <xs:element name="Custom7" type="xs:string" minOccurs="0" />
              <xs:element name="Custom8" type="xs:string" minOccurs="0" />
              <xs:element name="Custom9" type="xs:string" minOccurs="0" />
              <xs:element name="Custom10" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Transaction">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RowID" type="xs:string" />
              <xs:element name="AccountDistributionDocRowID" type="xs:string" minOccurs="0" />
              <xs:element name="DestinationAccountIDMask" type="xs:string" minOccurs="0" />
              <xs:element name="DestinationAccountRowID" type="xs:string" minOccurs="0" />
              <xs:element name="DestinationClassIDMask" type="xs:string" minOccurs="0" />
              <xs:element name="DestinationClassRowID" type="xs:string" minOccurs="0" />
              <xs:element name="DisplayOrder" type="xs:short" minOccurs="0" />
              <xs:element name="DistributionAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="DistributionPercent" type="xs:decimal" minOccurs="0" />
              <xs:element name="Custom1" type="xs:string" minOccurs="0" />
              <xs:element name="Custom2" type="xs:string" minOccurs="0" />
              <xs:element name="Custom3" type="xs:string" minOccurs="0" />
              <xs:element name="Custom4" type="xs:string" minOccurs="0" />
              <xs:element name="Custom5" type="xs:string" minOccurs="0" />
              <xs:element name="Custom6" type="xs:string" minOccurs="0" />
              <xs:element name="Custom7" type="xs:string" minOccurs="0" />
              <xs:element name="Custom8" type="xs:string" minOccurs="0" />
              <xs:element name="Custom9" type="xs:string" minOccurs="0" />
              <xs:element name="Custom10" type="xs:string" minOccurs="0" />
              <xs:element name="Action" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Header" />
      <xs:field xpath="mstns:RowID" />
    </xs:unique>
    <xs:unique name="Transaction_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Transaction" />
      <xs:field xpath="mstns:RowID" />
    </xs:unique>
  </xs:element>
</xs:schema>
