Unable to enter negative allocation in periods ('Number must not be negative.')
search cancel

Unable to enter negative allocation in periods ('Number must not be negative.')

book

Article ID: 271937

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Unable to update TSV (Allocation) from Staff tab in project or staffing 

Steps to Reproduce: 

  1. Login to mux and navigate to Project 
  2. Ensure to add Staff module in Project Blueprint
  3. Navigate to staff and create a per period metric
  4. Now on the per period metric add a negative value on the allocation 

Expected Results: Clarity should accept negative allocation values 

Actual Results: Number must not be negative is shown 

Prior to 16.1.x MUX allowed negative values to be entered 

Environment

Release : 16.1.1, 16.1.2, 16.1.3

Resolution

Negative allocations can be enabled by following these steps:

On-Premise Customers:

  • Stop all the Clarity services 
  • Run the following admin commands to enable Negative Allocations.

    admin system-options -delete ALLOW_NEGATIVE_ALLOC
    admin system-options -add ALLOW_NEGATIVE_ALLOC 1

    admin system-options -delete ATTR_VALIDATION_OVERRIDES_TEAM
    admin system-options -add ATTR_VALIDATION_OVERRIDES_TEAM prallocdefault.minValue.-99999999 -multi
    admin system-options -add ATTR_VALIDATION_OVERRIDES_TEAM prallocsum.minValue.-9999999999 -multi
    admin system-options -add ATTR_VALIDATION_OVERRIDES_TEAM hard_sum.minValue.-9999999999 -multi

SaaS Customers:

  • Please open a new case with Support.