Estimate Creator will have link to create estimate from estimate inbox screen.
Clicking on this will open create estimate screen.
Add create Estimate mdms config
Add the following MDMS config to fetch the values of different dropdown filed of create estimate
MDMS config for Depatment{ tenant, //pb"common-masters", [ {"name":"Department" } ]}MDMS config for Beneficiary Type, Entrustment Mode, Nature Of Work, Type Of Work{ tenant, //pb"works", [ {"name":"BeneficiaryType" }, {"name":"EntrustmentMode" }, {"name":"NatureOfWork" }, {"name":"TypeOfWork" }, ]}MDMS config for Scheme, Budget Head, Functions, Fund{ tenant,"finance", [ {"name":"Scheme" }, {"name":"BudgetHead" }, {"name":"Functions" }, {"name":"Fund" } ]}MDMS config for location{ tenantId, //pb.amritsar || pb.jalandhar etc."egov-location", [ {"name":"TenantBoundary" }, ]}
Once the above details are filled, user needs to forward estimate to concerned department and official for checking. Forwarding is considered as part of estimate creation.Fill in the details and click “Forward Estimate”.
Each Work detail will be referred to as Sub-Estimate & sub Estimate will back track to all details of Estimate as-is. At least 1 Sub-Estimate has to be created to create an Estimate. Sum of All Amounts of Sub-Estimates is the Estimate Amount.
Once Create Estimate API call is successful, an acknowledgement screen is shown.
Some of the dropdown data is fetched from mdms and hrms search API
PageComponent
Data Source
API
Executing Department
mdms
{
tenant,
"common-masters",
[ { "name": "Department" } ]
}
Ward, Location
mdms
{
"pb.amritsar",
"egov-location",
[ { "name": "TenantBoundary" }]
}
Beneficiary, Nature of Work, Type of Work
mdms
{
"pb,
"works",
[ { "name": "BeneficiaryType" },
{ "name": "EntrustmentMode" },
{ "name": "NatureOfWork" },
{ "name": "TypeOfWork" }, ]
}
Fund, Function, Budget Head,Scheme, subSchem
mdms
{
"pb",
"finance",
[ { "name": "BudgetHead" },
{ "name": "Functions" },
{ "name": "Fund" },
{ "name": "Scheme"} ]
}
Designation of officer in charge
hrms
/egov-hrms/employees/_search
Name of officer in charge
hrms
/egov-hrms/employees/_search
Localization keys are added under the ‘rainmaker-works’ locale module. In future if any new labels are implemented in works module that should also be pushed in the locale DB under rainmaker-works locale module. Below is the example of few locale labels for hindi and English.