DIGIT mGramSeva
PlatformDomainsAcademyDesign SystemFeedback
v1.2
v1.2
  • Introducing mGramSeva
    • Platform
      • Release Notes
        • Web Caching
        • Service Build Updates
        • MDMS Configuration & Migration Updates
        • Test Cases
        • Release Checklist
        • Implementation Checklist
      • Technology
      • Architecture
      • Demo video
      • Configure mGramSeva
        • Vendor Registry Service
        • User Events Service
        • eChallans Service
        • Water Calculator Service
        • Property Services
        • Billing Service
        • Apportion Service
      • Technical User Docs
        • Application Structure
        • Firebase Analytics Integration
        • Integration Testing
        • Integration Testing With Github Actions
        • 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
          • Events Push To IFIX Adapter
        • Tech User Manual
          • Language Selection
          • Login
          • Change Password
          • Edit Profile
          • Home Page
          • Forgot Password
          • Update Password FTL
          • Generate Bill
          • Search Connection
          • Consumer Details
            • Create Consumer
            • Update Consumer
          • Expenses
            • Add Expenses
            • Search Expense Bills
            • Modify Expenses
          • Dashboards
            • Monthly Dashboard
            • Collections Dashboard
            • Expenditure Dashboard
          • Collect Payment
          • Consumer Feedback
          • Household Register
          • Bluetooth Thermal Printer Integration
        • Application Permissions & Dependencies
        • mGramSeva UI
          • UI Mockups
          • mGramSeva UI
            • mGramSeva - Advance Changes
            • mGramSeva Penalty Changes
      • Installation
      • Configuration
    • Enablement toolkits
      • AWS Installation
        • Setup AWS Account
        • Certificate Purchase
        • Setup Git Repository
        • Domain Name Configuration
        • Create Git Account In The Client Name
      • Setting up Services
        • Getting Started With DIGIT
        • Creating Users
        • Loading Employees For mGramSeva
        • Loading Consumers For mGramSeva
        • Localisation Module
        • Updating Master Rate for Mgramseva
        • Create Consumer API
        • Create User API
        • SMS Template
        • mGramSeva MDMS
        • Create New Tenant
        • Workflow
    • Product Docs
      • Functional Docs
        • Login & Forgot Password
        • User Roles & 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 Connection
        • Demand/Bill Generation For Metered Connection
        • Household Register
        • Tabular Dashboard - Expense
        • Tabular Dashboard - Collection
        • Download Bills & Receipt
        • App Force Update
        • HRMS
        • Advance Changes
      • User Docs
        • User Manual
  • 🚻Community
    • Roadmap
    • Source Code
    • Discussion
    • Events
    • Training & Certification
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
  • Overview
  • Steps
  1. Introducing mGramSeva
  2. Enablement toolkits
  3. Setting up Services

mGramSeva MDMS

PreviousSMS TemplateNextCreate New Tenant

Last updated 1 year ago

Overview

mGramSeva's Master Data Management System () is organized into several folders, each containing essential JSON files that define various aspects of the application's configuration. This documentation provides an overview of the key folders and their respective files, along with a description of the data contained within each file.

Steps

1.

This folder contains the actions-test.json file, which defines various API endpoints along with their configurations.

{
  "id": 11,
  "name": "Employee Count",
  "url": "/egov-hrms/employees/_count",
  "parentModule": "egov-hrms",
  "displayName": "Employee Count",
  "orderNumber": 0,
  "enabled": false,
  "serviceCode": "egov-hrms",
  "code": "null",
  "path": ""
}
  • id: Unique identifier for the API endpoint. Increase id with respect to id present in action-test.json file.

  • name: Name of the endpoint.

  • url: URL of the API endpoint.

  • Other things : As per your specific requirements.

This folder contains the roleactions.json file, which associates roles with action IDs.

{
  "rolecode": "HRMS_ADMIN",
  "actionid": 11,
  "actioncode": "",
  "tenantId": "pb"
}
  • rolecode: Code representing the role.

  • actionid: Action ID associated with the role, linking to entries in actions-test.json.

  • actioncode: Additional code for the action if needed.

  • tenantId: Tenant ID associated with the role.

This folder contains the roles.json file, defining roles in the system.

{
  "code": "ANONYMOUS",
  "name": "anonymous",
  "description": "anonymous user"
}
  • code: Code representing the role.

  • name: Name of the role.

  • description: Description of the role.

This folder contains various JSON files related to billing services.

4.1 BusinessService.json

Defines business services, such as expenses like electricity bills and salaries.

{
  "businessService": "EXPENSE.ELECTRICITY_BILL",
  "code": "EXPENSE.ELECTRICITY_BILL",
  "collectionModesNotAllowed": [
    "DD"
  ],
  "partPaymentAllowed": true,
  "isAdvanceAllowed": false,
  "isVoucherCreationEnabled": true,
  "isActive": true,
  "type": "Adhoc"
}
  • businessService: Identifier for the business service.

  • code: Code representing the business service.

  • collectionModesNotAllowed: Collection modes not allowed for the service.

  • partPaymentAllowed: Indicates whether part payment is allowed.

  • isAdvanceAllowed: Indicates whether advance payment is allowed.

  • isVoucherCreationEnabled: Indicates whether voucher creation is enabled.

  • isActive: Indicates whether the service is active.

  • type: Type of the service.

4.2 PaymentService.json

This file, located in the billingservice folder, provides configurations for payment services within the Billing Service module.

{
  "tenantId": "pb",
  "moduleName": "BillingService",
  "PaymentService": [
    {
      "businessService": "ws-services-calculation",
      "code": "WS",
      "collectionModesNotAllowed": [
        "DD",
        "CHEQUE",
        "CARD",
        "OFFLINE_NEFT",
        "OFFLINE_RTGS",
        "POSTAL_ORDER",
        "ONLINE"
      ],
      "partPaymentAllowed": true,
      "isAdvanceAllowed": true,
      "demandUpdateTime": 86400000,
      "isVoucherCreationEnabled": false,
      "billGineiURL": "egov-searcher/bill-genie/waterbills/_get",
      "isBillAmendmentEnabled": true
    }
  ]
}
  • tenantId: The identifier for the tenant associated with the configuration.

  • moduleName: The name of the module, in this case, "BillingService."

  • PaymentService: An array containing configurations for different payment services.

Payment Service Configuration:

  • businessService: Identifier for the business service.

  • code: Code representing the payment service.

  • collectionModesNotAllowed: Array specifying modes of payment not allowed for this service.

    • "DD": Demand Draft

    • "CHEQUE": Cheque

    • "CARD": Card

    • "OFFLINE_NEFT": Offline NEFT

    • "OFFLINE_RTGS": Offline RTGS

    • "POSTAL_ORDER": Postal Order

    • "ONLINE": Online

  • partPaymentAllowed: Indicates whether part payment is allowed for this service.

  • isAdvanceAllowed: Indicates whether advance payment is allowed for this service.

  • demandUpdateTime: Time interval (in milliseconds) for updating demands.

  • isVoucherCreationEnabled: Indicates whether voucher creation is enabled for this service.

  • billGineiURL: URL for generating bills using Bill Genie.

  • isBillAmendmentEnabled: Indicates whether bill amendment is enabled for this service.

This configuration specifies the payment modes not allowed for the "ws-services-calculation" business service, whether part payment and advance payment are allowed, the demand update time, voucher creation status, Bill Genie URL, and bill amendment status.

4.3 TaxHeadMaster.json

This file is responsible for defining the various charges and taxes which are going to be configured in the application.

4.4 TaxPeriod.json

This file is used to define the number of financial years which are supported in each tax head.

This folder contains various JSON files related to ws-services-masters.

This folder contains various JSON files related to property tax.

This folder contains expense type in JSON format.

All (1 to 8 points) are state-level changes.

For each tenant, there is a unique folder containing three subfolders, each with its specific configuration files.

1. businessservice.json - Billing Service Configuration

This file, located in the billing service folder, provides tenant-specific configurations for the Billing Service module. It is similar to the global BusinessService.json configuration but is specific to the tenant.

2. boundary-data.json - Location Boundary Data Configuration

This file, located in the egov-location folder contains boundary data specific to the tenant.

Details of the structure and content of this file would be specific to the actual data in the system. Please refer to the specific boundary-data.json file for detailed information.

3. WCBillingSlab.json - Water Connection Billing Slab Configuration

This file, found in the ws-services-calculation folder defines billing slabs for water connection based on building type and connection type.

{
  "id": "1",
  "buildingType": "RESIDENTIAL",
  "connectionType": "Metered",
  "calculationAttribute": "Water consumption",
  "minimumCharge": 100,
  "slabs": [
    {
      "from": 0,
      "to": 1000000,
      "charge": 2,
      "meterCharge": 50
    }
  ]
}
  • id: Unique identifier for the billing slab.

  • buildingType: Type of the building (e.g., RESIDENTIAL).

  • connectionType: Type of connection (e.g., Metered).

  • calculationAttribute: Attribute used for calculation (e.g., Water consumption).

  • minimumCharge: Minimum charge for the billing slab.

  • slabs: Array defining the billing slabs, including from, to, charge, and meterCharge.

This configuration is used to determine rates for water consumption based on the specified billing slab criteria.

2.

3.

4.

6. This folder contains various JSON files related to ws-services-calculations.

9. (City level changes for every city there is one folder in MDMS)

There is a folder in the MDMS which contains all tenants in file.

MDMS
ACCESSCONTROL-ACTIONS-TEST
ACCESSCONTROL-ROLEACTIONS
ACCESSCONTROL-ROLES
BillingService
ws-services-masters
ws-services-calculation
PropertyTax
ExpenseType
Tenant
Folder
tenant
tenants.json