<?xml version="1.0" standalone="yes"?>
<xs:schema id="JournalDataSet" targetNamespace="http://xml.objacct.com/Journal.xsd" xmlns:mstns="http://xml.objacct.com/Journal.xsd" xmlns="http://xml.objacct.com/Journal.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:element name="JournalDataSet" 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="BatchNbr" type="xs:string" minOccurs="0" />
              <xs:element name="BeginningBalance" type="xs:int" minOccurs="0" />
              <xs:element name="Commitment" type="xs:short" 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="DocAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="DocAmountCurrency" type="xs:decimal" 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="Encumbrance" type="xs:short" minOccurs="0" />
              <xs:element name="EnteredDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="JobRowID" type="xs:string" minOccurs="0" />
              <xs:element name="JournalDocTypeRowID" type="xs:string" minOccurs="0" />
              <xs:element name="ReasonCodeRowID" type="xs:string" minOccurs="0" />
              <xs:element name="ReferenceNbr" type="xs:string" minOccurs="0" />
              <xs:element name="Reverse" type="xs:short" minOccurs="0" />
              <xs:element name="ReverseDocRowID" type="xs:string" minOccurs="0" />
              <xs:element name="ScheduleRowID" 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="AccountRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AddressRowID" type="xs:string" minOccurs="0" />
              <xs:element name="AssetRowID" type="xs:string" minOccurs="0" />
              <xs:element name="BankFeeRowID" type="xs:string" minOccurs="0" />
              <xs:element name="Billable" type="xs:short" minOccurs="0" />
              <xs:element name="BudgetControlOverridePassword" type="xs:string" minOccurs="0" />
              <xs:element name="ClassRowID" type="xs:string" minOccurs="0" />
              <xs:element name="Cleared" type="xs:short" minOccurs="0" />
              <xs:element name="CreditAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="CreditAmountCurrency" 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="CustomerRolePolicyRowID" type="xs:string" minOccurs="0" />
              <xs:element name="DebitAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="DebitAmountCurrency" type="xs:decimal" minOccurs="0" />
              <xs:element name="Description" type="xs:string" minOccurs="0" />
              <xs:element name="DescriptionLine" type="xs:short" 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="OriginalTransaction" type="xs:short" minOccurs="0" />
              <xs:element name="Quantity" type="xs:decimal" minOccurs="0" />
              <xs:element name="ReferenceAmount" type="xs:decimal" minOccurs="0" />
              <xs:element name="ReferenceAmountCurrency" 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>
