{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":24869,"path":"it-asset-management/contract-management/r_BusinessRulesIWContractMgmt.md","title":"Business rules installed with Contract Management","bundle":null,"doc_type":null,"release":"australia","body":"\n# Business rules installed with Contract Management\n\nBusiness rules are added with Contract Management.\n\n<table id=\"table_hmk_t3f_4r\"><thead><tr><th>\n\nName\n\n</th><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nCalculate projected costs \\(Reports\\)\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nCalculates the projected monthly and annual costs for a contract when costs or payment schedule changes.\n\n</td></tr><tr><td>\n\nCalculate totals with tax\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nCalculates the **Tax cost** and **Total cost** fields for a contract when the contract is created or updated.\n\n</td></tr><tr><td>\n\nContract history\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nStores history when the start, end, or terms and conditions of a contract change.\n\n</td></tr><tr><td>\n\nCreate approval record\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nUpdates contract **Terms and Conditions** and starts the contract approval workflow when a contract is sent for review.\n\n</td></tr><tr><td>\n\nFlag terms and conditions\n\n</td><td>\n\nTerms and Conditions \\[clm\\_m2m\\_contract\\_and\\_terms\\]\n\n</td><td>\n\nSets the **Use** flag on a Terms and Conditions record to **true** after the record is associated with a contract or to **false** after the record is disassociated from a contract.\n\n</td></tr><tr><td>\n\nActivate count for manual licenses\n\n</td><td>\n\nSoftware License Instance \\[ast\\_license\\_software\\_instance\\]\n\n</td><td>\n\nCalculates and updates the number of computers a particular license is installed on when a software license instance is created or deleted.\n\n</td></tr><tr><td>\n\nManage contract lifecycle\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nThis business rule: -   Updates the end date of a contract when a contract extension has been approved.\n-   Renews the contract, updating its start date, end date, and base cost \\(if cost adjustments must be applied\\) when a contract renewal has been approved and the renewal has reached its start date.\n-   Runs the condition checks to evaluate if dates need to be changed when a contract is approved, or an extension or renewal is approved, or the start or end dates have changed.\n\n</td></tr><tr><td>\n\nPost outage to news\n\n</td><td>\n\nService \\[cmdb\\_ci\\_service\\]\n\n</td><td>\n\nPosts a news article on the knowledge table when there is an outage.\n\n</td></tr><tr><td>\n\nUpdate contract cost per asset\n\n</td><td>\n\nAsset Covered \\[clm\\_m2m\\_contract\\_asset\\]\n\n</td><td>\n\nUpdates the cost per unit value based on the total cost and number of assets associated to the contract.\n\n</td></tr><tr><td>\n\nUpdate contract lifetime cost\n\n</td><td>\n\nContract Rate Card \\[fm\\_contract\\_rate\\_card\\]\n\n</td><td>\n\nCalculates the lifetime cost of the contract by calculating the sum of the contract expense lines.\n\n</td></tr><tr><td>\n\nUpdates after contract dates change\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nUpdates the **Date added** and **Date removed** fields for all assets and users associated with a contract if the contract end date changes.\n\n</td></tr><tr><td>\n\nUpdates after rate card dates change\n\n</td><td>\n\nContract Rate Card \\[fm\\_contract\\_rate\\_card\\]\n\n</td><td>\n\nUpdates the related contract assets and users linked to the rate card when the end date is changed.\n\n</td></tr><tr><td>\n\nVerify contract’s start and end dates\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nValidates contract start and end dates and contract renewal start and end dates.\n\n</td></tr><tr><td>\n\nVerify purchase agreement discount price\n\n</td><td>\n\nContract \\[ast\\_contract\\]\n\n</td><td>\n\nFor contracts with the contract model **Purchase Agreement**, the business rule validates that the **Discount** field does not contain a value less than zero or greater than 99.\n\n</td></tr></tbody>\n</table>**Parent Topic:**[Components installed with Contract Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-asset-management/contract-management/r_ComponentsInstalledWContractMgmt.md)\n\n"}}