Hi All , <br><br>I am sure there must be a silly mistake but i am not able to find out , please help me as what is wrong in below rule<br><br>package Test<br>import com.abc.api.document.Document<br>import com.abc.api.line.LineItem<br>
<br>rule &quot;split line item&quot;<br>when<br>    $item  : LineItem( grossAmount &gt; 1000 ) <br>then<br>    modify( $item ) { grossAmount=500 };<br>   <br>end<br><br><br>11:35:23,318 ERROR [] Rule Compilation error : [Rule name=&#39;split line item&#39;]<br>
        Test/Rule_split_line_item_0.java (7:565) : <b>The field LineItem.grossAmount is not visible</b><br><br><br><br>Thanks,<br>Ashish<br>