src-wad/.classpath
author Víctor Martínez Romanos <victor.martinez@openbravo.com>
Thu, 07 May 2015 12:11:39 +0200
changeset 26684 2311966afd7b
parent 24401 5e4ddc5f2219
child 27258 5b46dbdfcf19
permissions -rw-r--r--
Fixed bug 29809: Impossible to create several calendars for the same organization

Two pieces of code were affected by this bug:
PeriodEventHandler.java: EntityPersistenceEventObserver in charge of checking overlap in manual inserts/updates (or any java process) in c_period table
C_YEARPERIODS: db function associated to the create periods process inside the Fiscal Calendar | Year tab. It also verifies the periods don't overlap other periods.

The fix consists in checking that there is no date overlap per calendar. Before this fix the calendar wasn't taken into account, so it was not possible to define several calendars for the same organization with the same periods.
carlos@0
     1
<?xml version="1.0" encoding="UTF-8"?>
carlos@0
     2
<classpath>
carlos@0
     3
	<classpathentry kind="src" path="src"/>
carlos@0
     4
	<classpathentry kind="src" path="build/javasqlc/src"/>
carlos@0
     5
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
carlos@0
     6
	<classpathentry combineaccessrules="false" kind="src" path="/OpenbravoCore"/>
ivan@1738
     7
	<classpathentry kind="lib" path="/openbravo/lib/runtime/xercesImpl.jar"/>
asier@4012
     8
	<classpathentry kind="lib" path="/openbravo/lib/runtime/ojdbc6.jar"/>
stefan@11873
     9
	<classpathentry kind="lib" path="/openbravo/lib/runtime/postgresql-9.0-801.jdbc4.jar"/>
stefan@11873
    10
	<classpathentry kind="lib" path="/openbravo/lib/runtime/log4j-1.2.16.jar"/>
stefan@11873
    11
	<classpathentry kind="lib" path="/openbravo/lib/runtime/commons-collections-3.2.1.jar"/>
stefan@11883
    12
	<classpathentry kind="lib" path="/openbravo/lib/build/servlet-api.jar"/>
augusto@24401
    13
	<classpathentry kind="lib" path="/openbravo/lib/runtime/ant-1.9.2.jar"/>
carlos@0
    14
	<classpathentry kind="output" path="build/classes"/>
carlos@0
    15
</classpath>