Skip to main content

Celonis Product Documentation

Editing views for the object-centric Shipped Not Invoiced app

The Shipped Not Invoiced app comes with a prebuilt set of views. Edit the app’s views in Studio if you need to:

  • Make any customizations and changes to suit your business process.

  • Change the look of the supplied views.

  • Include custom attributes or relationships that you added to the Celonis object types used in the perspective_celonis_OrderManagement perspective.

The app doesn’t do anything automatically with customizations to Celonis object types - they won’t be surfaced in views. If you want to use them, you’ll need to edit the app’s views to include them. You don’t have to surface all (or any) of your custom attributes and relationships in the app’s views. If you don’t, it doesn’t cause a problem, the app just ignores them.

These views for the Shipped Not Invoiced app are directly accessible to users, and the base views and embedded views are available for editing through them:

  • Action View - this is the main view that business users can use for their daily tasks. 

  • User Guide - this is an onboarding view for business users to explore the app’s functions interactively.

  • Validation and Value Assessment - this is a quickstart view for setup where you can validate the business logic and make a value assessment for this use case. The parameters you set in this view are automatically changed in Settings and reflected in the Action View.

  • Settings - this is a view where you can manage the values of runtime variables.

You’ll need Analyst permissions for Studio and for the relevant views and components to modify them. If you need training, check out the training track “Build Knowledge Models and Views” on the Celonis Academy.

Here’s how to edit the Shipped Not Invoiced app’s views:

  1. In the Celonis navigation menu, select Studio.

  2. Find the Shipped Not Invoiced app in your Studio space navigation.

  3. Expand the package’s structure using the arrow, then expand the folders to find and select the view you want to edit.

    Tip

    • Base views contain the common components for multiple other views. When you change something in the base view, it changes everywhere that view is used. Other views can reuse part or all of the base views, adding, editing, or removing components. This is called extending the base views.

    • Embedded views are contained in other views. They can be used directly in a base view and embedded in each other.

    • Profile views contain details or lists for a particular item. These views open when the user selects an item.

  4. In the view, click Edit Mode or press Ctrl + Shift + E to enter edit mode.

  5. Click the Edit Component button on any component to go to the component editor. Here you can add and remove data fields shown in a table or chart, change sorting and display attributes, add action buttons, and other edits, as relevant for the component type.

  6. When you’ve finished editing a component, click Save to save and exit.

  7. When you’ve finished editing all the components you want to, click Save to save the view, then click Exit Edit Mode to lock it again.

    Tip

    It’s also possible to edit views in the YAML editor if there’s something you can’t achieve in the visual editor. Click the Switch to Code Editor icon </> to view the YAML.

  8. When you’ve finished editing all the views you want to, publish a version of the app package. There's a Publish Package button at the top of all the screens in your Studio space.

Background colors for net order values

The Shipped Not Invoiced app uses different shades of gray as the background for orders depending on the net order value. The custom object CO_DISPLAYRULE_ORDERITEM_NET_ORDER_VALUE in the Knowledge Model is the display rule that sets up the background colors and text colors. In this custom object, the thresholds for changing color are preset to 100000, 10000, 1000, 100, and 0 units of your display currency.

You can’t edit this display rule in the Marketplace download of the app. If you want to change the thresholds, background colors, or text colors, you can copy and rename the custom object and edit your copy, then replace the original display rule with your custom version. Here’s how:

  1. In the Celonis navigation menu, select Studio.

  2. Find the Shipped Not Invoiced app in your Studio space navigation.

  3. Expand the package’s structure using the arrow.

  4. Go to the Knowledge Models folder and select “Knowledge Model - Shipped Not Invoiced”.

  5. In the visual editor, click the Switch to YAML icon </> to view the YAML for the Knowledge Model.

    shippednotinvoiced_switchtoyaml.png
  6. Click inside the YAML editor to access the editor’s own search function (instead of your browser search, which won’t work), then press Ctrl + F and search for the custom object CO_DISPLAYRULE_ORDERITEM_NET_ORDER_VALUE.

    shippednotinvoiced_ctrlf.png
  7. Copy the whole of the custom object, then click Edit Mode.

    shippednotinvoiced_cocopy_bgcolor.png
  8. Paste the custom object into the customObjects section of the YAML. Change the ID to something different - here we’ve used CO_DISPLAYRULE_ORDERITEM_NET_ORDER_VALUE_CUSTOM.

    shippednotinvoiced_copaste_bgcolor.png
  9. Now you can change the thresholds, background colors, or text colors. You can add more custom attributes if you want more granular thresholds. Click Save and Exit Edit Mode to finish, then click the palette icon to switch back to the visual editor.

    shippednotinvoiced_yamleditor.png
  10. In each of the tables where a display rule for net value is used, apply your new custom object instead of the preset custom object. Click the Edit Component button on the table to go to the component editor, then find the value setting in the table settings (here it’s “Delivery item value”). Specify your new custom object for the styling rule, and click Save.

    shippednotinvoiced_coreplace_bgcolor.png