[rules-users] error while inserting values in excel

Kripa Nathwani Kripa.Nathwani at lntinfotech.com
Fri Aug 20 03:35:34 EDT 2010


Hi,

The foll is the java file which I tried to run as a stand alone application:

package com.sample;

public class AmountPojo {
     public static int basic;
     public static double pf;
     public static double hra;
    public static int getBasic() {
        return basic;
    }
    public static void setBasic(int basic) {
        AmountPojo.basic = basic;
    }
    public static double getPf() {
        return pf;
    }
    public static void setPf(double pf) {
        AmountPojo.pf = pf;
    }
    public static double getHra() {
        return hra;
    }
    public static void setHra(double hra) {
        AmountPojo.hra = hra;
    }

}

Let me know if you still require any further information.

Regards,
Kripa
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of tom ska
Sent: Friday, August 20, 2010 12:42 PM
To: Rules Users List
Subject: Re: [rules-users] error while inserting values in excel

Ok, please write me AmountPojo class code, and - if You can - those rules in DRL, I will try to write You rules in DT.

regards,
tom
2010/8/20 Kripa Nathwani <Kripa.Nathwani at lntinfotech.com<mailto:Kripa.Nathwani at lntinfotech.com>>
Hi,

Below is the decision table on which I am working. It is calculating PF and HRA by taking basic value and checking that basic is not equal to null.
The problem is when I start inserting values in the column it is giving me following error messages:

 no viable alternative at input ')' in rule "Pricing bracket_12" in pattern AmountPojo
 mismatched input '!=' expecting ')' in rule "Pricing bracket_12" in pattern AmountPojo
Unknown error while parsing. This is a bug. Please contact the Development team



I know it is related to syntax but I am not able to solve  it.




[cid:image001.png at 01CB4066.391D8970]


Best Regards,
Kripa



________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org<mailto:rules-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users


______________________________________________________________________

________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100820/fc0b1cc2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8448 bytes
Desc: image001.png
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20100820/fc0b1cc2/attachment.png 


More information about the rules-users mailing list