Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Case : Create

Logged User can able to Create Employee by providing necessary Details

If a user enters a mobile Number which is already exist in the system Then Application will give error message.

Boundary is auto filled with current TenantId . User can able is add Multiple Jurisdictions and Assignments.

SL No

API

ROLE

Access Id

1

/egov-hrms/employees/_create

HRMS_ADMIN

2

/egov-hrms/employees/_search

HRMS_ADMIN

Primary Files

https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/createEmployee.js

case: Edit

URL- digit-ui/employee/hrms/edit/{Employee Id}

Logged User can able to Edit Employee Details. Employee Id is disabled.

SL No

API

Role

Access Id

1.

/egov-hrms/employees/_update

HRMS_ADMIN

Primary Files

https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/EditEmployee/EditForm.js , https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/EditEmployee/index.js

MDMS API

 moduleDetails: [
    {
      moduleName: "common-masters",
      masterDetails: [
        { name: "Department", filter: "[?(@.active == true)]" },
        { name: "Designation", filter: "[?(@.active == true)]" },
      ],
    },
    {
      moduleName: "tenant",
      masterDetails: [{ name: "tenants" }],
    },
    {
      moduleName: "ACCESSCONTROL-ROLES",
      masterDetails: [{ name: "roles", filter: "$.[?(@.code!='CITIZEN')]" }],
    },
    { moduleName: "egov-location", masterDetails: [{ name: "TenantBoundary" }] },
  ]

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.