Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B Commerce Administrator Topic 4 Question 67 Discussion

Actual exam question for Salesforce's B2B Commerce Administrator exam
Question #: 67
Topic #: 4
[All B2B Commerce Administrator Questions]

An Administrator has a customer that will go live without an external tax provider until some complex regional requirements are solidified. They will start using a flat tax on a per country and per region basis in the meantime.

The customer has provided the data in a CSV file with three columns: country, region, taxRate.

Which two actions should the Administrator take to use the tax data?

Show Suggested Answer Hide Answer
Suggested Answer: A, C

To use a sophisticated pricing engine hosted as a service outside the org, the developer must take the following actions:

Make a call to the service. The developer must use an Apex class or a Lightning web component to make a callout to the external service using the appropriate protocol, method, headers, parameters, and body. The developer must also handle the response from the service and parse the data as needed. The developer must ensure that the external service is added to the Remote Site Settings in Salesforce to allow the callout.

Implement the sfdc_checkout.PriceCalculations interface. The developer must implement this interface in an Apex class to override the default pricing logic of B2B Commerce and use the custom pricing logic from the external service. The developer must implement the methods of this interface, such as calculateCartPrice, calculateLineItemPrice, calculateShippingPrice, and so on. The developer must also register the custom pricing class in CC Admin under Storefront > Pricing > Pricing Engine.Reference:

Callouts from Lightning Web Components

Create a Custom Pricing Engine


Contribute your Thoughts:

Lai
14 days ago
Haha, Kristeen is right. That tax setup sounds like a real headache. But hey, at least the admin doesn't have to build a custom object. B and C for the win!
upvoted 0 times
Dean
2 days ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Kristeen
22 days ago
I'm with Sheron and Gussie - B and C are the way to go. Although I have to say, a flat tax per country and region? That sounds like a tax accountant's nightmare!
upvoted 0 times
Matilda
1 days ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Marion
23 days ago
I'm not sure about that. Maybe creating a custom object would give us more flexibility in the long run.
upvoted 0 times
...
Gussie
24 days ago
Definitely B and C. Modifying the tax code directly seems risky, and creating a custom object is probably overkill for this use case.
upvoted 0 times
...
Sheron
27 days ago
B and C seem like the most straightforward options here. I'd go with those to get the tax data loaded quickly.
upvoted 0 times
Justine
2 days ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Clare
27 days ago
I agree with Cherri. It seems like the most efficient way to handle the tax data.
upvoted 0 times
...
Cherri
29 days ago
I think we should use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77