Hello,I start the alfresco and try to learn sth. and got such problem I have aspect and child association to this apsect for example:
<types>
<type name="my:Costs">
<title>Costs</title>
<properties>
<property name="my:sellPrice">
<type>d:double</type>
</property>
<property name="my:sellQuantity">
<type>d:int</type>
</property>
<property name="my:sellCost">
<type>d:double</type>
</property>
</properties>
</type>
</types>
<aspect name="my:Invoice">
<properties>
<property name="my:invoiceNumber">
<type>d:text</type>
</property>
<property name="my:invoiceCompany">
<type>d:text</type>
</property>
<property name="my:invoiceDate">
<type>d:date</type>
</property>
<property name="my:invoiceComment">
<type>d:text</type>
</property>
</properties>
<associations>
<child-association name="my:invoiceElements">
<target>
<class>my:Costs</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</child-association>
</associations>
</aspect>
and i need to get sellCost = sellPrice*sellQuantity can someone can write how to do this? Because i dont have any idea how to do this. Please help me