
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/additional-controls-for-dynamics-365-for-phones-and-tablets
Topic 2, Bellows Sports
Current environment
Requirements
Bellow Sports tracks players and events in Microsoft Excel workbooks and uses email to communicate with players, partners, and prospective customers. The company uses a proprietary cloud-based accounting system.
The company relies on referrals from athletes for new business. Bellows uses a third-party marketing company to gather feedback and referrals from athletes. The third-party marketing company uploads a Microsoft Excel file containing lists of potential customers and players to the FTP site that Bellows Sports maintains.
Tournaments
Customer information is stored in the Accounts entity. Each tournament record must list the associated sales representative as the tournament owner. When team members create tournament records they must enter the start date for a tournament. The end date of the tournament must be automatically calculated.
Registration form
You must create a form to allow players to register for tournaments. The registration form must meet the following requirements:

Each division has tournaments that take place in specific locations. Users must be able to select the division for a tournament location.
Information about upcoming tournaments must be pre-located into the registration form when the registration form loads.
The form must include a custom button that sends an email confirmation to the player after the player registers.
The button must not be visible until after the form is saved.
Security
The company identifies the following job roles:

You must grant users the minimum permissions required to perform their job tasks.
Data automation
Customer name must be added to Dynamics 365 Finance automatically after it is entered.
You must produce a report that details the number of registrations for a day and send the report as a PDF to the management team.
You must implement mechanisms to handle all code-related errors.
When a customer record is updated, the system must look up the account number for the customer in the accounting system.
Referrals must be imported into the system as soon as they are available.
Issues
Apps
The captions for the New and Save buttons do not render properly on the form.
Interns can create apps but cannot interact with their own data.
Portal
The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:

Solution checker issues
You run solution checker and observe Plug-in or workflow activity errors in the following code sets:

Code
The following code runs when the registration form loads. You must implement a mechanism to handle errors that occur in the code:
