edits.seer.internal.rules.CS_Version_Input_Current.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="CS_Version_Input_Current" name="CS Version Input Current (CS)" tag="N1212" java-path="lines.line" category="field"> <expression><![CDATA[if (line.csVersionInputCurrent == null) return true if (line.csVersionInputCurrent <= Functions.getCsVersion()) { Integer version = Functions.asInt(line.csVersionInputCurrent) return ['020550','020540','020530','020520','020510'].contains(line.csVersionInputCurrent) || version > 20550 } return false]]></expression> <message>CS Version Input Current.</message> <description><![CDATA[Must be a six-digit number or blank. If not blank, the full six-digit number must be one of the following numbers: 020550 or higher (see next paragraph) 020540 020530 020520 020510 CS Version Input Current must be less than or equal to the CS version that is returned from a function call to the CS DLL]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2010-01-11">Edit created.</event> <event version="SE12-002-01" user="murphyr" date="2010-04-29">Added newest dll version (0202).</event> <event version="SE12-002-01" user="murphyr" date="2010-05-26">Edit now only checks first two digits.</event> <event version="SE12-004-01" user="murphyr" date="2011-01-24">Added that CS Version Input Current must be less than or equal to the CS version that is returned from a function call to the CS DLL.</event> <event version="SE14-011-01" user="murphyr" date="2013-10-25" ref="67026">Updated for 0205</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy