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
Gagan reddyGagan reddy 

help me for the following error..

User-added image
i created all the feilds and objects as per the given instruction but again it was showning the error
Best Answer chosen by Gagan reddy
Rain.Rain.
Hi

Can you please double-check that you have all the following fields on your Supplies object:

Field Name : Quantity 
Type : Number
Make sure it's a mandatory field!
Set the default value to be 2

Field Name : Unit Cost
Type : Currency
Lenght : 16
Decimal Places : 2
Make sure this also is a mandatory field!


Field Name : Total Cost
Type : Formula
Formula Type : Currency
Decimal Places : 2
Formula code : Quantity__c * Unit_Cost__c


Field Name : Battle Station
Type : Master-Detail Relationship

All Answers

Rain.Rain.
Hi

Can you please double-check that you have all the following fields on your Supplies object:

Field Name : Quantity 
Type : Number
Make sure it's a mandatory field!
Set the default value to be 2

Field Name : Unit Cost
Type : Currency
Lenght : 16
Decimal Places : 2
Make sure this also is a mandatory field!


Field Name : Total Cost
Type : Formula
Formula Type : Currency
Decimal Places : 2
Formula code : Quantity__c * Unit_Cost__c


Field Name : Battle Station
Type : Master-Detail Relationship
This was selected as the best answer
Gagan reddyGagan reddy
succesfully completed the project.. but i didn't get any conformation mail from salesforce.