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 Developer Topic 4 Question 75 Discussion

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

A developer is implementing an Inventory class for checkout. All the error states have been handled and now the developer needs to take the next step to indicate that inventory is available for all of the items and amounts in the cart. What should the next step be?

Show Suggested Answer Hide Answer
Suggested Answer: D

To override pricing during the checkout process in Salesforce B2B Commerce, a developer must implement a class specifically designed for this purpose, such as sfdc_checkout.CartPriceCalculations. This class would provide the necessary framework for custom pricing logic to be applied during checkout, ensuring that any custom pricing requirements are met.


Contribute your Thoughts:

Lizbeth
1 months ago
I hope the developer doesn't accidentally return 'sfde_checkout.InventoryStatus.SUCCESS' instead of 'sfdc_checkout.InventoryStatus.Status.SUCCESS'. That would be a real 'Inventory Statas' moment.
upvoted 0 times
...
Venita
1 months ago
Option D is the most logical choice here. It's like a no-brainer, really.
upvoted 0 times
...
Whitley
1 months ago
Option D is the way to go. It's clear and unambiguous about the inventory status.
upvoted 0 times
Daren
3 days ago
Yes, Option D is the most clear and unambiguous option for indicating inventory status.
upvoted 0 times
...
Christa
7 days ago
I agree, Option D is the most precise way to show the inventory status.
upvoted 0 times
...
Mariann
11 days ago
Option D is the best choice. It clearly indicates the inventory status.
upvoted 0 times
...
...
Erasmo
1 months ago
I'm not sure why anyone would choose option A. Returning a boolean value doesn't really convey the inventory status.
upvoted 0 times
...
Loreta
1 months ago
I'm leaning towards option D as well. It's more specific and descriptive than the other options.
upvoted 0 times
...
Luke
2 months ago
Option D seems to be the most appropriate choice since it directly indicates the inventory status as successful.
upvoted 0 times
Renea
1 months ago
D) Return sfdc_checkout.InventoryStatus.Status. SUCCESS
upvoted 0 times
...
Danica
1 months ago
C) Return sfdc_checkout.IntegrationStatus. Status. SUCCESS
upvoted 0 times
...
Nada
1 months ago
B) Return sfde_checkout.InventoryStatus. SUCCESS
upvoted 0 times
...
Iesha
2 months ago
A) Return TRUE
upvoted 0 times
...
...
Yaeko
2 months ago
But returning TRUE would be a simpler and more straightforward approach.
upvoted 0 times
...
Genevieve
2 months ago
I disagree, I believe we should return sfde_checkout.InventoryStatus.SUCCESS.
upvoted 0 times
...
Yaeko
3 months ago
I think the next step should be to return TRUE.
upvoted 0 times
...

Save Cancel