- Berechtigungen Filter für WaWi berechtigungen

- Suche nach Beträgen bei Rechnungen
- Diverse DB Indizes hinzugefügt
This commit is contained in:
Andreas Österreicher
2011-01-13 15:24:23 +00:00
parent 78c6d4e88d
commit d90ea5406a
8 changed files with 215 additions and 40 deletions
+166 -28
View File
@@ -37007,7 +37007,7 @@
<Left>4217</Left>
<z>0</z>
<Width>919</Width>
<Height>629</Height>
<Height>668</Height>
<dz>0</dz>
<RecalculateSizes>1</RecalculateSizes>
<UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes>
@@ -37046,7 +37046,7 @@
<Left>4246</Left>
<z>0</z>
<Width>800</Width>
<Height>239</Height>
<Height>278</Height>
<dz>0</dz>
<RecalculateSizes>1</RecalculateSizes>
<UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes>
@@ -37196,7 +37196,7 @@
<Left>3100</Left>
<z>0</z>
<Width>1003</Width>
<Height>434</Height>
<Height>473</Height>
<dz>0</dz>
<RecalculateSizes>1</RecalculateSizes>
<UseWorkSpaceRecalculateSizes>1</UseWorkSpaceRecalculateSizes>
@@ -38325,8 +38325,8 @@
<WorkSpaceShape2>
<Id>{DB59DF18-64A7-4185-8765-7238517341C0}</Id>
</WorkSpaceShape2>
<NamePositionX>3924</NamePositionX>
<NamePositionY>2126</NamePositionY>
<NamePositionX>4093</NamePositionX>
<NamePositionY>1954</NamePositionY>
<Points>
<Point>
<x>3863</x>
@@ -38337,12 +38337,12 @@
<y>1699</y>
</Point>
<Point>
<x>4186</x>
<y>2674</y>
<x>4523</x>
<y>2329</y>
</Point>
<Point>
<x>4217</x>
<y>2674</y>
<x>4523</x>
<y>2360</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -38369,15 +38369,15 @@
<Id>{239C6766-B0BC-4E1F-9833-C49206AF8D54}</Id>
</WorkSpaceShape2>
<NamePositionX>4561</NamePositionX>
<NamePositionY>2982</NamePositionY>
<NamePositionY>3002</NamePositionY>
<Points>
<Point>
<x>4676</x>
<y>2989</y>
<y>3028</y>
</Point>
<Point>
<x>4676</x>
<y>3020</y>
<y>3059</y>
</Point>
<Point>
<x>4646</x>
@@ -38627,7 +38627,7 @@
<Id>{D8AD2B3F-B9E4-412E-992F-3B4D116FDEE1}</Id>
</WorkSpaceShape2>
<NamePositionX>3556</NamePositionX>
<NamePositionY>2143</NamePositionY>
<NamePositionY>2163</NamePositionY>
<Points>
<Point>
<x>3710</x>
@@ -38639,11 +38639,11 @@
</Point>
<Point>
<x>3602</x>
<y>2180</y>
<y>2219</y>
</Point>
<Point>
<x>3602</x>
<y>2149</y>
<y>2188</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -38713,7 +38713,7 @@
<Id>{D8AD2B3F-B9E4-412E-992F-3B4D116FDEE1}</Id>
</WorkSpaceShape2>
<NamePositionX>2556</NamePositionX>
<NamePositionY>2075</NamePositionY>
<NamePositionY>2085</NamePositionY>
<Points>
<Point>
<x>2213</x>
@@ -38725,11 +38725,11 @@
</Point>
<Point>
<x>3069</x>
<y>1932</y>
<y>1952</y>
</Point>
<Point>
<x>3100</x>
<y>1932</y>
<y>1952</y>
</Point>
</Points>
</WorkSpaceLinePERRelationPG83>
@@ -38927,7 +38927,7 @@
<WorkSpaceShape2>
<Id>{DB59DF18-64A7-4185-8765-7238517341C0}</Id>
</WorkSpaceShape2>
<NamePositionX>4575</NamePositionX>
<NamePositionX>4652</NamePositionX>
<NamePositionY>2274</NamePositionY>
<Points>
<Point>
@@ -38939,11 +38939,11 @@
<y>2338</y>
</Point>
<Point>
<x>4676</x>
<x>4830</x>
<y>2329</y>
</Point>
<Point>
<x>4676</x>
<x>4830</x>
<y>2360</y>
</Point>
</Points>
@@ -39470,7 +39470,7 @@
<Company>Technikum Wien</Company>
<Version>2.0</Version>
<CreatedDate>2009-04-17T10:15:21.000+01:00</CreatedDate>
<ModifiedDate>2011-01-13T14:53:41.009+01:00</ModifiedDate>
<ModifiedDate>2011-01-13T16:17:12.811+01:00</ModifiedDate>
<Project>FH-Complete 2.0</Project>
<Description></Description>
</ModelTitlePG83>
@@ -120767,7 +120767,9 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<Id>{361EF147-269D-4247-8F7C-5A3876A3999A}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
<IndexItems>
<Id>{B0F1339C-4114-49D4-B1E0-A8AB7F440B73}</Id>
</IndexItems>
<Default/>
<CheckConstraints/>
<KeyConstraint/>
@@ -121399,7 +121401,51 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<PK>
<Id>{DD9F6AF0-89BF-4661-A8D3-25CE08CAF4C6}</Id>
</PK>
<Indexes/>
<Indexes>
<PERIndexPG83 ObjectType="2012" CSAOName="PERIndexPG83">
<Id>{1BCA1CDB-2819-471E-88A5-FFFF08906598}</Id>
<Name>idx_rechnung_bestellung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{93108A24-2EFC-45CB-BCC7-49C4395976D1}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<RNOffset>0</RNOffset>
<RNLength>0</RNLength>
<IgnoreNC>0</IgnoreNC>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<Unique>0</Unique>
<Caption>idx_rechnung_bestellung_id</Caption>
<Expression></Expression>
<GenerateExpression>0</GenerateExpression>
<IndexItems>
<PERIndexItemPG83 ObjectType="2013" CSAOName="PERIndexItemPG83">
<Id>{B0F1339C-4114-49D4-B1E0-A8AB7F440B73}</Id>
<Name>bestellung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{EA299E46-F894-477F-9CEB-A09B5430D8C4}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<SortDescending>0</SortDescending>
<Attribute>
<Id>{5E44A366-2737-4674-8302-5F8A794AD729}</Id>
</Attribute>
<ForeignKeys/>
</PERIndexItemPG83>
</IndexItems>
<Relations/>
<IxAccess>btree</IxAccess>
<Predicate></Predicate>
<Tablespace/>
<FillFactor></FillFactor>
</PERIndexPG83>
</Indexes>
<CheckConstraints/>
<Category/>
<Triggers/>
@@ -121519,7 +121565,9 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<Id>{361EF147-269D-4247-8F7C-5A3876A3999A}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
<IndexItems>
<Id>{56563C11-4C9F-4423-BB9D-F4E7F7C551FB}</Id>
</IndexItems>
<Default/>
<CheckConstraints/>
<KeyConstraint/>
@@ -121735,7 +121783,51 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<PK>
<Id>{CD5E4018-85B1-4061-BADD-67493B8CE8E4}</Id>
</PK>
<Indexes/>
<Indexes>
<PERIndexPG83 ObjectType="2012" CSAOName="PERIndexPG83">
<Id>{06AD72FE-5391-49B3-9D9E-92F82AA66D2D}</Id>
<Name>idx_rechnungsbetrag_rechnung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{5BA2E7AF-9319-40F2-AC7F-BB073D253E67}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<RNOffset>0</RNOffset>
<RNLength>0</RNLength>
<IgnoreNC>0</IgnoreNC>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<Unique>0</Unique>
<Caption>idx_rechnungsbetrag_rechnung_id</Caption>
<Expression></Expression>
<GenerateExpression>0</GenerateExpression>
<IndexItems>
<PERIndexItemPG83 ObjectType="2013" CSAOName="PERIndexItemPG83">
<Id>{56563C11-4C9F-4423-BB9D-F4E7F7C551FB}</Id>
<Name>rechung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{3BD3099D-A38C-480F-8D2D-92F3388DD263}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<SortDescending>0</SortDescending>
<Attribute>
<Id>{146C883E-4FAF-4E82-BC7B-A60B7023AD1A}</Id>
</Attribute>
<ForeignKeys/>
</PERIndexItemPG83>
</IndexItems>
<Relations/>
<IxAccess>btree</IxAccess>
<Predicate></Predicate>
<Tablespace/>
<FillFactor></FillFactor>
</PERIndexPG83>
</Indexes>
<CheckConstraints/>
<Category/>
<Triggers/>
@@ -123045,7 +123137,9 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<Id>{361EF147-269D-4247-8F7C-5A3876A3999A}</Id>
</DataType>
<UserDataType/>
<IndexItems/>
<IndexItems>
<Id>{D71D59EB-1A82-4C67-ACBC-B94A5392E410}</Id>
</IndexItems>
<Default/>
<CheckConstraints/>
<KeyConstraint/>
@@ -123472,7 +123566,51 @@ Wenn FALSE haengt die Anzahl der Fragen pro Level von der Gesamtzahl pro Level a
<PK>
<Id>{D01B7DC4-282E-4510-9E9E-531CA4209D11}</Id>
</PK>
<Indexes/>
<Indexes>
<PERIndexPG83 ObjectType="2012" CSAOName="PERIndexPG83">
<Id>{87E3C0E1-8865-43A0-86CF-FC149A09B883}</Id>
<Name>idx_bestellung_bestellstatus_bestellung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{0314237B-BE68-415D-BF31-674D7B9C3C58}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<RNOffset>0</RNOffset>
<RNLength>0</RNLength>
<IgnoreNC>0</IgnoreNC>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<Unique>0</Unique>
<Caption>idx_bestellung_bestellstatus_bestellung_id</Caption>
<Expression></Expression>
<GenerateExpression>0</GenerateExpression>
<IndexItems>
<PERIndexItemPG83 ObjectType="2013" CSAOName="PERIndexItemPG83">
<Id>{D71D59EB-1A82-4C67-ACBC-B94A5392E410}</Id>
<Name>bestellung_id</Name>
<Ordinal>0</Ordinal>
<HistoryID>{2589FAF8-6D30-4B3F-92B5-7971A290A047}</HistoryID>
<GlobalOrder>0</GlobalOrder>
<GenerateCode>1</GenerateCode>
<BeforeScript></BeforeScript>
<AfterScript></AfterScript>
<Notes></Notes>
<Comments></Comments>
<SortDescending>0</SortDescending>
<Attribute>
<Id>{E23734E4-2CFD-48F7-9031-C62103022DF8}</Id>
</Attribute>
<ForeignKeys/>
</PERIndexItemPG83>
</IndexItems>
<Relations/>
<IxAccess>btree</IxAccess>
<Predicate></Predicate>
<Tablespace/>
<FillFactor></FillFactor>
</PERIndexPG83>
</Indexes>
<CheckConstraints/>
<Category/>
<Triggers/>
+3
View File
@@ -1603,6 +1603,9 @@ if(!@$db->db_query('SELECT * FROM wawi.tbl_konto LIMIT 1'))
CREATE INDEX idx_bestelldetail_bestellung_id ON wawi.tbl_bestelldetail (bestellung_id);
CREATE INDEX idx_bestellung_kostenstelle_id ON wawi.tbl_bestellung (kostenstelle_id);
CREATE INDEX idx_bestellung_freigegeben ON wawi.tbl_bestellung (freigegeben);
CREATE INDEX idx_rechnungsbetrag_rechnung_id ON wawi.tbl_rechnungsbetrag (rechnung_id);
CREATE INDEX idx_rechnung_bestellung_id ON tbl_rechnung (bestellung_id)
CREATE INDEX idx_bestellung_bestellstatus_bestellung_id ON tbl_bestellung_bestellstatus (bestellung_id)
INSERT INTO wawi.tbl_rechnungstyp(rechnungstyp_kurzbz, beschreibung) VALUES('Zahlung','Zahlung');
INSERT INTO wawi.tbl_rechnungstyp(rechnungstyp_kurzbz, beschreibung) VALUES('Gutschrift','Gutschrift');