arapXML
Home  XML Schema OMG submission Use Cases Discussion  Requirements Research About arapXML
arapXML documentation: top

<GLTransactionSet> 
  
<ledgerDate>   (arapXML:DateTime) date-time information about this GLTransactionSet or the ledger this GLTransactionSet is a member of.  See qualifier. If qualifier is empty, this dateTime is that point in time when this GLTransactionSet is a valid member of the ledger identified in the <ledger> element, i.e. at which this instance was copied from or generated by the source ledger. 

     <date> (string) date "yyyy-mm-dd" pertaining to this GLTransactionSet. See qualifier.  
     <time>
(string) a point in time "hh:mm:ss" pertaining to this GLTransactionSet. See qualifier
     <qualifier>
(string) adjective or descriptor expressing the meaning of this dateTime. 
     <timeZone>
(string) hours +(-) UTC (GMT) for example, NY is -05:00 


General documentation of the arapXML:DateTime type:

The arapXML:dateTime type is used in every element of arapXML requiring a date. This object is a subset of XML Schema dateTime parser, in which only one element "yyyy-mm-ss" is required, and fewer options are allowed, to protect the usability of this vocabulary by devices and lightweight applications.  A reasonable degree of interoperability with XML Schema (http://www.w3.org/TR/xmlschema-2/ ) dateTime is preserved, as follows: 

For example, to indicate 1:20 pm on May the 31st, 1999 for Eastern Standard Time which is 5 hours behind Coordinated Universal Time (UTC), one would write: 1999-05-31T13:20:00-05:00.

General ledger entries require a large variety of date and timestamps.  The qualifier element within the dateTime structure can carry any qualifier required by participants in e-business.  For examples, see the 33 datetime qualifiers used in the OAGIS specification, or the 697 datetime qualifiers in the EDIFACT 2005 segment. 

The default set of valid qualifiers in ArapXML are as follows (preliminary discussion draft): creation, execution, posting, due, payment, received, sent, shipped... 

  

 dateTime elements, and general usage of the elements: 

Usage as child of ledger element:
1. date 

A date, in "yyyy-mm-dd" format.



date "yyyy-mm-dd" pertaining to this GLTransactionSet. See qualifier.
2. time 

A time, in "hh:mm:ss" format.
a point in time, "hh:mm:ss" pertaining to this GLTransactionSet. See qualifier.
3. qualifier

adjective or descriptor expressing the meaning of this dateTime.
Identifies how this point in time pertains to the   GLTransactionSet.  If qualifier is empty, this dateTime is that point in time when this GLTransactionSet is a valid member of the ledger identified in the <ledger> element, i.e. at which this instance was copied from or generated by the source ledger. 
4. timeZone 

hours +(-) UTC (GMT) for example, NY is -05:00
hours +(-) UTC (GMT) for example, NY is -05:00

Footnote; GLTransactionSet portion of arapXML v. .087

<xsd:element name="GLTransactionSet">
 <xsd:complexType>
  <xsd:sequence>
    <xsd:element name="ledger" type="IdType" minOccurs="0"/>
    <xsd:element name="ledgerDate" type="DateTime" minOccurs="0"/>
    <xsd:element name="batchDoc" type="DocRef" minOccurs="0"/>
    <xsd:element name="controlTotal" type="GLAccount" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="GLtransaction" type="GLTransaction" maxOccurs="unbounded"/>
  </xsd:sequence>
 </xsd:complexType>
</xsd:element>