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

Microsoft Exam MB-820 Topic 2 Question 29 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 29
Topic #: 2
[All MB-820 Questions]

A company uses Business Central.

The company has sales orders that have a different location in the header than in the customer's card. You plan to add a check on sales order posting.

The check must meet the following requirements.

* Sales Order must have the same Location Code as the Location Code set up on the customer's card.

* Must not be run in preview mode.

* Must be run even if the user is only shipping items and not invoicing.

You create an event subscription for codeunit 80 "Sales-Post" You need to identify which event to subscribe to Which event should you identify?

A.

B.

C.

D.

Show Suggested Answer Hide Answer
Suggested Answer: A

This event occurs before posting a sales document.

PreviewMode is available in the parameters, which allows checking whether the process is being run in preview mode.

This event is typically used for sales order posting and can be used for both shipping and invoicing.

This event matches the requirements because:

You can check if PreviewMode is false.

It can run for both shipping and invoicing.


Contribute your Thoughts:

Tamekia
3 days ago
I agree with Carolann, Option A aligns with the conditions given in the question.
upvoted 0 times
...
Giuseppe
3 days ago
Option A is the way to go! It's the only one that doesn't mention 'preview mode', which is clearly the bane of any self-respecting Business Central user.
upvoted 0 times
...
Carolann
4 days ago
But Option A seems to be the most logical choice based on the requirements.
upvoted 0 times
...
Renea
5 days ago
I disagree, I believe the correct answer is Option C.
upvoted 0 times
...
Celia
7 days ago
Hmm, this is a tough one. I'm gonna go with Option B just to keep things interesting. Who needs location codes anyway, right? *wink*
upvoted 0 times
...
Carolann
25 days ago
I think the answer is Option A.
upvoted 0 times
...
Alaine
28 days ago
I'm leaning towards Option D. The event subscription for codeunit 80 'Sales-Post' seems like the right place to implement the check based on the details provided.
upvoted 0 times
Zona
2 days ago
Option D makes sense to me as well. It fits the criteria for the check on sales order posting.
upvoted 0 times
...
Tomoko
5 days ago
I agree, Option D seems to be the most suitable event to subscribe to for this scenario.
upvoted 0 times
...
Erick
10 days ago
I think Option D is the best choice. It aligns with the requirements for the check.
upvoted 0 times
...
...
Lawanda
30 days ago
Option C looks good to me. It covers the requirements of the check being run on sales order posting, even if the user is just shipping items and not invoicing.
upvoted 0 times
Krissy
12 days ago
Yes, Option C meets all the requirements for the check on sales order posting.
upvoted 0 times
...
Lai
13 days ago
I agree, Option C seems to be the best choice for the event subscription.
upvoted 0 times
...
...

Save Cancel