Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting error in Groovy Script "java.lang.String cannot be cast to java.lang.Double"

Summary:

We have a custom algorithm for "Subscription Management and Account Receivables Integration".

Condition is


if (BillLines.BillLines1_Custom > 0 || BillLines.BillLines1_Custom > 0.00 || BillLines.BillLines1_Custom > "0" || BillLines.BillLines1_Custom > "0.00")if (BillLines.BillLines1_Custom > 0 || BillLines.BillLines1_Custom > 0.00 || BillLines.BillLines1_Custom > "0" || BillLines.BillLines1_Custom > "0.00")


In the log file we are getting error

interfaceSubscriptionBillLines : Excepion while Calling algorithmObject for requestId :3914680 :: SubscriptionNumber : AV-231005 billLineId : 100000198433915 : oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.apps.scm.pricing.priceExecution.algorithms.publicQuery.exception.ActionException, msg=Action 'onEachSubscription' not executed properly.

java.lang.String cannot be cast to java.lang.Double

Content (required):


Version (include the version you are using, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!