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 MB-820 Exam - Topic 4 Question 23 Discussion

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.
A) Option A
B) Option B
C) Option C
D) Option D

Microsoft MB-820 Exam - Topic 4 Question 23 Discussion

Actual exam question for Microsoft's MB-820 exam
Question #: 23
Topic #: 4
[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
Stephanie
6 months ago
I’m leaning towards Option B, but I’m not convinced.
upvoted 0 times
...
Amie
6 months ago
I thought we needed to check the location on the order too, right?
upvoted 0 times
...
Tommy
7 months ago
Wait, are we sure it won't run in preview mode? That seems odd.
upvoted 0 times
...
Barrett
7 months ago
Totally agree, C makes the most sense here!
upvoted 0 times
...
Helga
7 months ago
I think Option C is the right event to subscribe to.
upvoted 0 times
...
Adria
7 months ago
I have a hunch that it could be Option C, but I need to double-check the event descriptions to be sure.
upvoted 0 times
...
Samuel
8 months ago
I practiced a similar question where we had to check for location codes, and I feel like it was about ensuring data consistency during the posting.
upvoted 0 times
...
Daren
8 months ago
I think it might be related to the posting process, but I can't recall if it's before or after the actual posting happens.
upvoted 0 times
...
Alease
8 months ago
I remember we discussed event subscriptions in class, but I'm not entirely sure which specific event to choose for this scenario.
upvoted 0 times
...
Lisha
8 months ago
Hmm, this is a tricky one. I'm leaning towards Option B, but I want to make sure I'm not missing anything. I'll carefully review the event descriptions one more time before making my final decision.
upvoted 0 times
...
Kathryn
8 months ago
I feel pretty confident about this one. Based on the requirements, I think Option C is the way to go. It seems to be the only event that would run the check even when just shipping and not invoicing.
upvoted 0 times
...
Katy
8 months ago
I'm a bit confused by the different event options. They all seem similar, but I need to make sure I pick the one that meets all the requirements. I'll have to really analyze each one closely.
upvoted 0 times
...
Eun
8 months ago
Okay, let's see here. The key requirements are that the check must run even in shipping-only scenarios, and it can't be run in preview mode. I think I have a good idea of which event to choose, but I'll double-check the options to be sure.
upvoted 0 times
...
Leonard
8 months ago
Hmm, this looks like a tricky one. I'll need to carefully read through the requirements and the event options to determine the right event to subscribe to.
upvoted 0 times
...
Cassandra
2 years ago
I'm going to have to go with Option B. It's the only one that mentions 'not in preview mode', which is a key requirement.
upvoted 0 times
Freeman
2 years ago
Option B it is then. Let's go ahead and identify that event for the codeunit 80.
upvoted 0 times
...
Queen
2 years ago
I agree, Option B is the best fit for the event subscription in this scenario.
upvoted 0 times
...
Beatriz
2 years ago
Yeah, Option B seems to be the most suitable for the check on sales order posting.
upvoted 0 times
...
Craig
2 years ago
I think Option B is the right choice too. It covers all the requirements.
upvoted 0 times
...
...
Cristy
2 years ago
Option A is the way to go. Can't go wrong with the classic 'OnBeforePostSalesDoc' event.
upvoted 0 times
Alana
2 years ago
I think Option A is the correct one to subscribe to. It fits the criteria perfectly.
upvoted 0 times
...
Annelle
2 years ago
Definitely, Option A meets all the requirements for the event subscription.
upvoted 0 times
...
Audry
2 years ago
Yeah, Option A is the most suitable event for this scenario.
upvoted 0 times
...
Layla
2 years ago
It's important that the check runs even if the user is only shipping items and not invoicing.
upvoted 0 times
...
Vanna
2 years ago
Yes, that event will ensure the sales order has the same Location Code as the customer's card.
upvoted 0 times
...
Precious
2 years ago
I agree, Option A is the best choice. It covers all the requirements.
upvoted 0 times
...
Kenda
2 years ago
I agree, Option A 'OnBeforePostSalesDoc' event is the best choice.
upvoted 0 times
...
...
Alisha
2 years ago
I agree with you, Leota. Event B seems to meet all the requirements.
upvoted 0 times
...
Leota
2 years ago
I think we should subscribe to event B.
upvoted 0 times
...
Gary
2 years ago
Option D is my pick. It looks like it would cover the requirement of running the check even if the user is only shipping and not invoicing.
upvoted 0 times
...
Gladys
2 years ago
I'm leaning towards Option C. The event subscription looks like it would handle the different location codes between the sales order and customer card.
upvoted 0 times
Gwen
2 years ago
Yes, Option C looks like it would be the most effective for ensuring the location codes match.
upvoted 0 times
...
Marion
2 years ago
Option C does seem like the right one to handle the location code requirement.
upvoted 0 times
...
Jackie
2 years ago
I agree, Option C seems to be the most suitable for the event subscription.
upvoted 0 times
...
Weldon
2 years ago
I think Option C is the best choice. It seems like it would address the location code issue.
upvoted 0 times
...
...
Brock
2 years ago
Option B seems the most appropriate. It's a good fit for the requirements given in the question.
upvoted 0 times
Tiffiny
2 years ago
Option B seems to be the best fit based on the criteria provided.
upvoted 0 times
...
Junita
2 years ago
I think Option B covers all the requirements mentioned in the question.
upvoted 0 times
...
Mauricio
2 years ago
I agree, Option B looks like the right choice for this scenario.
upvoted 0 times
...
...

Save Cancel