{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":33425,"path":"it-service-management/procurement/r_BusinessRulesProcurement.md","title":"Business rules installed with Procurement","bundle":null,"doc_type":null,"release":"australia","body":"\n# Business rules installed with Procurement\n\nProcurement plugin adds the following business rules.\n\n<table id=\"table_zgd_3vv_dp\"><thead><tr><th>\n\nBusiness rule\n\n</th><th>\n\nTable\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nAdjust remaining quantity\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nCalculates the remaining quantity of items ordered on a purchase order line items by subtracting the amount received from the amount ordered.\n\n</td></tr><tr><td>\n\nCan request be sourced\n\n</td><td>\n\nRequest \\[sc\\_request\\]\n\n</td><td>\n\nChecks if a request can be sourced.\n\n</td></tr><tr><td>\n\nCancel Procurement Orders\n\n</td><td>\n\nRequest \\[sc\\_request\\]\n\n</td><td>\n\nCancels all unreceived purchase orders and unshipped transfer order lines associated with the request's items if the request state changes to **Closed Cancelled**.\n\n</td></tr><tr><td>\n\nCheck if req item is sourced\n\n</td><td>\n\nRequested Item \\[sc\\_req\\_item\\]\n\n</td><td>\n\nSets the **Sourced** field on the parent request to **true** if all requested items have been sourced.\n\n</td></tr><tr><td>\n\nCheck if request is sourceable\n\n</td><td>\n\nRequested Item \\[sc\\_req\\_item\\]\n\n</td><td>\n\nChecks if the request associated with a requested item can be sourced \\(obtained from a transfer order or by creating a purchase order to a vendor\\).\n\n</td></tr><tr><td>\n\nCreate Assets\n\n</td><td>\n\nReceiving Slip Line \\[proc\\_rec\\_slip\\_item\\]\n\n</td><td>\n\nIf the purchase order line item is available, creates the assets for a receiving slip line when the slip line assets are received.\n\n</td></tr><tr><td>\n\nHandle roll up states and assets removal\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nManages purchase order line items if they are canceled or received. If a purchase order line is canceled, this business rule deletes any pre-created assets. This business rule also checks the status of other purchase order lines that share the same purchase order and, if necessary, updates the status of the purchase order. For example, when the last purchase order line is received, the status of the purchase order changes to **Received**.\n\n</td></tr><tr><td>\n\nRedirect TOL to existing TO-Procurement\n\n</td><td>\n\nTransfer Order Line \\[alm\\_transfer\\_order\\_line\\]\n\n</td><td>\n\nAttaches a transfer order line to an existing transfer order if the transfer order is in the **Draft** stage and has the same **From stockroom** and **To stockroom** values as the transfer order line.\n\n</td></tr><tr><td>\n\nShipping Cost Changes\n\n</td><td>\n\nPurchase Order \\[proc\\_po\\]\n\n</td><td>\n\nRecalculates the total cost of the purchase order if the shipping rate changes.\n\n</td></tr><tr><td>\n\nState Change\n\n</td><td>\n\nTransfer Order Line \\[alm\\_transfer\\_order\\_line\\]\n\n</td><td>\n\nMarks the requested item as **Received** if the state of the associated transfer order line changes to **Received**.\n\n</td></tr><tr><td>\n\nState Change\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nSets the time at which the purchase order line item is ordered and updates the original requested item when the purchase order line item is received.\n\n</td></tr><tr><td>\n\nState Change PO\n\n</td><td>\n\nPurchase Order \\[proc\\_po\\]\n\n</td><td>\n\nChanges the purchase order line item status when the status of the associated purchase order changes.\n\n</td></tr><tr><td>\n\nTotal Cost\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nCalculates the total order cost based on the cost of individual items and the quantity ordered. When you receive a purchase order line item, this business rule also takes the following steps.-   Populates the **List price** field with the value from the **Cost** field unless you enter a different value.\n-   Calculates the **Total list price** field value by multiplying the **List price** and **Ordered quantity** values.\n\n</td></tr><tr><td>\n\nUpdate expected delivery date for PO\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nSets the **Expected delivery date** for purchase orders to the latest purchase order line **Expected delivery date**.\n\n</td></tr><tr><td>\n\nUpdate expected delivery date for POLs\n\n</td><td>\n\nPurchase Order \\[proc\\_po\\]\n\n</td><td>\n\nSets the **Expected delivery date** of associated purchase order lines to the purchase order's **Expected delivery date** if at least one of the following conditions is true.-   The purchase order line has no expected delivery date.\n-   The purchase order line's expected delivery date is later than the purchase order's expected delivery date.\n-   The purchase order line's expected delivery date is the same as the purchase order's previous delivery date.\n\n</td></tr><tr><td>\n\nUpdate Ordered Date\n\n</td><td>\n\nPurchase Order \\[proc\\_po\\]\n\n</td><td>\n\nSets the **Ordered date** field to the date and time at which the status of the purchase order is set to **Ordered**.\n\n</td></tr><tr><td>\n\nUpdate PO\n\n</td><td>\n\nPurchase order line items \\[proc\\_po\\_item\\]\n\n</td><td>\n\nUpdates the purchase order if the cost of any purchase order line item changes.\n\n</td></tr><tr><td>\n\nUpdate Purchase Order Line\n\n</td><td>\n\nReceiving Slip Line \\[proc\\_rec\\_slip\\_item\\]\n\n</td><td>\n\nUpdates the **Quantity received** field on the associated purchase order line item when a receiving slip item is received.\n\n</td></tr><tr><td>\n\nUpdate Request Item CI\n\n</td><td>\n\nHardware \\[alm\\_hardware\\]\n\n</td><td>\n\nSets the **Configuration item** field on the catalog task and requested item to the related hardware CI created during the procurement process.\n\n</td></tr></tbody>\n</table>**Parent Topic:**[Components installed with Procurement](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/procurement/r_InstalledWithProcurement.md)\n\n**Related topics**  \n\n\n[Business rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/api-reference/c_BusinessRules.md)\n\n"}}