Example: Enabling Cost Items in a Business Object
4 min
this example shows how to enable the cost item field within a business object, so that users can access it from the configuration console, click build > business object to open the business objects workspace open the business object to which to add the cost item field create the relationship (see using relationships docid\ szcp qyw98hbg7iwleeu2 ) by doing the following a from the relationships tab, add a relationship to frs itfm transaction (if one does not already exist) b set the parameters as shown frs itfm transaction parameters to add the tab to the workspace, do the following a click layouts b select the form to use click formview the form view editor appears near the bottom of the page, click add child panel add the information for cost item sample cost item child panel settings field value display name cost item object frs itfm transaction relationships servicereqassocfrs itfm transaction display list list frs itfm transaction defaultgrid forms frs itfm transaction manualentryform placement tab click save to define the rollup cost relationships (see data rollups docid\ tk6tr1ik9ook mbtedsu5 ), do the following a click frs itfm transaction from the list b set the following in the formview child panel relationship editor see about tracking cost relationships in a service request docid\ h3pjincqoq7alcfgjldbq display name rollup chain task cost item servicereq > task > frs itfm transaction parameter cost item servicereq > servicereqparam > frs itm transaction parameter link cost item servicereq > servicereqparam > servicereqparamlink > frs itfm transaction sample form view child panel rollups check show summary screen for transactions to add the cost summary panel sample cost summary panel click edit summary settings to define what appears in the cost summary panel sample transaction summary settings click save about tracking cost relationships in a service request each service request has a task and a servicereqparam attached, each having their own cost items the servicereqparam has attached to it servicereqparamlink, which has its own cost item and the service request itself has a cost item the following diagram illustrates the relationship given in the above example cost relationship
