Overview: When CE logs onto the site we need to give them a mechanism to record their activities if those activities need to be processed.
Processing:
- Middle Tier Support:
- Entity Name: CERequest
- Properties:
- ID – Int – REQ.NBR
- ReqType – REQ.TYPE
- TransID – REQ.TRANID
- OnHold – REQ.ONHOLD
- RouteTo – REQ.ROUTETO
- Comments – REQ.COMMENTS
- Service Methods:
- GetByFilter
- Parameters
- PORT.NBR - AuthenticatedUserModel.PortNbr
- PORT.MARKER - AuthenticatedUserModel.PortMarker
- Parameters
- SaveAll
- Parameters
- PORT.NBR - AuthenticatedUserModel.PortNbr
- PORT.MARKER - AuthenticatedUserModel.PortMarker
- Note: All following parameters are ~ delimited comments where each segment is corresponding to CERequest. We’re not using : this time as a delimiter due to the increased chance someone could use a : in the comments.
- REQ.TYPE
- REQ.TRANID
- REQ.ONHOLD – Translate True to 1 and False to 0
- REQ.ROUTETO
- REQ.COMMENTS
- MVC Support
- View Definitions
- Main Popup Partial
- CreateNewRequest Link
- Render Collection of CERequests
- Main Popup Partial
- View Definitions
- Parameters
- RequestPartial
- Type Dropdown
- Fill based on the SystemTableCollection Tier: RTC.LAD
- Transaction ID Textbox
- Fill based on the SystemTableCollection Tier: RRT.LAD
- OnHold Checkbox
- RouteTo Dropdown
- Comments Textbox
- Type Dropdown
- GetByFilter
- Controller Action Methods:
- ShowRequests – The routine to return the dialog that is getting displayed.
- CERequest.GetByFilter to fill collection of built requests.
- Create Request – Called by Create Request link on main Popup.
- SaveAllrequests –
- Call CERequestService.SaveAll
- ShowRequests – The routine to return the dialog that is getting displayed.
Visual Design:
Note: the color palette is incorrect. Choose a “more appropriate” box shading color.
When the dialog comes up run getbyfilter to see if there are any requests already generated by other actions. If there are none, just show a white box with a Create New Request link at the top.
When the user clicks Save, come up with some way to acknowledge to them it worked or there was some error.