what if i have multuple combinations
say i have a database
ItemId CustomerId Price
1 10 20
1 11 30
a java class
public class Item
{
int ItemId;
int CustomerId;
int Price;
//
//geter and seter
//and a function to find price
}
i want to write
when
ItemId=$iyemid and CustomerId=$cid
then
Apply Specialprice
1as you say here i have multiple combinations in field
2 and what i think from your post i can store only one combination as a
class instance in WM
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Modifying-in-built-ru...
Sent from the Drools - User mailing list archive at
Nabble.com.