Revision Of Rates
Revision of Rates feature frontend tech documentation
Overview
The revision of Rates feature helps in revising the rates, if any changes in the SOR composition is done and the new works SOR rates has to be applied.
The feature has 2 associated screens :
Search SOR (Revision of Rates)
View Jobs
Configurations
MDMS Configurations
Module Enablement Configuration
This feature has been integrated with Rate analysis module, hence Please follow the document on Rate Analysis to understand this part.
Role-action Mapping
1
/rate-analysis/v1/scheduler/_create
464
MDMS_CITY_ADMIN
2
/rate-analysis/v1/scheduler/_search
465
MDMS_CITY_ADMIN
Sidebar Configuration
1
Revision of Rates
/employee/rateAnalysis/search-sor
dynamic:ContractIcon
MDMS_CITY_ADMIN
Sample object for a sidebar action defined in MDMS (containing navigationUrl )
Screen Configuration
Localization Configuration & Modules
pg
rainmaker-common
pg
rainmaker-rateanalysis
pg
rainmaker-common-masters
Workflow Configuration
Revision of Rates do not have any workflow, here Users can search works type of SOR and proceed with two options
Select few Works SORs and revise the rates for those by clicking on "Revise Rate For Selected"
Revise rates for all Works type of SORs by clicking on "Revise Rate For All"
Customisation
Search SOR Screen:
Use the common Utility “PreProcessMDMSConfig”.
Pass the associated dependencies for the config.
The utility will return a config which will run through InboxSearchComposer.
Refer to docs for Pre-Process config in Component comments.
SOR Type, SOR SubType and SOR Vairent Loaded in the search screen are MDMS data.
View Jobs Screen:
Use the common Utility “PreProcessMDMSConfig”.
Pass the associated dependencies for the config.
The utility will return a config which will run through InboxSearchComposer.
Refer to docs for Pre-Process config in Component comments.
All the Inbox and Search screens throughout the app are rendered using this component Inbox/Search Composer.