Code Monkey home page Code Monkey logo

mofa_monthly_expenditure_execution_status.rpa-uipath's Introduction

[외교부 월별세출집행현황]

외교부 월별 세출집행현황(검색기간 설정) 데이터를 추출하여 결과 파일 작성 제공한 템플릿 양식을 Copy하여 결과파일 작성
REFramework로 구현 (QueueItem이 아닌 DataTable.DataRow 이용)
TransactionData = 월별 집행액 정보 [항목], [연도], [월], [집행액]

[작업순서]

_이해를 돕기위한 작업가이드.xlsx 파일 참고

  1. Template.xlsx 파일을 Output로 Copy하기
  2. DataTable 생성. [항목], [연도], [월], [집행액] 으로 생성. Config에 설정한 날짜 기간 데이터 넣기
  3. 브라우저 열어서 데이터 추출할 페이지로 이동
  4. 웹 페이지에서 기간 세팅 후 [검색] 클릭. 데이터스크래핑 - Datatable 생성해서 저장, Datatable 초기화 하고 저장하기
  5. 엑셀에 월별 데이터 저장하기 (집행액=0 삭제) - 기본 엑셀시트를 복사해서 사용하기(스타일 유지위해)
  6. 월별 합계 구하는 엑셀함수(SUM())를 TransactionData의 [집행액] 컬럼에 쓰기
  7. 엑셀 저장 - 합계 추가

[Config.xlsx 참고]

  • webURL = 데이터 수집할 웹 페이지 주소
  • saveFolderPath = 파일 저장할 폴더 경로
  • saveFilePath = 저장할 파일명
  • copyFilePath = Copy할 파일 경로(폴더 포함)
  • myName = 본인이름
  • searchStartYear = 검색 시작년
  • searchStartMonth = 검색 시작월
  • searchEndYear = 검색 종료년
  • searchEndMonth = 검색 종료월

[How It Works]

  1. INITIALIZE PROCESS

    • Config 파일 세팅
    • 브라우저 강제 종료
    • Template.xlsx 파일을 Output로 Copy하기
    • DataTable 생성. [항목], [연도], [월], [집행액] 으로 생성. Config에 설정한 날짜 기간 데이터 넣기
    • 브라우저 열어서 데이터 추출할 페이지로 이동
  2. GET TRANSACTION DATA

    • Get transaction item 비활성
    • TransactionNumber가 DataTable Row 수만큼 반복을 위한 처리 - TransactionData의 Row 갯수 체크해서 TransactionItem에 현재 Row 정보 할당
  3. PROCESS TRANSACTION

    • SetTransactionStatus에서 필요없는 부분 비활성. 인수설정 ( TransactionData, TransactionNumber)
    • 웹 페이지에서 검색기간 세팅 후 [검색] 클릭
    • 데이터스크래핑 - Datatable 생성해서 저장, Datatable 초기화 하고 저장하기
    • 엑셀에 월별 데이터 저장하기 (집행액=0 삭제) - 기본 엑셀시트를 복사해서 사용하기(스타일 유지위해)
    • 월별 합계 구하는 엑셀함수(SUM())를 TransactionData의 [집행액] 컬럼에 쓰기
  4. END PROCESS

    • 엑셀 저장 - 합계 추가
    • 브라우저 닫기

mofa_Monthly_expenditure_execution_status_guide


REFrameWork Template

Robotic Enterprise Framework

mofa_monthly_expenditure_execution_status.rpa-uipath's People

Contributors

pnmgithub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.