locked
Negaive target in Goals? RRS feed

  • Question

  • Hello

    I am trying to set up goals with negative targets (money). I've changed the valid range of fields in the Goal entity to valid range including negative values.

    But when I try to enter a negative value in Target, I am getting an error.

    First a dialog box:

    Decimal value out of range. A validation error occured. A decimal value provided is outside of the alolowed values.

    In the error details, the error is expressed as:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: A validation error occurred.  The value of 'computedtargetasoftodaymoney' on record of type 'goal' is outside the valid range.
      <ErrorCode>-2147204304</ErrorCode>

    When examine this field, it has a minimum value of zero. All other currency fields has minvalue from -99....., event 'computedtargetasoftodaymoney_base'.

    Any ideas what the problem is and a solution?

    Br

    Thomas Svensson, Stockhom

    Thursday, November 7, 2013 8:02 AM