DIGIT Docs
  • DIGIT Knowledge Base
  • Local Governance
  • Introducing NalJalSeva
  • 🚰NalJal
    • Approach
    • Demo Video
    • Value Proposition
  • 🌊Product Specifications
    • Features & Functions
    • Workflows
      • Login & Forgot Password
      • View Consumer
      • Update Consumer
      • Water Charges
      • Generate Bulk Demand & Raise Bills
      • Generate Bills For Metered Connections
      • Collect Revenue Offline
      • Add Expense
      • Update Expense
      • Send SMS Notifications
      • Edit User Profile
      • View Household Register
      • View Tabular Dashboard For Expense
      • Download Bills & Receipts
      • View & Download Reports
      • HRMS
        • Login, Reset & Forgot Password
        • Create Employee
        • Update Employee
        • Search Employee
        • Search Department Employee
        • Edit Scheme Rate Master
        • Edit Penalty Master
        • State Dashboard
        • Rollout Dashboard
        • Rate Dashboard
    • User Manual
      • Common Functions
        • Login To App
        • Edit Profile & Change Password
      • Division User
        • View & Edit Consumer
      • Village Water & Sanitation Committee (VWSC) User
        • Generate Bills
        • Search Consumer & Generate Payment
        • Record & Modify Expense Bill
        • View Dashboards
      • State User
  • Reference Implementations
    • Punjab
      • mGramSeva
  • ⚒️NalJalSeva Platform
    • Architecture
    • Technology
  • 💧Setup NalJalSeva
    • Setup NalJalSeva
      • Install AWS
        • Setup AWS Account
        • Purchase Certificate
        • Setup Git Repository
        • Configure Domain Name
        • Create Git Account In The Client Name
      • Enable Application Permissions
      • Get Started With DIGIT
      • Create Users
      • Load Employees For NalJalSeva
      • Load Consumers For NalJalSeva
      • Configure Module Localisation
      • Update Master Rate
      • Create Consumer API
      • Create User API
      • Configure SMS Template
      • Configure Master Data Management System
      • Create New Tenant
      • Create Workflow
    • Configure NalJalSeva
      • Configure Core Services
      • Configure Backend Services
        • Advance Changes
        • Apportion
        • Billing
        • Dashboard
        • eChallan
        • iFIX Adapter
          • Push Events To iFIX Adapter
        • Penalty Changes
        • Property
        • Reindexing
        • Rollout Dashboard
        • Scheduler
        • User
        • User OTP
        • User Events
        • Vendor Registry
        • Water
        • Water Calculator
      • Configure UI Screens
        • UI Design
        • Select Language
        • Login
        • Change Password
        • Edit Profile
        • Home Page
        • Forgot Password
        • Update Password
        • Generate Bill
        • Search Connection
        • Consumer Screens
          • Create Consumer
          • Update Consumer
        • Expense Screens
          • Add Expense
          • Search Expense Bills
          • Modify Expenses
        • Dashboards Screens
          • Monthly Dashboard
          • Collections Dashboard
          • Expenditure Dashboard
        • Collect Payment
        • Consumer Feedback
        • Household Register
        • UI Mockup Screens
      • Update App
    • Integration Details
      • Integrate Firebase Analytics
      • Integrate Bluetooth Thermal Printer
      • Integration Testing
      • Integration Testing With Github Actions
    • Go Live
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?

Export as PDF
  1. Setup NalJalSeva
  2. Setup NalJalSeva

Configure Master Data Management System

PreviousConfigure SMS TemplateNextCreate New Tenant

Last updated 11 months ago

Was this helpful?

NalJalSeva'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.

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

(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