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

Microsoft MB-820 Exam - Topic 2 Question 37 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 37
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:

0/2000 characters
Patrick
2 months ago
Wait, are we sure this check is necessary? Seems excessive.
upvoted 0 times
...
Jacquelyne
2 months ago
I think option C is the right choice here.
upvoted 0 times
...
Johana
3 months ago
Gotta check the location codes on sales orders!
upvoted 0 times
...
Loise
3 months ago
I love that it won't run in preview mode, makes it more reliable!
upvoted 0 times
...
Gracia
3 months ago
Definitely agree, it's crucial for accuracy.
upvoted 0 times
...
Kanisha
3 months ago
I definitely remember that the check needs to run even if we're just shipping. I feel like the answer is A, but I need to double-check the event names to be certain.
upvoted 0 times
...
Lynette
3 months ago
I’m a bit confused about which event to choose. I thought the posting process was covered under the "OnBeforeSalesPost" event, but I could be mixing it up with another codeunit.
upvoted 0 times
...
Fletcher
4 months ago
This question feels familiar! I think we had a similar practice question about event subscriptions. I want to say it’s either B or C, but I can't recall the specifics.
upvoted 0 times
...
Sheridan
4 months ago
I remember we discussed the importance of checking the location codes during our practice sessions. I think it might be related to the "OnBeforePost" event, but I'm not entirely sure.
upvoted 0 times
...
Yasuko
4 months ago
Yes, I agree with Michael. The "OnBeforePostSalesDoc" event seems like the best fit here. It will allow me to implement the location code check without any issues with the preview mode requirement.
upvoted 0 times
...
Meghann
4 months ago
Alright, I think I've got it. Based on the requirements, the event I need to subscribe to is the "OnBeforePostSalesDoc" event. That will allow me to run the check on sales order posting, regardless of whether it's a full posting or just a shipment.
upvoted 0 times
...
Anika
5 months ago
I'm a bit confused by the different event options. They all seem related to sales order posting, but I'm not sure which one specifically meets the requirements. I'll need to think this through step-by-step.
upvoted 0 times
...
Kristofer
5 months ago
Okay, let's see. The key requirements are that the check must run on sales order posting, even if just shipping and not invoicing, and it can't run in preview mode. I think I have an idea of which event to subscribe to.
upvoted 0 times
...
Abraham
5 months ago
Hmm, this looks like a tricky one. I'll need to carefully review the requirements and the event options to make sure I identify the right one.
upvoted 0 times
...
Marica
5 months ago
I disagree, I believe Option B is the right choice because it aligns with the requirements.
upvoted 0 times
...
Nettie
5 months ago
Hmm, I'm not sure. This is tricky, maybe we should all get together and have a sales order posting party to figure it out.
upvoted 0 times
...
Kate
5 months ago
I think the correct event to subscribe to is Option C.
upvoted 0 times
...
Cassi
7 months ago
Option C looks good to me. Covers all the requirements and seems the most straightforward.
upvoted 0 times
Carmen
5 months ago
I think Option C is the best choice.
upvoted 0 times
...
...

Save Cancel