<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25" zv="Cache for Windows (x86-64) 2011.1.2 (Build 701U)" ts="2011-12-06 08:27:00">
<Project name="DBBebu">
  <Items>
    <ProjectItem name="DBBebu.SD.Ertragsart" type="CLS"></ProjectItem>
    <ProjectItem name="DBBebu.SD.Kostenstelle" type="CLS"></ProjectItem>
  </Items>
</Project>


<Class name="DBBebu.SD.Ertragsart">
<Description>
</Description>
<Super>%Persistent,%XML.Adaptor,DBCore.MandantRel</Super>
<TimeChanged>62416,57260.601427</TimeChanged>
<TimeCreated>61100,52192.979034</TimeCreated>
<Inheritance>right</Inheritance>

<Parameter name="XMLIGNOREINVALIDATTRIBUTE">
<Description><![CDATA[
Controls how to handle attributes that are unexpected.
-> If this parameter is 1 (the default), such attributes are ignored.
-> If it is 0, they are treated as errors, and import fails.]]></Description>
<Default>1</Default>
</Parameter>

<Parameter name="XMLIGNOREINVALIDTAG">
<Description><![CDATA[
Controls how to handle tags that are unexpected. 
-> If this parameter is 1, such tags are ignored. 
-> If it is 0 (the default), they are treated as errors, and import fails.]]></Description>
<Default>1</Default>
</Parameter>

<Parameter name="XMLIGNORENULL">
<Default>1</Default>
</Parameter>

<Property name="IdForExport">
<Type>%XML.Id</Type>
<Private>1</Private>
<Transient>1</Transient>
<Parameter name="XMLNAME" value="ID"/>
<Parameter name="XMLPROJECTION" value="ATTRIBUTE"/>
</Property>

<Property name="ErtragsartNr">
<Description>
Positions-Nummer</Description>
<Type>%Integer</Type>
<Required>1</Required>
</Property>

<Index name="ErtragsartNrIndex">
<Properties>Mandant,ErtragsartNr</Properties>
<Unique>1</Unique>
</Index>

<Property name="Typ">
<Description>
Bebu-Konto</Description>
<Type>%Integer</Type>
</Property>

<Property name="Druckart">
<Description>
Jahr</Description>
<Type>%Integer</Type>
</Property>

<Property name="Soll">
<Description>
Zeilencode</Description>
<Type>%Boolean</Type>
</Property>

<Property name="Text">
<Description>
Bezeichung</Description>
<Type>%String</Type>
<Parameter name="MAXLEN" value="255"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="Mengeneinheit">
<Type>%String</Type>
<Parameter name="MAXLEN" value="255"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="Bemerkung">
<Type>%String</Type>
<Parameter name="MAXLEN" value="4096"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="KontoJahrBebuErtragsart">
<Type>DBFibu.KontoJahr</Type>
<Cardinality>many</Cardinality>
<Inverse>BebuErtragsart</Inverse>
<Relationship>1</Relationship>
<Parameter name="XMLPROJECTION" value="NONE"/>
</Property>

<Property name="Mandant">
<Type>%String</Type>
</Property>

<ForeignKey name="FKMandant">
<Properties>Mandant</Properties>
<ReferencedClass>DBCore.Mandant</ReferencedClass>
<ReferencedKey>MandIdIndex</ReferencedKey>
</ForeignKey>

<Index name="MandantIdx">
<Properties>Mandant</Properties>
</Index>

<Method name="GetIdByErtragsartNr">
<ClassMethod>1</ClassMethod>
<FormalSpec>MandantOid:%String,ErtragsartNr:%Integer</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	
	set id = ""
	&sql(SELECT ID INTO :id FROM DBBebu_SD.Ertragsart WHERE Mandant = :MandantOid
	     AND ErtragsartNr = :ErtragsartNr)
	Quit id
]]></Implementation>
</Method>

<Storage name="Default">
<Type>%Library.CacheStorage</Type>
<DataLocation>^DBBebu.SD.ErtragsartD</DataLocation>
<DefaultData>ErtragsartDefaultData</DefaultData>
<IdLocation>^DBBebu.SD.ErtragsartD</IdLocation>
<IndexLocation>^DBBebu.SD.ErtragsartI</IndexLocation>
<StreamLocation>^DBBebu.SD.ErtragsartS</StreamLocation>
<Data name="ErtragsartDefaultData">
<Structure>listnode</Structure>
<Subscript/>
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>ErtragsartNr</Value>
</Value>
<Value name="3">
<Value>Typ</Value>
</Value>
<Value name="4">
<Value>Druckart</Value>
</Value>
<Value name="5">
<Value>Soll</Value>
</Value>
<Value name="6">
<Value>Text</Value>
</Value>
<Value name="7">
<Value>Mengeneinheit</Value>
</Value>
<Value name="8">
<Value>Bemerkung</Value>
</Value>
<Value name="9">
<Value>Mandant</Value>
</Value>
</Data>
<Property name="Bemerkung"/>
<Property name="Druckart"/>
<Property name="ErtragsartNr"/>
<Property name="Mandant"/>
<Property name="Mengeneinheit"/>
<Property name="Soll"/>
<Property name="Text"/>
<Property name="Typ"/>
</Storage>
</Class>


<Class name="DBBebu.SD.Kostenstelle">
<Description>
</Description>
<Super>%Persistent,%XML.Adaptor,DBCore.MandantRel</Super>
<TimeChanged>62416,57260.745257</TimeChanged>
<TimeCreated>61100,52161.698977</TimeCreated>
<Inheritance>right</Inheritance>

<Parameter name="XMLIGNOREINVALIDATTRIBUTE">
<Description><![CDATA[
Controls how to handle attributes that are unexpected.
-> If this parameter is 1 (the default), such attributes are ignored.
-> If it is 0, they are treated as errors, and import fails.]]></Description>
<Default>1</Default>
</Parameter>

<Parameter name="XMLIGNOREINVALIDTAG">
<Description><![CDATA[
Controls how to handle tags that are unexpected. 
-> If this parameter is 1, such tags are ignored. 
-> If it is 0 (the default), they are treated as errors, and import fails.]]></Description>
<Default>1</Default>
</Parameter>

<Parameter name="XMLIGNORENULL">
<Default>1</Default>
</Parameter>

<Property name="IdForExport">
<Type>%XML.Id</Type>
<Private>1</Private>
<Transient>1</Transient>
<Parameter name="XMLNAME" value="ID"/>
<Parameter name="XMLPROJECTION" value="ATTRIBUTE"/>
</Property>

<Property name="KostenstellenNr">
<Description>
Positions-Nummer</Description>
<Type>%Integer</Type>
<Required>1</Required>
</Property>

<Index name="KostenstellenNrIndex">
<Properties>Mandant,KostenstellenNr</Properties>
<Unique>1</Unique>
</Index>

<Property name="Typ">
<Description>
Bebu-Konto</Description>
<Type>%Integer</Type>
</Property>

<Property name="Druckart">
<Description>
Jahr</Description>
<Type>%Integer</Type>
</Property>

<Property name="Text">
<Description>
Bezeichung</Description>
<Type>%String</Type>
<Parameter name="MAXLEN" value="255"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="Anzahl">
<Type>%Decimal</Type>
<Parameter name="SCALE" value="5"/>
</Property>

<Property name="Mengeneinheit">
<Type>%String</Type>
<Parameter name="MAXLEN" value="255"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="FATReferenz">
<Description>
Datum</Description>
<Type>%Integer</Type>
</Property>

<Property name="Bemerkung">
<Type>%String</Type>
<Parameter name="MAXLEN" value="4096"/>
<Parameter name="TRUNCATE" value="1"/>
</Property>

<Property name="KontoJahrBebuKostenstelle">
<Type>DBFibu.KontoJahr</Type>
<Cardinality>many</Cardinality>
<Inverse>BebuKostenstelle</Inverse>
<Relationship>1</Relationship>
<Parameter name="XMLPROJECTION" value="NONE"/>
</Property>

<Property name="Mandant">
<Type>%String</Type>
</Property>

<ForeignKey name="FKMandant">
<Properties>Mandant</Properties>
<ReferencedClass>DBCore.Mandant</ReferencedClass>
<ReferencedKey>MandIdIndex</ReferencedKey>
</ForeignKey>

<Index name="MandantIdx">
<Properties>Mandant</Properties>
</Index>

<Method name="GetIdByKostenstellenNr">
<ClassMethod>1</ClassMethod>
<FormalSpec>MandantOid:%String,KostenstellenNr:%Integer</FormalSpec>
<ReturnType>%String</ReturnType>
<Implementation><![CDATA[
	
	set id = ""
	&sql(SELECT ID INTO :id FROM DBBebu_SD.Kostenstelle WHERE Mandant = :MandantOid
	     AND KostenstellenNr = :KostenstellenNr)
	Quit id
]]></Implementation>
</Method>

<Storage name="Default">
<Type>%Library.CacheStorage</Type>
<DataLocation>^DBBebu.SD.KostenstelleD</DataLocation>
<DefaultData>KostenstelleDefaultData</DefaultData>
<IdLocation>^DBBebu.SD.KostenstelleD</IdLocation>
<IndexLocation>^DBBebu.SD.KostenstelleI</IndexLocation>
<StreamLocation>^DBBebu.SD.KostenstelleS</StreamLocation>
<Data name="KostenstelleDefaultData">
<Structure>listnode</Structure>
<Subscript/>
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>KostenstellenNr</Value>
</Value>
<Value name="3">
<Value>Typ</Value>
</Value>
<Value name="4">
<Value>Druckart</Value>
</Value>
<Value name="5">
<Value>Text</Value>
</Value>
<Value name="6">
<Value>Anzahl</Value>
</Value>
<Value name="7">
<Value>Mengeneinheit</Value>
</Value>
<Value name="8">
<Value>FATReferenz</Value>
</Value>
<Value name="9">
<Value>Bemerkung</Value>
</Value>
<Value name="10">
<Value>Mandant</Value>
</Value>
</Data>
<Property name="Anzahl"/>
<Property name="Bemerkung"/>
<Property name="Druckart"/>
<Property name="FATReferenz"/>
<Property name="KostenstellenNr"/>
<Property name="Mandant"/>
<Property name="Mengeneinheit"/>
<Property name="Text"/>
<Property name="Typ"/>
</Storage>
</Class>
</Export>
