nerdexam
Microsoft

PL-100 · Question #150

Case Study 4 - VanArsdel, Ltd Background VanArsdel, Ltd. is a growing landscaping company. In addition to providing regular maintenance for the properties of its clients, the company also offers…

The correct answer is A. If the value is greater than 0 D. If the value is not equal to null. To ensure a numeric field has a valid, positive entry, one must check if the value is both greater than zero and not null.

Create business solutions

Question

Case Study 4 - VanArsdel, Ltd Background VanArsdel, Ltd. is a growing landscaping company. In addition to providing regular maintenance for the properties of its clients, the company also offers manufacturing and installation of concrete landscaping blocks and edging. Employees are divided into three areas: - Salespeople who primarily work remotely. - Office staff who are responsible for administrative tasks like accounting and estimating. - Service staff who take part in landscaping projects or the manufacturing process. Current Environment VanArsdel, Ltd. uses Dynamics 365 Sales to manage accounts, contacts, and leads. The company estimates landscaping and concrete jobs by using Microsoft Excel spreadsheets. The spreadsheets contain calculations for labour and materials costs. Current estimation process 1. Salespeople go onsite to visit potential clients and initiate estimates by using a paper form to capture details of the work needed. 2. When salespeople return home at the end of the day, they add any needed notes and drawings to the forms of the clients they visited. When the forms are complete, the salespeople email the forms to a designated member of the office staff. 3. An office staff member enters the information into an Excel spreadsheet. 4. The office manager assigns the jobs to one of two office staff responsible for creating estimates. 5. The estimators work through the jobs from the oldest job to the newest. 6. If an estimate is greater than $50,000, it must be reviewed by the office manager before work can begin. 7. After a job is estimated and approved, it is sent to the service staff to implement. Requirements VanArsdel, Ltd. plans to continue its processes by using Microsoft Power Platform tools to allow users to work more efficiently. - Office workers and the office manager must be able to do the following: o Use a model-driven app. o Use email as their primary method of communication. o Be contacted automatically when they have been assigned an estimate to complete or review. - Salespeople must be able to do the following on their mobile device and while offline: o Calculate the cost of concrete. o Record notes and area measurements to calculate material costs. o Capture multiple pictures and drawings. - Both salespeople and office workers must be able to calculate the cost of the concrete portion of a job by using the same tool. - All data must be stored in Microsoft Dataverse. o Quotes must be used to create estimates. o A new column must be added to track approval status. o A custom table must be used to store data collected by salespeople. o A Microsoft Power Automate flow must be used to convert the data captured by the salespeople into a quote. o Area measurements must be converted to the quantity of units required to cover the area. The unit conversion must round up for quote lines. o Quotes must only display lines that have values greater than 0. - Customizations must be done by using out-of-the-box tools. Issues - Salespeople are unable to save data to the custom table. - The Power Automate flow that creates quotes returns an error when a math function is used for measurements that contain no value. You need to resolve the error caused by empty measurements. Which two conditions should you use to process the measurements? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AIf the value is greater than 0
  • BIf the length of the value is greater than 0
  • CIf the value is not equal to 0
  • DIf the value is not equal to null

How the community answered

(47 responses)
  • A
    60% (28)
  • B
    28% (13)
  • C
    13% (6)

Why each option

To ensure a numeric field has a valid, positive entry, one must check if the value is both greater than zero and not null.

AIf the value is greater than 0Correct

Checking "If the value is greater than 0" ensures that the numeric input is positive, which is a common validation requirement for quantities, costs, or other numerical fields that cannot be zero or negative.

BIf the length of the value is greater than 0

Checking "If the length of the value is greater than 0" applies to text strings to ensure they are not empty, not typically to numeric values for checking positivity or non-null status.

CIf the value is not equal to 0

Checking "If the value is not equal to 0" allows negative numbers, which might not be desired for certain fields like quantity or cost, making it less strict than "greater than 0".

DIf the value is not equal to nullCorrect

Checking "If the value is not equal to null" ensures that a value has actually been provided for the field, preventing processing or calculations based on missing data. Null often represents an absence of value, whereas zero is a specific value.

Concept tested: Data validation with numeric and null checks

Source: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-isblank-isempty

Topics

#Power Automate#Conditional Logic#Error Handling#Data Validation

Community Discussion

No community discussion yet for this question.

Full PL-100 Practice