{"id":398,"date":"2015-11-28T16:19:46","date_gmt":"2015-11-28T22:19:46","guid":{"rendered":"https:\/\/linux.asberry.org\/blog_tech\/?p=398"},"modified":"2024-05-14T09:14:28","modified_gmt":"2024-05-14T14:14:28","slug":"tcc-notlike","status":"publish","type":"post","link":"https:\/\/asberry.org\/blog_tech\/?p=398","title":{"rendered":"TCC &#8211; NotLike"},"content":{"rendered":"<p>So there are times when you want to use not like to eliminate some elements from a query. A prime example is one I&#8217;m looking at now, I&#8217;m trying to pull all the folks with an application to a list of requisitions to post them to new requisitions I&#8217;ve created, but a lot of them that I&#8217;m looking at have &#8216;Candidate Rejected New&#8217; or &#8216;Candidate Rejected Pre&#8217;.<br \/>\nIn oracle you can just use not like &#8216;%rejected%&#8217; but that&#8217;s not really an option with TCC, you can however use contains strait out of the box so it&#8217;s pretty easy to say contains &#8216;reject&#8217;, if you take this and use a not on either side, your using (does) not contain(s) and it looks a little something like this:<\/p>\n<pre class=\"brush: xml; light: false; title: ; toolbar: true; notranslate\" title=\"\">\r\n&lt;quer:filtering xmlns:quer=&quot;http:\/\/www.taleo.com\/ws\/integration\/query&quot;&gt;\r\n  &lt;quer:not&gt;\r\n  &lt;quer:containsIgnoreCase&gt;\r\n\t&lt;quer:field path=&quot;CSWLatestStatus,Mnemonic&quot;\/&gt;\r\n\t&lt;quer:string&gt;reject&lt;\/quer:string&gt;\r\n  &lt;\/quer:containsIgnoreCase&gt;\r\n  &lt;\/quer:not&gt;\r\n&lt;\/quer:filtering&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>So there are times when you want to use not like to eliminate some elements from a query. A prime example is one I&#8217;m looking at now, I&#8217;m trying to pull all the folks with an application to a list of requisitions to post them to new requisitions I&#8217;ve created, but a lot of them [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"TCC - NotLike","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[13],"tags":[],"class_list":["post-398","post","type-post","status-publish","format-standard","hentry","category-tcc","author-aron"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4bBkH-6q","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=398"}],"version-history":[{"count":1,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":400,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/398\/revisions\/400"}],"wp:attachment":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}