{"id":1833,"date":"2020-04-20T13:41:40","date_gmt":"2020-04-20T13:41:40","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/?p=1833"},"modified":"2024-11-29T07:02:29","modified_gmt":"2024-11-29T07:02:29","slug":"using-smart-rules","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/","title":{"rendered":"Make fields mandatory using Smart Rules"},"content":{"rendered":"\n<p>While working with different modules in <a aria-label=\"Sage (opens in a new tab)\" href=\"https:\/\/www.greytrix.com\/product\/professional-services\/sage-intacct-development-services\" target=\"_blank\" rel=\"noreferrer noopener\">Sage<\/a><a href=\"https:\/\/www.greytrix.com\/sage-intacct\/\" target=\"_blank\" rel=\"noreferrer noopener\"> Intacct<\/a>, we sometimes come across a scenario where we feel the need to mandate some fields, that the user might miss providing its information. Well, is it feasible for us to make any field in any module mandatory? <\/p>\n\n\n\n<p>Yes! Smart Rule is the solution provided by Sage Intacct for this purpose.<br>Smart Rules provide the facility for run-time validations. With Smart Rules, we can make certain that the rules or standards of our business processes are met. It evaluates simple expressions or formulae provided and generate warning or error messages. <\/p>\n\n\n\n<p>Let\u2019s take\nan example of description field from Bills in AP module. Description field is\nnot made required here by default, but it might happen that your company has a\nprocess where you print the memo on checks as a reference or whatsoever. In\nthis case, maybe you do not want users to forget filling information for that\nand so; you find the need to make it mandatory. <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Customization Services&nbsp;or&nbsp;Platform&nbsp;Services -&gt; Object customizations -&gt; Smart Rules -&gt; Add. <br> From the dropdown list, Choose Object on which you have to apply the rule. In this case, it is AP Bill. <br> <center><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\" target=\"_blank\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\" alt=\"Choose object\"><\/a><\/center><font size=\"2\"><center><i>Choose object<\/i><\/center><\/font><br><\/li>\n\n\n\n<li>Selecting properties.<br> &#8212; <strong>Select Message Type<\/strong>&#8211;<br>     Error : It does not let you save the record unless the rule condition is satisfied.<br>     Warning : It shows a warning message but lets you save the record asking you to redo the action of clicking Post.<br>&#8212; <strong>Select Events<\/strong> \u2013 Add, Edit, and Delete events are available. The selected events among these will trigger your rule condition to be checked.<br>&#8212; <strong>Condition \u2013 <\/strong>Write your expressions and formulae in here that are to be checked. It must evaluate to true or false. Field lookup can be used for using merge fields.<br>&#8212; <strong>Error Message<\/strong> \u2013 Message that is to be displayed.<br><br>Here we have chosen Add and Edit events and message type as Error.<br>                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/select-rule-properties-e1587390304882.png\" target=\"_blank\"><img decoding=\"async\" class=\"size-full\" style=\"border-width: 1px; border-style: solid; border-color: rgb(169, 169, 169); padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/select-rule-properties-e1587390304882.png\" alt=\"Select rule properties\"><\/a><font size=\"2\"><center><i>Select rule properties<\/i><\/center><\/font><br><\/li>\n\n\n\n<li> Provide the smart rule name and description if any.<br><center><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Select-deployment-options-e1587390333915.png\" target=\"_blank\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Select-deployment-options-e1587390333915.png\" alt=\"select deployment properties\"><\/a><\/center> <font size=\"2\"><center><i>Select deployment properties<\/i><\/center><\/font><\/li>\n<\/ol>\n\n\n\n<p>The above smart rule checks for the condition {!APBILL.DESCRIPTION!} != \u2018\u2019, i.e., Description field in Bill cannot be null\/empty. Now, let us see its execution. <br> Go to Accounts Payable -&gt; Bills -&gt; Add.<br> Enter the details keeping the description field blank and click Post.<\/p>\n\n\n<\/p>\n<p><center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Add-a-Bill-1.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Add-a-Bill-1.png\" alt=\"Add a Bill\"><\/a><\/center><center><i>Add a Bill<\/i><\/center><\/p>\n\n\n<p> Following error message will be shown, saying that the rule is violated and Description needs to be filled in.  <\/p>\n\n\n<\/p>\n<p><center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Error-Message.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/Error-Message.png\" alt=\"Error message\"><\/a><\/center><center><i>Error message<\/i><\/center><\/p>\n\n\n<p>This is how Smart Rules make our simple validations easy to apply. Smart Rules can be applied only on Standard objects. They ease out the way of checking accuracy of data by verifying the data for satisfying the provided conditions.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>While working with different modules in Sage Intacct, we sometimes come across a scenario where we feel the need to mandate some fields, that the user might miss providing its information. Well, is it feasible for us to make any field in any module mandatory? Yes! Smart Rule is the solution provided by Sage Intacct\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[191,34,23,208,192,209,210],"class_list":["post-1833","post","type-post","status-publish","format-standard","hentry","category-sage-intacct","tag-customization-service","tag-sage-intacct","tag-sage-intacct-customization","tag-smart-rules","tag-standard-object-customization","tag-validate-entries","tag-validations"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Make fields required by utilizing Smart Rules.<\/title>\n<meta name=\"description\" content=\"Learn more about making fields obligatory with Smart Rules.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Make fields required by utilizing Smart Rules.\" \/>\n<meta property=\"og:description\" content=\"Learn more about making fields obligatory with Smart Rules.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage Intacct \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-20T13:41:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-29T07:02:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\" \/>\n<meta name=\"author\" content=\"Greytrix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Greytrix\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\",\"name\":\"Make fields required by utilizing Smart Rules.\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\",\"datePublished\":\"2020-04-20T13:41:40+00:00\",\"dateModified\":\"2024-11-29T07:02:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/e108e7d0e2204e7a4b30748b516741c8\"},\"description\":\"Learn more about making fields obligatory with Smart Rules.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\",\"contentUrl\":\"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Make fields mandatory using Smart Rules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/\",\"name\":\"Sage Intacct \u2013 Tips, Tricks and Components\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/e108e7d0e2204e7a4b30748b516741c8\",\"name\":\"Greytrix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"Greytrix\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sageintacct\/author\/sageintacct\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Make fields required by utilizing Smart Rules.","description":"Learn more about making fields obligatory with Smart Rules.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/","og_locale":"en_US","og_type":"article","og_title":"Make fields required by utilizing Smart Rules.","og_description":"Learn more about making fields obligatory with Smart Rules.","og_url":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/","og_site_name":"Sage Intacct \u2013 Tips, Tricks and Components","article_published_time":"2020-04-20T13:41:40+00:00","article_modified_time":"2024-11-29T07:02:29+00:00","og_image":[{"url":"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png","type":"","width":"","height":""}],"author":"Greytrix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Greytrix","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/","url":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/","name":"Make fields required by utilizing Smart Rules.","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage"},"thumbnailUrl":"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png","datePublished":"2020-04-20T13:41:40+00:00","dateModified":"2024-11-29T07:02:29+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/e108e7d0e2204e7a4b30748b516741c8"},"description":"Learn more about making fields obligatory with Smart Rules.","breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#primaryimage","url":"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png","contentUrl":"https:\/\/www.greytrix.com\/blogs\/sagebusinesscloud\/wp-content\/uploads\/2020\/04\/choose-object-e1587390348835.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/2020\/04\/20\/using-smart-rules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/"},{"@type":"ListItem","position":2,"name":"Make fields mandatory using Smart Rules"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/","name":"Sage Intacct \u2013 Tips, Tricks and Components","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/e108e7d0e2204e7a4b30748b516741c8","name":"Greytrix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"Greytrix"},"url":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/author\/sageintacct\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/posts\/1833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/comments?post=1833"}],"version-history":[{"count":4,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/posts\/1833\/revisions"}],"predecessor-version":[{"id":7037,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/posts\/1833\/revisions\/7037"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/media?parent=1833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/categories?post=1833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sageintacct\/wp-json\/wp\/v2\/tags?post=1833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}