Skip to content

This project is my solution in Windows Legacy (Deprecated), C# to the Calculating Percentages Of Expenses practice found in section 04 practice 03 of the UiPath - RPA Developer Foundation course.

License

Notifications You must be signed in to change notification settings

ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S04P03 Calculating Percentages Of Expenses

This project is my solution in Windows Legacy (Deprecated), C# to the Calculating Percentages Of Expenses practice found in section 04 practice 03 of the UiPath - RPA Developer Foundation course.

Getting Started

After making a pull request or downloading the project, open the Main.xaml in UiPath Studio. The robot can be run with the play button in the ribbon and the result can be seen in output panel.

Practice Requirements

Bring together cash and card expenses and calculate percentages on categories

We have a list of expenses (rent, food, utilities, leisure, savings) for which card payments were made. We have discovered that some transactions are missing, as they were done in cash. Prepare a workflow to bring all the expenses in a single file and calculate the percentages for each expense made.

Input files:

  • CardPayments (.xlsx)
  • CashPayments (.xlsx)

Details

Course: UiPath - RPA Developer Foundation

Section: 04 Excel And Data Tables

Practice: 03 Calculating Percentages Of Expenses

Project Format: Windows Legacy (Deprecated), C#

GitHub: https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy

Sample Output

04/29/2024 18:43:00 => [Debug] Debug started for file: Main
04/29/2024 18:43:00 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy execution started
04/29/2024 18:43:04 => [Debug] Food 5178, %: 28.4146408385008
04/29/2024 18:43:04 => [Debug] Vacation 2000, %: 10.9751413049443
04/29/2024 18:43:04 => [Debug] Savings 2500, %: 13.7189266311804
04/29/2024 18:43:04 => [Debug] Rent 7500, %: 41.1567798935411
04/29/2024 18:43:04 => [Debug] Electricity 551, %: 3.02365142951216
04/29/2024 18:43:04 => [Debug] Plumbing 394, %: 2.16210283707403
04/29/2024 18:43:04 => [Debug] Phone 100, %: 0.548757065247215
04/29/2024 18:43:04 => [Debug] The total payments value is: 18223
04/29/2024 18:43:04 => [Debug] Finish //ToDos
04/29/2024 18:43:04 => [Info] RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy execution ended in: 00:00:03

Notes

The ForEach loop TypeArgument must be set to the System.Collections.Generic.KeyValuePair.

Architecture Requirements

A standard UiPath, Studio to Orchestrator cloud setup is the base of operation. It is easy to setup and free.

  1. An Orchestrator connection - Visit https://cloud.uipath.com/ and authenticate or sign up.
  2. UiPath Studio is used to run the robot. Note that Studio Web can be used directly in Orchestrator but I recommend installing the Studio IDE application.

UiPath Setup Guide

Git Notes

Clone the project to develop or change it.

git clone https://github.com/ShonHarsh/RPADev-S04P03-CalculatingPercentagesOfExpenses-WindowsLegacy

Links

RPS Developer Foundation Sections

  1. Get Started With RPA Development

  2. Variables, Data Types And Control Flow In Studio

    P01 RPADev-S02P01-ForEachIfStatement [C#] [VB] [Windows Legacy]

    P02 RPADev-S02P02-GenericValue [C#] [VB] [Windows Legacy]

    P03 RPADev-S02P03-Switch [C#] [VB] [Windows Legacy]

  3. Data Manipulation In Studio

    P01 RPADev-S03P01-Lists [C#] [VB] [Windows Legacy]

    P02 RPADev-S03P03-Dictionaries-Integers [C#] [VB] [Windows Legacy]

    P03 RPADev-S03P04-Dictionaries-Doubles [C#] [VB] [Windows Legacy]

    P04 RPADev-S03P05-InputValidation [C#] [VB] [Windows Legacy]

    P05 RPADev-S03P06-ReplacingPlaceholders [C#] [VB] [Windows Legacy]

    P06 RPADev-S03P07-ExtractEmailAddress [C#] [VB] [Windows Legacy]

    P07 RPADev-S03P08-ExtractEmailAddressRegEx [C#] [VB] [Windows Legacy]

  4. Excel And Data Tables With Studio

    P01 RPADev-S04P01-CalculatingSums [C#] [VB] [Windows Legacy]

    P02 RPADev-S04P02-CalculatingLossInvoices [C#] [VB] [Windows Legacy]

    P03 RPADev-S04P03-CalculatingPercentagesOfExpenses [C#] [VB] [Windows Legacy]

  5. UI Automation With Studio

    P01 RPADev-S05P01-PasswordGenerator [C#] [VB] [Windows Legacy]

    P02 RPADev-S05P02-TheRPAChallenge [C#] [VB] [Windows Legacy]

    P03 RPADev-S05P03-InputActions [C#] [VB] [Windows Legacy]

    P04 RPADev-S05P04-OutputActions [C#] [VB] [Windows Legacy]

    P05 RPADev-S05P05-DataScraping [C#] [VB] [Windows Legacy]

  6. Selectors In Studio

    P01 RPADev-S06P01-GetAndSortData [C#] [VB] [Windows Legacy]

    P02 RPADev-S06P02-SetData [C#] [VB] [Windows Legacy]

    P03 RPADev-S06P03-Highlight-TypeItems [C#] [VB] [Windows Legacy]

  7. Project Organization In Studio

    P02 RPADev-S07P02-StateMachines [C#] [VB] [Windows Legacy]

    P03 RPADev-S07P03-FixMyWorkflow [C#] [VB] [Windows Legacy]

    P04 RPADev-S07P04-Libraries [C#] [VB] [Windows Legacy]

  8. Error And Exception Handling In Studio

  9. Debugging In Studio

  10. PDF Automation In Studio

  11. Email Automation With Studio

  12. Orchestrator For RPA Developers

  13. Robotic Enterprise Framework Overview

About

This project is my solution in Windows Legacy (Deprecated), C# to the Calculating Percentages Of Expenses practice found in section 04 practice 03 of the UiPath - RPA Developer Foundation course.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages