rary View). These definitions should be placed in mylib or some library other than stdlib.  If you have any problems with the following definitions, you can load in the supplied mylib and use it, it contains all of the following definitions.</p>

<p>We can set up a rule to calculate the total price on each line item:</p>

<pre>
<b>Rule_total_price</b>
function()
   {
   return Number(.qty) * Number(.price)
   }</pre>

<p>Now we can define the report for the invoice in Library View:</p>

<pre>
<b>My_Invoice_