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
Arun Chaubey 6Arun Chaubey 6 

Setup Custom Metadata Type for VAT Tax

Helle everyone,

I am not able to pass this trailhead challange. - Setup Custom Metadata Type for VAT Tax​
  • Call your custom metadata type VAT Data.
  • VAT Data has a text field called Country Name with length 10.
  • VAT Data has a percent field called VAT Rate with default values.
  • For the VAT Data record label, use the country name.
  • Japan has a 10% VAT.
  • Germany has a 19% VAT
Here the challange itself is not clear. 
I created a metadata type with name VAT Data.
and created two custom fields Country Name and VAT Rate.
I entered records for  VAT Data with value Japan as country name and 10 as vat rate but after this how to again add germany country name and 19 as vat rate. My question is how to add both records in same metadata type? 
Best Answer chosen by Arun Chaubey 6
SandhyaSandhya (Salesforce Developers) 
Hi,

If you go to Set Up --- Build --- Develop --- Custom Metadata Types -- Manage Records You can add your records there.

Please refer below screenshots.


User-added image


User-added image

User-added image

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya

 

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

If you go to Set Up --- Build --- Develop --- Custom Metadata Types -- Manage Records You can add your records there.

Please refer below screenshots.


User-added image


User-added image

User-added image

Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
 
Thanks and Regards
Sandhya

 
This was selected as the best answer
Jess BurghJess Burgh
I'm still getting the same error message Could not find VAT Data records for Germany and Japan with the correct percentages. Please double check the challenge requirements. I'm not sure what I'm doing wrong. Any help would be appreciated!!
SandhyaSandhya (Salesforce Developers) 
Hi,

Please refer above screenshots and make sure that you have created
VAT_Rate__c custom field with percentage as datatype and records with correct percentages.
Japan has a 10% VAT.
Germany has a 19% VAT.

Please post your screenshots so that I can help you further.

Thanks and Regards
Sandhya
Jess BurghJess Burgh
Hi Sandhya your screen shots were very helpful. I finally got the badge! Thanks!!
 
Ed WomackEd Womack
I ran into this same error and it turned out that I had spelled "VAT Rate" as "Vat Rate" - I capitalized VAT and Trailhead accepted it.