rule "Rule1 trade"
        no-loop true
        when
                
$tsc:TradeSideContext(trade!=null,primarySide!=null,contraSide!=null)
                $trade:Trade($tradeDate:tradeDate, tradeSource == "O") from 
$tsc.trade
                $ps:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) 
from
$tsc.primarySide
                $cs:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) 
from
$tsc.contraSide
                $ft:FeeType(feeKeys[0] == DefaultFeeTypeComponent.RULE_1_SCH, 
feeKeys[1]
== null) from $tsc.baseFee

        then

                $ft.appendKeyValue(DefaultFeeTypeComponent.RULE_1_ELG);
                events.select(new
GenericBillingEvent(BillingEventType.BASE_FEE_EVENT)).fire($tsc);retract($tsc);
end

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999199.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to