When creating more than one new Contract Rate Card with some currency values under contracts( "ast_contract"), it is updating monthly cost and yearly cost automatically but the calculations are showing incorrect.

Steps to Reproduce

  • Hop to the affected instance.
  • Impersonate to "admin" and ensure his country code set to China/France/Germany(Anything other than what is being used in reference currency)
  • Go to "ast_contract.list" from navigation pane.
  • Search and Open any contract record(You can use any record, this is just an example).
  • Scroll down and find "Contract Rate Cards" Tab.
  • Click new and create new "Contract Rate Card" with below fields.

    =>Under General Tab(Provided below example information):
    * Start date: 2020-04-14
    * End date:2020-04-15
    * Interval : Monthly/Weekly/Annually
    * Uncheck sales Tax.
    * Base Cost : 10 $
    * Submit.

  • Now open the contract record and notice "Monthly Cost/Yearly Cost" which shows fine.
  • Repeat step 6 and submit another new Contract Rate Card.
  • Now open record the same contract record and notice "Monthly Cost/Yearly Cost", this time it shows incorrect.
  • When you add contract rate cards more than 1 then "Monthly Cost/Yearly Cost" does not perform calculation correctly and shows wrong value.


Related Problem: PRB1400659

Seen In

SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - Policy and Compliance - Madrid 2019 Q2

Intended Fix Version


Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-07-27 19:46:15