<!--
** OAGISĀ® Revision: 9.0 **
** Date: 08 April 2005 **
** Copyright 1998-2005, All Rights Reserved **
This is an OAGISĀ® BOD XML Schema (XSD) Definition.
License information for this file is provided in the file **2005 OAGi License Agreement.txt** that is provided with this download package.
For support, more information, or to report implementation bugs, please contact the Open Applications Group at xml@openapplications.org.
XML Schema
Name: \OAGIS\9.0\Resources\Nouns\JournalEntry.xsd
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.openapplications.org/oagis/9" targetNamespace="http://www.openapplications.org/oagis/9" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:include schemaLocation="../Components/Financial/Components.xsd"/>
<xsd:element name="JournalEntry" type="JournalEntryType"/>
<xsd:element name="JournalEntryHeader" type="JournalEntryHeaderType"/>
<xsd:element name="JournalEntryLine" type="JournalEntryLineType"/>
<xsd:complexType name="JournalEntryType">
<xsd:annotation>
<xsd:documentation source="http://www.openapplications.org/oagis/9">A journal represents a change in the balances of a business's financial accounts. Many tasks or transactions throughout an enterprise will result in the creation of a journal. Some examples are creating a customer invoice, paying a vendor, transferring inventory, or paying employees. A journal consists of a header with general information, and two or more lines specifying what accounts will be affected. A journal typically includes balanced debit and credit lines.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="JournalEntryHeader" minOccurs="0"/>
<xsd:element ref="JournalEntryLine" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="JournalEntryHeaderType">
<xsd:annotation>
<xsd:documentation>In the Header, DocumentReferences is the link that ties back to a sub ledger transaction entry ID. It is the identifier of an original transaction or document. For example, it could be the receipt or the summarized inventory activity. This is the element that refers to an audit record. Together with the Sender information, the DocumentReferences is part of the referencing system, which will enable drill back audit trail functionality.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="LedgerEntryHeaderType">
<xsd:sequence>
<xsd:element ref="UserArea" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="JournalEntryLineType">
<xsd:complexContent>
<xsd:extension base="LedgerEntryLineType">
<xsd:sequence>
<xsd:element ref="UserArea" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
|