Yarken Help Centre

Cost Pool rules

Ways to add Cost Pool rules

YäRKEN supports three flexible ways to create allocation rules:

  1. Add mapping file – Upload rules using a template.

  2. Copy mapping from another month – Reuse existing rules.

  3. Map manually – Create rules directly in the application.

Mapping strategy

Adding rules using a mapping file

Uploading a mapping file is the fastest way to create or update a large number of rules. This strategy involves a process of uploading a mapping file. You can use the Cost Pool Rules template available in the Data Dictionary.

Fields used in adding Cost Pool rules using mapping file

Mandatory fields

  • Priority - Defines the execution order of the rule, for example, 1, 2, or 3.

  • Filter - Specifies the criteria used to execute the rule. This field must be provided in JSON format and defines the conditions under which the rule applies. For more information on how to define filter condition in JSON, refer Understanding JSON fields used across mapping rules.

  • Cost Pool - Specifies the Cost Pool to which the rule applies and where spend is allocated.

  • Sub Cost Pool - Specifies the Sub Cost Pool within the selected Cost Pool.

Prerequisites

Before uploading, ensure your file includes values in the mandatory columns:

  • Priority

  • Filter

  • Cost Pool

  • Sub Cost Pool

Procedure

  1. Select the target month tile.

Make sure you are in the correct fiscal year by checking the year filter on the top-left.

  1. Click the ellipsis (…) menu and choose Add Rules.

  2. Select Add mapping file.

  3. Browse or drag and drop the template file.

  4. Review the data and click NEXT.

Note: If you have aligned to the template headers or loaded your data into the template, you should see “All required fields have been automapped successfully.

  1. Choose FINISH to complete the upload, or Edit Mapping to review and adjust field mappings.

After uploading the file, you can check the file status, loaded records, mapped fields, and other details under the UPLOADED FILES tab.

Copying rules from another month

If allocation logic is consistent across months, you can copy rules instead of recreating them.

When copying rules from another month, the existing rules will be deleted and new rules will be added as a full rule set.

To copy,

  1. Select a month you want to allocate the spend and click ellipsis (…) menu.

  2. Select Add Rules.

  3. Choose Copy mapping from another month.

image-20250304-070310.png
  1. On the Copy Cost Pool Mapping popup, select the source year-month and click COPY MAPPING.

image-20250304-070914.png

The rules from the selected month are replicated for the target month.

Mapping spend manually

The manual mapping involves assigning spend directly from Accounts, Cost Centers, Vendors, or any attribute to the appropriate cost pool without relying on file uploads. You can use manual mapping when you find any unmapped cost that does not fit into the predefined rules.

You can choose from predefined strategies or define custom conditions:

  • Map by Account, Expense Type

  • Map by Account, Expense Type & Cost Center

  • Map by Account, Expense Type, Cost Center & Vendor

  • Map by Vendor

  • Map by Any Attribute

Procedure

To map manually,

  1. Select a month you want to allocate the spend and click ellipsis (…) menu.

  2. Select Add Rules.

  3. Choose Map manually. A list of predefined strategies appears.

image-20250304-085128.png
  1. Select a strategy that you wish to use:

Strategy Name

Based on

Map by Account, Expense Type

Account Code + Account Name + Expense Type

Map by Account, Expense Type & Cost Center

Account Code + Account Name + Expense Type + Cost Center Code + Cost Center Name

Map by Account, Expense Type, Cost Center & Vendor

Account Code + Account Name + Expense Type + Cost Center Code + Cost Center Name + Vendor Code + Vendor Name

Map by Vendor

Vendor Code + Vendor Name

Map by Any Attribute

Conditions that you set while adding rule.

  1. Depending on your selection, follow the below steps:

    1. For predefined strategies: Select the one or more rows that you wish to allocate by clicking the checkbox next to each one. 

      image-20250305-071254.png

      You can see the allocated amount and other columns. You may use the search box or add filters to refine the items. The General Ledger Transaction can be checked by clicking on row. You can switch between different strategies by clicking on the dropdown arrow at the upper-right corner.

      1. Upon selecting row(s), a small wizard opens to the right for allocating the selected amount to the cost pool.

        image-20250305-071450.png
      2. Select the cost pool from the list and click SAVE RULES. A Rules Saved Successfully message appears.

    2. For Any Attribute strategy:

      1. Click + ADD RULE from the mapping screen.

        image-20250305-073023.png

        A Conditions for Cost Pool popup opens.

      2. On the popup, select the table and specify other conditions.

        image-20250305-073230.png
      3. (Optional) Click + ADD CONDITION to add new table.

      4. Click SAVE. A small wizard opens to the right for allocating the selected amount to the cost pool.

        image-20250305-073354.png
      5. Select the cost pool from the list and click SAVE RULES.

A Rules Saved Successfully message appears and application redirects you to the UNALLOCATED SPEND tab, where you can continue this procedure until you fully allocate all of your spend.


Related content

Cost Pools

Manage Cost Pool rules