New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Administrators Accredited Professional (AP-201) Exam - Topic 4 Question 67 Discussion

Actual exam question for Salesforce's B2B Commerce for Administrators Accredited Professional (AP-201) exam
Question #: 67
Topic #: 4
[All B2B Commerce for Administrators Accredited Professional (AP-201) 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:

0/2000 characters
Amber
3 months ago
Creating a custom object seems unnecessary here.
upvoted 0 times
...
Dacia
3 months ago
Wait, can we really just load it without an external provider?
upvoted 0 times
...
Glenn
3 months ago
Using the Import feature sounds easier, right?
upvoted 0 times
...
Derick
4 months ago
I think modifying the tax code is a must too.
upvoted 0 times
...
Linn
4 months ago
Definitely need to use Data Loader for that CSV!
upvoted 0 times
...
Juliana
4 months ago
I feel like modifying the tax code might be too complex for this situation, especially since they just need a flat tax for now.
upvoted 0 times
...
Larae
4 months ago
The Import feature in the Commerce App seems like a good option, but I can't recall if it specifically supports tax data.
upvoted 0 times
...
Ligia
4 months ago
I remember a practice question where we had to load data into a custom object, but I don't think creating a custom object is necessary here.
upvoted 0 times
...
Lelia
5 months ago
I think using Data Loader to import the CSV file to the Cart Tax object sounds familiar, but I'm not entirely sure if it's the right step.
upvoted 0 times
...
Nakita
5 months ago
I feel pretty confident about this one. The key is to use the data the customer provided in the CSV file. B and C both mention importing that data, so those are the two actions I would take.
upvoted 0 times
...
Ulysses
5 months ago
Okay, let's think this through. The question says the customer has provided the tax data in a CSV file, so I'm guessing we want to use that data somehow. B and C both mention importing the data, so those seem like good options. I'll probably go with those two.
upvoted 0 times
...
Martina
5 months ago
I'm a bit confused here. Should I be modifying the tax code in the checkout flow, or is that not the right approach? I'm not sure which two actions to take.
upvoted 0 times
...
Desmond
5 months ago
Hmm, this seems straightforward. I think I'll go with B and D - using Data Loader to import the CSV file, and creating a custom object to store the tax data.
upvoted 0 times
...
Elfriede
5 months ago
Ugh, I knew this SQL stuff would be on the exam. I'm not super confident with the syntax, but I think the missing word is "values". Gotta remember those keywords.
upvoted 0 times
...
Earnestine
5 months ago
Asymmetric binding assertion could be applicable, especially for scenarios needing public-key encryption; I just hope I remember it right from our practice questions!
upvoted 0 times
...
Alica
5 months ago
I have a vague memory of the importance of including summaries of PEPs. Was that in option B or C? I'm not too sure.
upvoted 0 times
...
Reyes
5 months ago
Hmm, this is a tricky one. I'll need to think carefully about the different stakeholders involved in a nuclear power station's activities.
upvoted 0 times
...
Loren
5 months ago
Wait, could it be the edge and the extended border? I feel like I've seen questions like this before.
upvoted 0 times
...
Lai
10 months 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
Shala
9 months ago
Definitely, it will save a lot of time and effort.
upvoted 0 times
...
Franklyn
9 months ago
I agree, those seem like the best options.
upvoted 0 times
...
Rusty
9 months ago
C) Use the Import feature in the Commerce App to load the tax data.
upvoted 0 times
...
Dean
10 months ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Kristeen
10 months 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
Tamekia
10 months ago
C) Use the Import feature in the Commerce App to load the tax data.
upvoted 0 times
...
Matilda
10 months ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Marion
11 months 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
11 months 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
11 months 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
Billi
9 months 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
...
Ronnie
10 months ago
C) Use the Import feature in the Commerce App to load the tax data.
upvoted 0 times
...
Justine
10 months ago
B) Use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...
...
Clare
11 months ago
I agree with Cherri. It seems like the most efficient way to handle the tax data.
upvoted 0 times
...
Cherri
11 months ago
I think we should use Data Loader to import the CSV file to the Cart Tax object.
upvoted 0 times
...

Save Cancel