## ## OSSP asgui - Accounting system graphical user interface ## Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) ## Copyright (c) 2002-2004 Ralf S. Engelschall ## Copyright (c) 2002-2004 Michael Schloh von Bennewitz ## Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH ## ## This file is part of OSSP asgui, an accounting system graphical user ## interface which can be found at http://www.ossp.org/pkg/tool/asgui/. ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## as-events.pod: Plain old documentation file ## =pod =head1 NAME B - accounting system events document format =head1 DESCRIPTION The B application takes input from the user and may store its data to a file on the local filesystem. Among other functions, a user can enter time, amounts, remarks, and other values. This data tuple is termed an I, and may either be transmitted to a B server or stored to a local file. Should it be stored to a local file, the file name is arbitrary and is shown in the title bar of B. Typically, the file is called F. In most cases the postfix B<.as> is appended to the file name, although this behaviour can be turned on or off through the user preferences. =head1 FILE FORMAT The B file contains ASCII text. The first line consists of an identifier to associate the file type and version. Following text may contain white space, comments, and data tuples. =head1 GRAMMAR B ::= B B B ::= "%!AS-EVENTS-" [0-9] '.' [0-9] B ::= B | B | B | EMPTY B ::= B B B B B B B B B B B ::= ($#.*) (* user field *) B ::= [a-zA-Z][a-zA-Z0-9]+ (* uuid field *) B ::= B '-' B '-' B '-' B '-' B (* crc field *) B ::= B B ::= B | B B ::= B | B B ::= B | B | B | B B ::= B (* revision field *) B ::= [0-9] (* date field *) B ::= [0-9][0-9][0-9][0-9] '-' [01][0-9] '-' [0123][0-9] (* time fields *) B ::= B B ::= B B ::= B B ::= B ':' B B ::= B ':' B B ::= [01][0-9] B ::= B | 2[0-4] B ::= [0-5][0-9] (* account field *) B ::= B | B B ::= B B B ::= '/' B ::= [a-zA-Z0-9_-]* (* remark field *) B ::= '"' .* '"' =head1 EXAMPLE A typical B file might look like this: %!AS-EVENTS-0.6 harvey 0ccf1d42-743b-43df-9b5d-202451b3c26f e8f212b6 0 2002-09-30 00:00 00:00 02:00 /it/development/meeting/weekly "Code review" harvey 9c497382-ae88-4a1a-91b5-202451b3c26f c8637e9a 0 2002-09-30 00:00 00:00 00:30 /it/common/office/communication "Conference call" harvey e230eae7-367f-4c35-bee1-202451b3c26f 02cb1abb 0 2002-09-30 00:00 00:00 00:30 /sales/travel/customer "Simontech visit" =head1 SEE ALSO as-gui(1), as-gui.conf(5), as-accounts(5), =cut