function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Thomas Banyai 6Thomas Banyai 6 

Automate Your Business Process > Build a Discount Calculator / Prepare Your Org / Step 3

I am working on step 3 of this challenge and have received the following error when using the formula: Amount * (1 - Discount_Percentage__c)

User-added image

Please advise.
Maharajan CMaharajan C
Hi Thomas,

You are trying to create the normal field and try to set the default value.

In thie scenario you have to create the formula field:

Setup -> Opportunity  -> fields -> new ->  Formula (Data type) -> enter label , Choose Currency as returun type -> then paste the formua in the big box as  Amount * (1 - Discount_Percentage__c) . 

Screenshots:

User-added image

User-added image

User-added image

Can you please Let me know if it works or not!!!

If it helps don't forget to mark this as a best answer!!!


Thanks,
​Raj
Thomas Banyai 6Thomas Banyai 6
Sorry for the delay in getting back to you!  Yes, your suggestion worked!   Thanks!
Maharajan CMaharajan C
Hi Thomas,

Please chosse the best answer which one helps to you!!! that provide the great achievement to my help!!!

Refer the below screenshot for how to mark the best answer!!!

User-added image

Thanks,
Raj