DIGIT Public Finance Management
PlatformDomainsAcademyDesign SystemFeedback
v1.1-alpha
v1.1-alpha
  • iFIX
  • Blue Print
  • Platform
    • Release Notes
      • mGramSeva Release Notes
        • MDMS & Configuration Updates
        • Test Cases
        • Service Build Updates
        • mGramSeva Product Release Notes
      • iFIX Core Release Notes
        • iFIX Core Build Updates
        • iFIX Core Test Cases
      • iFIX Adaptor Release Notes
        • iFIX Adaptor Build Update
        • iFIX Adaptor Test Cases
    • Features
    • Architecture
      • Principles
      • Specifications
        • Information Model
        • APIs
      • Services
        • iFix Master Data Service
        • iFix Department Entity Service
        • iFix Fiscal Event Service
        • iFix Fiscal Event Post Processor
        • iFix Client Management Service
          • Keycloak Setup
      • Technology
    • Installation
      • Infrastructure Setup
        • Quickstart/Local Setup
        • On AWS
        • On Azure
      • Deploy Services
        • Deploy from your local machine
        • CI/CD
      • API Access Key
      • Configuring Master Data
    • Source Code
  • Exemplar
    • mGramSeva
      • Functionalities
        • Login and Forgot Password
        • User Roles and Home Screen
        • Create Consumer
        • Search Consumer
        • Edit Consumer
        • View Consumer
        • Billing - Bulk Demand Generation
        • Billing - Metered Connection
        • Revenue Collection - Offline
        • Expenditure - Add Expense
        • Expenditure - Modify Expense
        • User Onboarding - Bulk Upload
        • User Onboarding/Walkthrough
        • Feedback - Post Payment
        • SMS Notifications
        • Home Page Notifications
        • Edit User Profile
        • Bill and Receipt PDF
        • Update Expense Search
        • Bulk Demand Generation for Non Metered
        • Demand/Bill Generation for Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills and Receipt
      • Architecture
        • Technology
      • Source Code
      • Documents
        • User Manual
        • Demo video
        • UI Mockups
        • mGramSeva UI
          • Application Permissions & Dependencies
        • Tech User Manual
          • Language Selection
          • Login
          • Update Password FTL
          • Forgot Password
          • Home
          • Edit Profile
          • Change Password
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboard
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
          • Application Structure
        • Application Structure
        • Integration Testing
        • Integration Testing With Github Actions
        • Firebase Analytics Integration
        • Backend Services
          • mGramSeva - Water Services
          • mGramSeva - Water Service Calculator
          • mGramSeva e-Challan Service
          • mGramSeva - User Service
          • mGramSeva - Billing Service
          • mGramSeva - User OTP
          • iFix Adapter Integration Service
          • mGramSeva - Rollout Dashboard
          • mGramSeva Scheduler
          • mGramSeva- Services Re-Indexing
          • mGramSeva Dashboard
    • iFIX Adapter
      • iFix Adapter Services v1.0
      • Source Code
      • Installation
        • Local Setup
        • CI/CD
    • iFIX Dashboard
      • Features
      • Architecture
        • Technology
      • Source Code
      • Installation
        • Local Setup
        • CI/CD
      • Documents
        • iFIX Core Data Cleanup
        • Master Data Setup
        • Fiscal Event Aggregator
  • Ecosystem
    • News and Events
  • Community
    • Roadmap
    • Discussions
    • Issues
Powered by GitBook

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.

On this page

Was this helpful?

  1. Platform
  2. Installation

Configuring Master Data

ADMIN ONLY

Before the iFIX platform can be used, the master data must be configured directly into the respective collections in MongoDB. Associated APIs for configuring Master Data will be made available in the next version.

  • Add Government - Insert into MongoDB collection

  • Add Department

  • Add Department Hierarchy - It defines the hierarchy definition for the department

    • department id: It is master department id (UUID)

    • level: It defines the depth of hierarchy of department level

      • Root level department hierarchy will not contain any parent value and level value will be zero

      • Level value incrementation rule:

        • When parent id is having any value then we search parent in department hierarchy record for hierarchy level evaluation

        • Get level value from parent department hierarchy and increment current department hierarchy level value by one

    • parent: It provides details about department parent (UUID)

  • Add Department Entity - It contains department entity information along with its hierarchy level and also attaches master department information (department id - UUID). Here we keep all children information list at every department node (department record). Leaf level department will not have any children info. Children list contains department entity id list, which makes current department entity parent of all children list (department id list), that's how it maintains department entity level. Entities can be created by

    • First defining the hierarchy level top to bottom because it has parent's reference

    • Then we can start adding department entities, bottom-to-top because it has child's reference.

Note:

  • The root department hierarchy will have the label "Department", and the root department entity will be the department itself

  • When we have to update the existing children list of Department Entity then update the existing children list using mongodb command like below:

    • Find the department entity parent where the new children need to be added. Do search by name and hierarchy level db.departmentEntity.find({"name" : "<current_department_entity's_name>","hierarchyLevel": <Current_department_entity_hierarchy_level>});

    • Append the department entity id at the end of the current department entity children's list. So first find the length of the current array and then set it as "children.n": "" (where n is the length of the array.)db.departmentEntity.update({"_id": ""},{$set: {"children.n": "", "children.n+1": ""} })

  • Add Chart of Accounts - Insert manually into MongoDB collection

  • Add Expenditure - Insert manually into MongoDB collection.

PreviousAPI Access KeyNextExemplar

Last updated 3 years ago

Was this helpful?