<?xml version="1.0" standalone="yes"?>
<xs:schema id="BudgetDataSet" targetNamespace="http://xml.objacct.com/Budget.xsd" xmlns:mstns="http://xml.objacct.com/Budget.xsd" xmlns="http://xml.objacct.com/Budget.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:element name="BudgetDataSet" 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="AuditNbr" type="xs:int" minOccurs="0" />
              <xs:element name="BaseCurrencyRowID" type="xs:string" minOccurs="0" />
              <xs:element name="BudgetAdjustment" type="xs:short" minOccurs="0" />
              <xs:element name="BudgetMethod" type="xs:string" minOccurs="0" />
              <xs:element name="BudgetPeriod" type="xs:string" minOccurs="0" />
              <xs:element name="BudgetTypeRowID" type="xs:string" minOccurs="0" />
              <xs:element name="CurrencyRowID" type="xs:string" minOccurs="0" />
              <xs:element name="CurrencyRateRowID" type="xs:string" minOccurs="0" />
              <xs:element name="CurrencyRateTypeRowID" 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:element name="Description" type="xs:string" minOccurs="0" />
              <xs:element name="DocDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DocGroupID" type="xs:string" minOccurs="0" />
              <xs:element name="DocID" type="xs:string" minOccurs="0" />
              <xs:element name="EffectiveDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EnteredDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="FiscalYear" type="xs:string" minOccurs="0" />
              <xs:element name="JournalDocTypeRowID" type="xs:string" minOccurs="0" />
              <xs:element name="ReferenceNbr" type="xs:string" minOccurs="0" />
              <xs:element name="ReverseDocRowID" type="xs:string" minOccurs="0" />
              <xs:element name="RoleID" type="xs:string" minOccurs="0" />
              <xs:element name="RolePolicyRowID" type="xs:string" minOccurs="0" />
              <xs:element name="Status" type="xs:string" minOccurs="0" />
              <xs:element name="ReverseDocTypeRowID" 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="JournalDocRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AccountCategoryRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AccountRowID" type="xs:string" minOccurs="0" />
              <xs:element name="BudgetFromDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="BudgetToDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ClassRowID" 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="Description" type="xs:string" minOccurs="0" />
              <xs:element name="DisplayOrder" type="xs:short" minOccurs="0" />
              <xs:element name="JobRowID" type="xs:string" minOccurs="0" />
              <xs:element name="JobTaskRowID" type="xs:string" minOccurs="0" />
              <xs:element name="Quantity" type="xs:decimal" minOccurs="0" />
              <xs:element name="TransactionAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="TransactionAmountCurrency" type="xs:decimal" minOccurs="0" />
              <xs:element name="UnitRate" type="xs:decimal" minOccurs="0" />
              <xs:element name="UnitRateCurrency" type="xs:decimal" minOccurs="0" />
              <xs:element name="UnitRowID" type="xs:string" minOccurs="0" />
              <xs:element name="XRefJournalTranRowID" 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>
