Re: else-comparequestion
Hi Joel, Please specify type as well for if-comnpare if you are comparing other then strings. {code} if-compare field=parameters.quantityOnHandVar operator=less value=0 type=BigDecimal !-- -- else /else /if-compare {code} Thanks Regards — Deepak Dixit On Oct 22, 2014, at 9:29 PM, joelfrad...@gmail.com wrote: Thank you. I will check it out. Also will see about the eclipse settings you mentioned. - Joel Fradkin -- View this message in context: http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240p4657245.html Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s Description: S/MIME cryptographic signature
else-comparequestion
I am trying to do some logic. if-compare field=parameters.quantityOnHandVar operator=less value=0 do something else-compare do something else /else-compare /if-compare My do something else is never called. I can do two if's ok, but wondered if I am doing something wrong when I want to do a else in minilang. - Joel Fradkin -- View this message in context: http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: else-comparequestion
Hi Joel try this in minilang : if-compare field=parameters.quantityOnHandVar operator=less value=0 !-- do -- else !-- do -- /else /if-compare If you're working with eclipse, it's best to configure your xml catalog, to have auto completion based on the xsd. Gil Le 22/10/2014 17:15, joelfrad...@gmail.com a écrit : I am trying to do some logic. if-compare field=parameters.quantityOnHandVar operator=less value=0 do something else-compare do something else /else-compare /if-compare My do something else is never called. I can do two if's ok, but wondered if I am doing something wrong when I want to do a else in minilang. - Joel Fradkin -- View this message in context: http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- www.nereide.fr Gil Portenseigne Consultant ERP OFBiz Société Néréide 3b Les isles 37270 Veretz Tel : 09 74 53 46 09, puis 1, poste 61 Mob : 06 82 740 444 www.nereide.fr http://www.nereide.fr Membre d'OFBiz France www.ofbiz-fr.org http://www.ofbiz-fr.org
Re: else-comparequestion
The way i use to set xml catalog in eclipse : File - Import Select XML - XML Catalog Then choose in the root of your ofbiz checkout the .xmlcatalog.xml file and validate. After that ctrl + space will guide you into your xml coding. Gil Le 22/10/2014 17:45, gil portenseigne a écrit : Hi Joel try this in minilang : if-compare field=parameters.quantityOnHandVar operator=less value=0 !-- do -- else !-- do -- /else /if-compare If you're working with eclipse, it's best to configure your xml catalog, to have auto completion based on the xsd. Gil Le 22/10/2014 17:15, joelfrad...@gmail.com a écrit : I am trying to do some logic. if-compare field=parameters.quantityOnHandVar operator=less value=0 do something else-compare do something else /else-compare /if-compare My do something else is never called. I can do two if's ok, but wondered if I am doing something wrong when I want to do a else in minilang. - Joel Fradkin -- View this message in context:http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240.html Sent from the OFBiz - User mailing list archive at Nabble.com. -- www.nereide.fr Gil Portenseigne Consultant ERP OFBiz Société Néréide 3b Les isles 37270 Veretz Tel : 09 74 53 46 09, puis 1, poste 61 Mob : 06 82 740 444 www.nereide.fr http://www.nereide.fr Membre d'OFBiz France www.ofbiz-fr.org http://www.ofbiz-fr.org -- www.nereide.fr Gil Portenseigne Consultant ERP OFBiz Société Néréide 3b Les isles 37270 Veretz Tel : 09 74 53 46 09, puis 1, poste 61 Mob : 06 82 740 444 www.nereide.fr http://www.nereide.fr Membre d'OFBiz France www.ofbiz-fr.org http://www.ofbiz-fr.org
Re: else-comparequestion
Thank you. I will check it out. Also will see about the eclipse settings you mentioned. - Joel Fradkin -- View this message in context: http://ofbiz.135035.n4.nabble.com/else-compare-question-tp4657240p4657245.html Sent from the OFBiz - User mailing list archive at Nabble.com.