KPI Business Requirements & Software Requirements Specification
From UG
(→BR2 [Cost-based KPIs]) |
(→Cost per KG) |
||
Line 898: | Line 898: | ||
THIS IS STILL NEEDED TO FILL OUT >>> CLARIFY >>> UNDER CONSTRUCTION section!!!!!!!!! | THIS IS STILL NEEDED TO FILL OUT >>> CLARIFY >>> UNDER CONSTRUCTION section!!!!!!!!! | ||
- | '''Cost Calculation''' | + | '''Cost Calculation''' --> Need to be confirmed by Marc |
The total cost for the shipment is the sum of all sales invoices issued against the individual CT record or the group shipment | The total cost for the shipment is the sum of all sales invoices issued against the individual CT record or the group shipment | ||
Line 922: | Line 922: | ||
+ | Example: | ||
+ | This shipment is 10 KG | ||
+ | Invoice 1 Bill to: ABC amount $25.00 | ||
+ | Invoice 2 Bill to: ABC amount $15.00 | ||
+ | Invoice 3 Bill to: XYC amount $5.00 | ||
+ | Invoice 4 Bill to: XYZ amount $50.00 | ||
+ | |||
+ | |||
+ | When XYZ looks at the KPI for this shipment, average cost per KG: $5.5 | ||
+ | |||
+ | (Sum of the invoices billed to XYZ for this shipment = $55.00 and this shipment weights 10 KG): 55/10 = $5.5 per KG | ||
'''Mode of Transportation''' | '''Mode of Transportation''' |
Revision as of 17:01, 1 May 2012
Mantis
<Mantis Number(s) & Link>
Project Overview
Business Objective(s)
Key Performance Indicators (KPIs) are valuable metrics that clients and Jaguar Freight Services (JFS) can utilize to improve their supply chain management operations. These metrics report on cost performance, cycle time performance, load utilization performance, etc.. Examples include cost per pound, cycle time between shipment creation to approval, etc.. There are an infinite number of possibilities for what one might consider a KPI. It is up to the client and/or JFS management team to utilize these KPIs to identify weak areas of their operations and to develop strategic corrective action plans to improve logistics performance.
The objective of the CyberTrax2 KPI project is to provide an easy to use, intuitive, interactive, scalable, and flexible interface for both internal JFS management and external client users to view and report on KPIs. It is absolutely imperative that the accuracy and mechanics of KPIs are well understood by all.
KPIs will be offered as a fee-based service to external clients. Current fee structure has yet to be finalized, but the application must be able to easily accomodate any fee-structure that is imposed by business executives.
High Level Project Deliverables
- Download to Excel
- KPI Dashboard
- KPI Admin (user administration)
- KPI Editor (customizable Dashboard editor)
- Evaluate Business Intelligence software vendors (Build vs. Buy)
- Internal KPI(s) [for internal Jaguar management]
Project Stakeholders & Roles
- Simon Kaye - CEO - Project Sponsor
- Marc Selter - VP - Product Manager
- Alex Dobrovolsky - Director of Technology - Solutions Architect
- Montira Renfrew - CT2 Systems Analyst
- Mihail Tymoshenko - CT2 Software Developer (Elcosol)
- Denise Guastella - CT2 Support Manager
- Kostiantyn Ushakov - CEO/CTO Elcosol
- Perry Lee - CT2 Project Manager
Project Scope
The below items are in-scope for this KPI project:
- Design and implement a scalable KPI module that will satisfy all future KPI requirements for at least the next 3 years.
- Design must take into consideration future KPIs requirements (Mobile, International, External Interfaces [Google Maps], etc..)
- Fill in existing gaps (functional & non-functional) in existing cost-based KPI module.
- Design and Implement a KPI module for both Internal CT2 and Client CT2 applications.
- Implement below KPIs
- Cost-Based KPIs
- Date-based KPIs
- Lane Optimization KPIs
- Counter/Aggregated KPIs
- Ability to overlap & report on multiple KPIs.
- Design and implement an entitlements management module to administer KPI-based entitlements.
The below items are out-of-scope for this KPI project:
- Address performance issues with any CT2 module outside of KPI.
- Merge Internal CT2 and Client CT2 applications.
- Mobile KPI
Project Dependencies
- Validations for complete data elements (dates, countries, cost) must be in place and verified prior to delivering KPI.
High-Level Timelines
This project will be delivered in phases.
Phase | Start | Complete | |
---|---|---|---|
Phase I - Batch Scheduling System (to be confirmed), KPI Dashboard, Download to Excel | Requirements | ||
Design | |||
Construction | |||
Verification | |||
Maintenance | |||
Phase II - KPI Editor, KPI Admin | Requirements | ||
Design | |||
Construction | |||
Verification | |||
Maintenance |
Risks
<Identify internal and external risks to the project: schedule, resources, technical, business, cost, market conditions, external vendors/partners, etc..>
Assumptions / Constraints
Assumptions
- The KPI module will not require significant redeisgn within the next 3 years.
- Critical resources (0.5 FTE Analyst and 1 FTE Developer) will be fully allocated to this project for its entire duration.
- All major requirements would have been identified during the requirements/design phase of this project. Any requirements identified post design-phase will have minimal impact on project schedule and scope.
- Project Team will document & provide walk-through of entire KPI design prior to construction. All project documents will be signed off prior to construction.
- QA resource will be fully allocated to this project during verification phase(s).
- Business unit will have adequate resources to perform UAT during verification phase(s).
- Current CT2 Chart & Graph library (JFreeChart) is sufficient to satisfy existing & future KPI requirements.
- CT2 will be able to satisfy all KPI requirements with existing development framework & libraries (ZK framework).
- All non-working periods (personal vacations, holidays, etc..) will be baked into project plan.
- All resources will have adequate knowledge of business & technology to fulfill their roles & responsibilities with minimal training.
- All KPI related data in CyberTrax must be accurate and complete (ie.. origin/consignee countries, complete P/L, currency conversion rules, etc..)
- All country to region mappings will be accurate and complete in CT2.
Constraints
- KPI module must not negatively impact the current performance of CyberTrax2.
- All in-scope KPIs must be delivered and fully functional by end of year 2012.
- Entire KPI project must be delivered with existing resources.
- A production ready KPI dashboard must be delivered by end of Q2 2012.
Business Intelligence Software Provider Requirements
Requirements
- Ability to integrate and embed system into CT2
- Embed directly into CT2
- Offer as white label service with SSO interface
- Data accessibility based on user entitlements - client based filtering
- Ease of integration & ETL (Extract-Transform-Load)
- Integrate < 6 months
- Cost
- License Costs < $20k
- Maintenance/Support/Administration Costs < $5k
- Supported database platforms = MySQL
Vendors
- Prognoz
- LogiXML
- JasperReports
- Pentaho
- JasperSoft
Business Requirements
<List each business requirement under a separate heading. Also include process flows (UML, Sequence Diagrams, Swimlane, Flow chart, etc..) as applicable>
BR1 [Core KPI Foundation]
BR1.1 [Overlapping KPIs]
- Need object reports/KPIs/Widgets to be available for Internal and External users
- Need special page (dashboard) with various panels
- Need flexible admin to manage dashboard on the System, Manager, and User levels
- Need ability for user to manage/organize their own widgets, panels, reports on their dashboard
- Need ability for user to manage multiple dashboards
- Need ability to manage specific information on chart and download to excel
- Need ability to define and add list of other KPI's which can be overlapped with current (depends from key entity)
- Need common filters for all KPIs
- Need Client Visibility rules for external users roles
- Need persistence (system must remember last state of dashboard for individual user to reproduce at the next login)
GLOSSARY
Dashboard - it is a space between Header/Main Menu and Footer on a CT 2 Home page(refer to both Client and Internal Applications - slowly merging to one application). It contains various Panels ("widgets") with valuable information such as "Weather", "RSS News feeds", "Cost and Value KPIs", "Reports Dashboard Panel", "Truck Dom Stats Dashboard Report", ...etc.
- Dashboard framework provides displaying of specific widgets on Dashboard area (Dashboard) of CT 2 Home Page only.
- Dashboard area contains specific dashboard tabs (#Multiple dashboards) with sets of dashboard panels.
- Each dashboard panel reflects specific widget with valuable information.
- Dashboard area contains specific dashboard tabs (#Multiple dashboards) with sets of dashboard panels.
Widgets - it is an element of a graphical user interface that displays an information arrangement and provides standardized data manipulation.
- Widgets in CT2 can be divided on following groups:
- Informer - Actual information from external sources. Examples: RSS News Feed, World Financial Markets,... etc.
- Dashboard Reports - Summarized information calculated from CT2 DB. Examples: Truck Dom Stats, Scheduled Reports, Estimated GM,...etc.
Panels - it is widget
Chart - it is a graphical representation of data, in which "the data is represented by symbols, such as bars in a bar chart, lines in a line chart, or slices in a pie chart". Charts are often used to ease understanding of large quantities of data and the relationships between parts of the data. Charts can usually be read more quickly than the raw data that they are produced from. Certain types of charts are more useful for presenting a given data set than others. For example, data that presents percentages in different groups are often displayed in a pie chart, but may be more easily understood when presented in a horizontal bar chart.On the other hand, data that represents numbers that change over a period of time might be best shown as a line chart.
Reference: "Cary Jensen, Loy Anderson (1992). Harvard graphics 3. http://en.wikipedia.org/wiki/Chart" [Accessed 04/11/2012]
DR KPI Level 1 - it is a table of averaged KPI value (one or more) per specified time frame.
- Time frame for KPI calculating set on KPI settings tab in My Profile section.
DR KPI Level 2 - it is a chart of one KPI that reflects averaged value of KPI's amount in relationship to certain parameter(s).
- Level 2 consists of 3 sections: Parameters, Chart, Filters
DR KPI Level 3 - it is a spreadsheet of averaged KPI value (one or more) per specified time frame and specified output result.
- Level 3 consists of Download to Excel functionality
ADMIN
- Create special page with various panels with ability to add additional page(s) to organize the layout of panels (Dashboard)
- Provide ability to create additional page(s)
- Provide ability to name/edit/remove each dashboard page
- Provide ability to group panels to each dashboard (organize panels for each dashboard available from the default panels setting on the dashboard)
- Provide ability to move the order of each dashboard tab
- Provide ability to drag/drop panel(s) to each dashboard
- Create admin level to manage dashboard and panels across CT2 Home for both Internal and External users.
- Consist of 3 levels of admin functionality:
- System Level
- Admin Level
- User Level
- Consist of 3 levels of admin functionality:
System Level
What: System level activates reports for whole system for user roles
- Need flexible admin to manage dashboard from System level to configure default setting for External and Internal users on CT2 Home
- To keep list of all existing object reports and future object reports(widgets, reports, KPIs..etc) to be available for both External and Internal users
- To be able to activate object reports in the system
- To set default parameters of object reports
- To group and categorize object reports to:
- External Widgets - such as RSS News Feeds, Word Financial Markets, Quote of the Day, Testimonials, Weather...etc
- Internal Reports - such as Truck Dom Stats, New Pending Address, QB Dashboard panel, Estimated Gross Margin panel, Profit sharing Panel,...etc
- KPIs - such as Cost per pound, Cost per kilogram, ...etc
- Scheduled Reports - such as daily report, in-transit report, ...etc
Admin Level
What: Admin Level gives permissions to current user to use reports selected from list
- Need flexible admin to manage dashboard from Admin level to configure user profile
- To manage activated/inactivated panels
- To show list of all activated panels for External and Internal users
- To activate panel(s) for certain user (user role)
User Level
What: User Level provides user's abilities for managing panels and assigning reports to panels
- Need flexible user admin level "My Profile" for personal setting
- To allow user to manage their own custom setting to activate/deactivate each panel and layout for panels on dashboard(s)
- Solution for current state
- Client and Internal applications are separated. Internal Application does not have "My Profile". This functionality should be added on the Internal application as same as Client application.
- "My Profile" should be built consistent way in order to reuse once two applications are merging
- Solution for future state
- Merging Internal application to Client application to be only one application. This is related to I-portal. It is a dependency project.
- Solution for current state
- To remember user last setting state of panel(s) on dashboard(s) for each individual user
- To use available functionality to custom organize panels and dashboards
- Ability to manage and create any number of additional dashboard tabs and name/edit/remove them arbitrary
- See functionality and mock up 1 for #Adding dashboard tab
- See functionality and mock up 2 for #Naming and editing tab's name
- See functionality and mock up 3 for #Removing tab (reminder note: Validation/constraint and action should be listed)
- Ability to assign any available panel(s) to any specific dashboard tab
- Ability to activate/deactivate panels from the available list of panels to display it on dashboard and assign selected panel to specific tabe of dashboard where to be displayed
- Ability to set custom parameters for value display on each panel
- NOTE: Default setting - all panels on "Main Dashboard" tab.
- Ability to manage and create any number of additional dashboard tabs and name/edit/remove them arbitrary
- To allow user to manage their own custom setting to activate/deactivate each panel and layout for panels on dashboard(s)
File:MyProfileADD.JPG
KPIs
Common Requirements for adding new KPI
To simplify further process of adding new KPI in CyberTrax we suggest use unified procedure of defining KPI.
- STEP 1. MO requests a new KPI and provides information for analysis.
- STEP 2. BA prepares information for development as list of key parameters:
- Key entity. Base of KPI or that for which the KPI is calculated.
- Example: shipment (for CT-based KPI), load (for Load-based KPI), user (for User-based KPI), trucker (for Trucker-based KPI).
- KPI function. Formula to calculate KPI. Result is always a number (integer or real).
- Should be shown on Axis Y in its own measure unit.
- Example: cost per pound/lane, created to approved/rejected/delivered.
- KPI measure unit. Name of units in which the KPI is to be measured.
- Example: USD (Cost and value KPIs), Day (Date KPIs).
- Key Date rule. Points or expression for key events of KPI (created, approved, delivered etc).
- Mostly depends from KPI family (cost, date) or KPI base (key entity).
- Example: Created on Date, Approved Date, Actual/Estimated Delivery Date.
- "Group By" methods. List of categories which can be used for grouping of KPI on Chart.
- Will be shown on Axis X.
- Each KPI has its own set of group by (default + specific).
- Should correspond with the default settings (ideally be the same).
- Example: days, weeks, months etc; carriers, users etc.
- Filters.
- Set of possible rules to select data slice by some value.
- Default set of filters.
- Specific filters for KPI family or one KPI.
- Chart types.
- Example: line, bar, pie. Note: for Group By = Carriers makes no sense to use linear chart.
- XLS output fields.
- Subset of values from KPI base object to output in spreadsheet (define default columns), their order of sequence, mapping and formatting.
- Example: days, weeks, months etc; carriers, users etc.
- Default settings.
- Time Frame. Range of dates per which is calculated KPI value for Level 1. Also it used for visualization of KPI at first time opening of Level 2.
- Group By. It defines method the grouping of subset of values of selected KPI per Time Frame on Chart (Level 2).
- NOTE: Defaults should contain only appropriate values for certain KPI.
- STEP 3. Developer implements solution that suggested the BA with using prepared key information.
PANEL
Client visibility rule
Client Visibility Rules
Client Visibility Rules affect displaying of DR results in Client Application.
CHART
- To display value in different type of chart such as line, bar, pie, column, XY scatter, area chart.
- To display value of many KPIs on one chart to show the comparison for analysis (All value points in one graph)
- To use mouse over value on the chart
BR1.2 [Performance]
- Speed
- To display chart (from KPI value link, filter changing, etc)
- To display value on the chart
- To Download to excel for any report value
- IE. Problem: Performance for displaying yearly data value
BR1.3 [Scalability]
BR2 [Cost-based KPIs]
- To be able to measure:
- Cost Per Pound
- Cost Per Kilogram
- Cost Per Load
- Cost Per Item
- Cost Per Carton
- Cost Per Container
- Cost per Chargeable kg
- Cost per pallet
- Note: Largest variation = Duty include and not include, and maybe Charge Code Group isolation
...
Logic
- Cost Per Pound
- value from XML DocLoadPlan (TMS), Total Cost and Total Weight parameters what to be used for calculation of Cost per Pound
BR3 [Date-based KPIs]
Measuring KPI date based pairing from date below:
- Shipment Created on Date
- Shipment Approved on Date
- Shipment Mode assigned on Date
- Shipment Picked up on Date
- Shipment Departure on Date
- Shipment Arrival on Date
- Shipment Custom Clearance on Date
- Shipment Delivery on Date
Define KPI
Core of date based KPI is number of days from the shipment X date to the shipment Y date
- It is a number of days from the two dates:
- 1) Created To Approved on Date = Approved on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its approved
- 2) Created To Mode Assigned on Date = Mode Assigned on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its mode Assigned
- 3) Created To Picked up on Date = Picked up on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its picked up
- 4) Created To Departure on Date = Departure on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its departure
- 5) Created To Arrival on Date = Arrival on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its arrival
- 6) Created To Custom Clearance on Date = Custom Clearance on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its custom clearance
- 7) Created To Delivery on Date = Deliver on Date - Created on Date
- Number of days since the date of creation the shipment until the date of its delivery
- 8) Approved To Mode Assigned on Date = Mode Asssigned on Date - Approved on Date
- Number of days since the date of approved the shipment until the date of its mode Assigned
- 9) Approved To Picked up on Date = Picked up on Date - Approved on Date
- Number of days since the date of approved the shipment until the date of its picked up
- 10) Approved To Departure on Date = Departure on date - Approved on Date
- Number of days since the date of approved the shipment until the date of its departure
- 11) Approved To Arrival on Date = Arrival on Date - Approved on Date
- Number of days since the date of approved the shipment until the date of its arrival
- 12) Approved To Custom Clearance on Date = Custom Clearance on Date - Approved on Date
- Number of days since the date of approved the shipment until the date of its custom clearance
- 13) Approved To Delivery on Date = Delivery on Date - Approved on Date
- Number of days since the date of approved the shipment until the date of its delivery
- 14) Mode Assigned To Picked up on Date = Picked up on Date - Mode Assigned on Date
- Number of days since the date of mode assigned the shipment until the date of its picked up
- 15) Mode Assigned To Departure on Date = Departure on Date - Mode Assigned on Date
- Number of days since the date of mode assigned the shipment until the date of its departure
- 16) Mode Assigned To Arrival on Date = Arrival on Date - Mode Assigned on Date
- Number of days since the date of mode assigned the shipment until the date of its arrival
- 17) Mode Assigned To Custom Clearance on Date = Custom Clearance on Date - Mode Assigned on Date
- Number of days since the date of mode assigned the shipment until the date of its custom clearance
- 18) Mode Assigned To Delivery on Date = Delivery on Date - Mode Assigned on Date
- Number of days since the date of mode assigned the shipment until the date of its delivery
- 19) Picked up To Departure on Date = Departure on Date - Picked up on Date
- Number of days since the date of picked up the shipment until the date of its departure
- 20) Picked up To Arrival on Date = Arrival on Date - Picked up on Date
- Number of days since the date of picked up the shipment until the date of its arrival
- 21) Picked up To Custom Clearance on Date = Custom Clearance on Date - Picked up on Date
- Number of days since the date of picked up the shipment until the date of its Custom Clearance
- 22) Picked up To Delivery on Date = Deliver on Date - Picked up on Date
- Number of days since the date of picked up the shipment until the date of its delivery
- 23) Departure To Arrival on Date = Arrival on Date - Departure on Date
- Number of days since the date of departure the shipment until the date of its arrival
- 24) Departure To Custom Clearance on Date = Custom Clearance on Date - Departure on Date
- Number of days since the date of departure the shipment until the date of its Custom Clearance
- 25) Departure To Delivery on Date = Delivery on Date - Departure on Date
- Number of days since the date of departure the shipment until the date of its delivery
- 26) Arrival To Custom Clearance on Date = Custom Clearance on Date - Arrival on Date
- Number of days since the date of arrival the shipment until the date of its Custom Clearance
- 27) Arrival To Delivery on Date = Deliver on Date - Arrival on Date
- Number of days since the date of arrival the shipment until the date of its delivery
- 29) Custom Clearance To Delivery on Date = Delivery on Date - Custom Clearance on Date
- Number of days since the date of custom clearance the shipment until the date of its delivery
- 1) Created To Approved on Date = Approved on Date - Created on Date
Define key parameters
- KPI entity is a shipment.
- KPI function is difference in days between date of arrival of shipment and date of its creating in CT2.
- KPI measure unit is a day.
- Key Date rule. Key events based on following dates:
- Shipment Created on Date
- Mapping: #CT_bo#Created_On_Date
- Shipment Approved on Date
- Mapping: #CT_bo#Approved_On
- Shipment Mode assigned on Date
- Mapping: #Mode assigned_On THIS FIELD IS NOT EXIST>>>need to be added.
- Shipment Picked up on Date
- Mapping: #CT_bo#Actual_Pick_Up_Date col
- Shipment Departure on Date
- Shipment Arrival on Date
- Mapping:
- Shipment Custom Clearance on Date
- Mapping:
- Shipment Delivery on Date
- Mapping: #CT_bo#Actual_Delivery_Date
- Shipment Created on Date
- For example: Created To Delivered KPI
- Rule: Report should handle CTs with Delivery Date within Time Frame (see below) and calculate KPI function for them.
- Group By methods
- Standard methods: all Time (days, weeks, months, quarters, years); carriers, consignees, shippers.
- Specific methods: planners.
- Filters
- Standard filters: PO contains, SKU contains, Approved Date, Pick Up Date, Routed Date, Delivery Date, Carrier.
- Specific filters: Planner.
- Chart types
- linear chart for every time grouping.
- bar chart for grouping by carriers, planners etc.
- Output fields
- CT#.
- Load #.
- Created to Delivered (KPI column calculated as by formula Actual Delivery Date - Created On Date).
- Created On Date.
- Actual Delivery Date.
- Shipper.
- Consignee.
- Carrier.
- Pick Up Location.
- Delivery Location.
- Planner.
NOTE: need to define and add to list other KPI's which can be overlapped with current (depends from key entity).
- Default settings (in My Profile section).
- Time Frame: to be able select one from previous day/week/month/quarter/year.
- Group By: to be able select one from list included standard and specific "Group By" methods.
Implementation parts
- Use Client Visibility Rules when showing KPI info for external user(s)
- ........................Internal user(s)
- Settings
- Default: Values of KPI parameters should be set up in My Profile section
- Date KPI panel setting should be added
- Need ability to set up default values for parameters:
- "Time Frame"
- "Group By"
- Level 1
- Initial KPI displaying.
- A table with 4 columns:
- Name of KPI
- Time Frame range
- KPI value (+ KPI measure, maybe in round brackets)
- Change (KPI changes from past Time Frame)
- Headers: Name, Time Frame, KPI, Change
- Created to Delivered KPI on Level 1 (as well as Change) is average value for all shipments delivered per selected Time Frame:
- 1) calculate difference Delivered-Created for every shipment
- 2) get all days as amount of calculated differences
- 3) divide obtained sum by number of handled shipments
- A table with 4 columns:
- Initial KPI displaying.
- Level 2
- Chart displaying
- First time opened chart should be look in correspondence with default settings:
- Group By and Time Period sections should be set in values specified in My Profile
- Chart type should be suitable for Group by value
- Filter Panel should be minimized and all filters are empty
- except Delivery Date filter displayed start ("from") and end ("to") dates of Time Frame range
- Selecting of new "Group By" or "Time Period" values refreshes the chart without additional confirm
- Changes on Filters Panel will update the chart after pressing of "Generate Result"
- Delivery Date filter after manual update should used instead "Time Period" for chart displaying
- First time opened chart should be look in correspondence with default settings:
- Chart displaying
- Level 3
- preadsheet displaying
- 1) Click on "Download to Excel" button and get file
- OR
- 2) Activate by clicking on or chart (when it is bar type), define output fields, click on the button
- preadsheet displaying
Logic
BR4 [Total (Counters)]
- To be able to measure:
- Shipment Count (CT records)
- Total KG shipped
- Total Loads (loads = TMS Dom only)
- Total Masters (all NON-TMS modes)
- Total Cartons
- Tital Pallets
- Container Count
- Total CBM (maybe)
BR5 [Lane Optimization / Aggregation]
- To be able to measure:
- Pallets per/ KG oer/CBM per/Cartons Per
- Per shipment
- Per week
- Per month
- Per container
- Pallets per/ KG oer/CBM per/Cartons Per
BR6 [Utilization / Optimization KPIs]
BR7 [International KPIs]
Business Process Flow 1...
Business Process Flow 2...
Business Process Flow 3...
Functional/Non-Functional Requirements
<Identify all functional and non-functional requirements. Maintain standard headings. If a specific requirement is not required, note as Not Applicable. Each functional requirement must trace back to a specific business requirement.>
CyberTrax2 Internal Application
<Identify all functional requirements for CT2 Internal Application>
User Interface Requirements
- Refer to #ADMIN
- Also refer to below wireframe:
- External KPIs should be granted based on subscription structure. This should be managed at the admin level.
- Example: Elizabeth Arden signed up for 60-day subscription to KPIs. At the end of the 60-day subscription, all EA users would be de-entitled to KPIs.
- Email notification to users for subscription expiration date. Date calendar for subscription should be managed on Admin level for each client company
- External KPIs should be granted based on subscription structure. This should be managed at the admin level.
- KPI Admin should be it's own menu item. All KPI user/client administration functions should be located within this menu item.
Reporting Requirements
- No Reporting Requirements for Internal Application
User Access / Security Requirements
- Refer to #ADMIN
- KPIs will be entitled to each specific user (will need multi-edit functionality) via Admin level.
- Regarding Multi-Edit Functionality - if there are any conflicts, then display a "grey" checkbox for the feature in question.
Logging Requirements
- Actions on System level and Admin level should be recorded in System Log.
Group / Master Requirements
- Costs will be distributed to each shipment level based on Mode Of Transportation. Each mode will have a different distribution rule.
- Costs for TMS clients will be calculated at load level.
- All currency conversion rules will need to be applied at the shipment level and then aggregated.
Filtering Requirements
- Will need filtering capabilities [E0] in User Level Admin
- KPIs will also have unique filtering capabilities (refer to SOWs)
Archiving Requirements
- All shipments (including Archived shipments) will need to be considered while calculating KPIs.
CyberTrax2 Client Application
<Identify all functional requirements for CT2 Client Application>
User Interface Requirements
- KPI Dashboard
EXAMPLE DASHBOARD 1
EXAMPLE DASHBOARD 2
- KPI Editor
Reporting Requirements
- Download to Excel is required
- Should allow users to select which fields (multi select capabilities) to include in the Excel report.
User Access / Security Requirements
- System Admin should be implemented. See #System_Level
- Accessibility to KPI data must honor client visibility rules.
- KPI accessibility based on paid-subscription structure.
- User Level Admin - grey out KPIs that a user does not have access to
- KPI Dashboard - if subscription ends, or if a KPI is de-entitled for a user, then any saved dashboard panels/charts for that KPI should read "Please subscribe to <xyz> KPI"
Logging Requirements
- No Logging Requirements
Group / Master Requirements
- Costs will be distributed to each shipment level based on Mode Of Transportation. Each mode will have a different distribution rule.
- Costs for TMS clients will be calculated at load level.
- All currency conversion rules will need to be applied at the shipment level and then aggregated.
Filtering Requirements
- Must allow for multiple filtering options at both chart & panel level.
- Filter costs for full costs and VAT/Duty-free costs
Archiving Requirements
- No Archiving Requirements in Client Application
Persistence
System must remember last state (location, state [open/closed], settings) of Dashboard for individual user to reproduce it at the next login.
Non-Functional Requirements
<Identify all non-functional requirements for both CT2 Client Application and CT2 Internal Application>
Performance Requirements
- Assume 30 simultaneous users
- Speed for loading chart
- Maximum response time: 3-seconds
- Speed for loading overlapping multiple KPIs
- Maximum response time: 3-seconds
- Speed for download to excel
- Maximum response time: 3-seconds
Capacity Requirements
- Currently, there are no additional capacity requirements to support KPIs
Support / Maintenance Requirements
User Guides
- Marc will create video user guides for Internal users. We may contract external vendor to create video user guides for external clients.
Training
- No special training requirements. Video user guides should be sufficient.
Log(s) Accessibility
- No special logs for KPIs. Admin changes will be recorded in Systems Log which support team currently has access to.
Testing Requirements
- Marc will lead the UAT.
- Should prepare test cases with prepared data and expected values prior to actual delivery.
- Once system is delivered, then compare system generated values to expected values.
- Utilize Download To Excel to cross-verify system calculations
- All data validations (ie.. all shipments have origin/destination countries, all shipments have required dates, all countries are mapped to a region, etc..) will need to be in place and verified prior to testing & delivery.
Security Requirements
- No special security requirements for KPI
Technical Design & Solution
Mock ups
<Include mock-ups of UI changes, report changes, etc..>
Adding dashboard tab
Naming and editing tab's name
Removing tab
Technology Stack & Architecture
<Include changes to existing Technology Stack & Architecture - new libraries, updated library versions, new software/hardware, new interfaces, etc..>
Technical Diagrams
(Flow Chart, Sequence, UML, Systems Architecture, Technical Architecture, Data Architecture, etc..)
<Include architecture diagrams and flow charts>
Web / Application (New/Modified classes, methods, etc..)
<List new or modified classes and methods>
Database (DDL changes - new/modified tables, indexes, stored procedures, etc..)
<Summarize database changes>
Configuration (Config File changes)
<Summarize config changes>
Logging (Log File changes)
<Summarize Log File changes and locations>
External Interfaces (EDI Message(s), external vendors)
<Identify any new external interfaces. Include sample request and reply along with field definitions. Include Source/Target server(s)/webservice(s) and functional accounts. If this is a modification of an existing EDI message, include samples of current message(s) and new message(s)>
SOW 1
Mantis: 3545
Business Requirements
- Proof of concept for batching data to improve performance
- Deliver first KPI panels, overlap multiple KPIs chart, interaction result based on filter(s), and download to excel ability
- Build KPI Dashboard first phase to be considered to future phases for flexibility
- LIst of KPIs for phase I
- Cost Based KPI
- Cost per KG
- Date Based KPI
- Created to Approved
- Approved to Delivery
- Cost Based KPI
- LIst of KPIs for phase I
- Apply client visibility rules
Overlapping KPIs
- Create Batch Scheduling System to improve performance of KPIs
- Create Background Process
- Create Config File
- Write logic to calculate KPI(s)
- Create and Define Tables
- Create and Define Classes
- Write script to grab info to placeholder
- Batching calculation - to make performance better for the first batch then trigger any incremental every time there is a change
- Dashboard display
- KPIs will be created/displayed on Dashboard Tab layer
- Phase I : start with one tab only
- Phase II : Create Editor to manage Dashboard Tab(s) -> TBD
- See example dashboard 1 and 2 for group by TIME based and NON-Time based at #User_Interface_Requirements_2
- KPIs will be created/displayed on Dashboard Tab layer
- DR KPI Level 1
- Panels, Charts, Gauges and Filters display on the same level on the dashboard
- Panel columns consist of:
- Heading of the top of panel contains category KPI report name such as Cost Based KPI, Date Based KPI
- KPI consists of a list of Name of object KPI report sush as Cost per item, Cost per pound under Cost based KPI panel, Created to Approved, Approved to Delivery under Date based KPI panel
- Time frame for ATD is the name of selected time frame for ATD displays in column heading (dynamic per specified time frame selected) such as previous week, previous month, previous quarter, previous year and display value.
- Value: average value for specific time frame
- Changes percentage value contains percentage change of value per specified time frame compared to the same previous period
- Label: Change
- Formula: ((data)/(previous data) - 1) * 100%
- data: data from time period defined in profile
- previous data: data from previous same period (default is defined in user profile)
- Year to Date value contains average year to date value from year to date (previous week)
- Label: Year to Date
- Calculated value for specified time frame
- User can select time frame from provided list of values
- Panel row consists of:
- Object report name , value 1, value 2, value 3 per row
- Total (x) is sum of Total cost Only (This is for cost based only)
- This shows total X per selected time frame and percentage change of total X compared to the same previous period
- Value: sum of all cost for specific time frame
- Change formula: ((sum of values from period time frame)/(sum of values from previous period time frame) - 1) * 100%
- See mock up below:
- Panel columns consist of:
- Panels, Charts, Gauges and Filters display on the same level on the dashboard
NOTE: Each panel can consist of many KPIs. It is upon KPI(s) that users wish to see from their own visibility info.
- Chart display allows overlap multiple KPIs charts into one chart display for data comparison with different criteria
- If Time based group by is selected, then displays overlap multiple KPIs in a chart
- If Non-time based group by is selected, then displays separated charts of each class of KPIs and allows overlapping multiple KPIs inside of the KPI class/catagory in a chart
- Axis Y of chart (vertical) is always the KPI value based such as Cost per pound, Cost per Item, etc
- This could be dual Axis chart
- Axis X of chart (horizontal) can reflect time frame for ATD for group by data
- Define Scale
- Label for parameter from filters selected
- Define type of chart: Bar, Line, Scatter plot, etc
- Phase I: As we do not give the flexibility for what type of charts to user, default for type of charts should be set such as Cost per Item will use Bar chart as default setting. Created to Approved and Approved to Delivery could be bar chart next to each other as default for the group by of Non-time based. If it is time based group by, it could be "line chart".
- Download to Excel button
- Displays output list select option
- Chart display allows overlap multiple KPIs charts into one chart display for data comparison with different criteria
TIME BASED Group By
NON-TIME BASED Group By
- Gauges consists of:
- Range tolerance setting for each KPI (TBD in phase II)
- Color setting option (TBD in phase II)
- Filters consists of two sections:
- Top section: select parameters to display value
- Group by:
- Carriers - if this is selected, shows result for previous average time frame
- Shippers - if this is selected, shows result for previous average time frame
- Consignees - if this is selected, shows result for previous average time frame
- Geography - if this is selected, shows result for pairing of from to regions for previous average time frame such as North America to Asia, Western Europe to Asia, ...etc
- Time - if time is selected, time frame for ATD criteria below will be applied
- Mode of Transportation:
- Air
- Ocean FCL
- Ocean LCL
- Truck Ocean
- Truck Air
- Truck Domestic
- Show Result:
- Currency // this is currency for cost based only (show when cost based KPI is selected) - this should be able to set from Editor as well(TBD)
- Time Frame for ATD:
- Weekly // if non-time filter selected, shows point of average data for previous week. If time filter is selected, shows point of value for weekly result for 12 weeks previously
- Data point of value starts every Monday (if current week is Week 15, then shows: Week 3, Week 4 Week 5, Week 6, Week 7, Week 8, Week 9, Week 10, Week 11, Week 12, Week 13, Week 14)
- Monthly // if non-time filter selected, shows point of average data for previous month. If time filter is selected, shows point of value for monthly result for 12 months far back for current year and previous year comparison
- Blue line - if this month is April, shows Mar 2012, Feb 2012, Jan 2012, Dec 2012, Nov 2012, Oct 2012, Sep 2012, Aug 2012, July 2012, Jun 2012, May 2012, April 2012
- Red line - if this month is April, shows Mar 2011, Feb 2011, Jan 2011, Dec 2011, Nov 2011, Oct 2011, Sep 2011, Aug 2011, July 2011, Jun 2011, May 2011, April 2011
- Quarterly // if non-time filter selected, shows point of average data for previous quarter. If time filter is selected, shows point of value for quarterly result for 8 quarters data points
- Data point of value starts from the previous quarter, if today is in April month of 2012, show 1st QT 2012, 4th QT 2011, 3rd QT 2011, 2nd QT 2011, 1st QT 2011, 4th QT 2010, 3rd QR 2010, 2nd QT 2010
- Yearly // if non-time filter selected, shows point of average data for previous year. If time filter is selected, shows point of value for yearly average result back to the first year that have the records for comparison.
- Data point of value starts from the previous year to years previously such as year 2012, 2011, 2010, 2009 etc.
- Weekly // if non-time filter selected, shows point of average data for previous week. If time filter is selected, shows point of value for weekly result for 12 weeks previously
- Group by:
- Bottom section: filters to narrow result
- PO
- Item Code
- Origin Countries
- Destination Countries
- Carriers
- Shippers
- Consignees
- Top section: select parameters to display value
- Gauges consists of:
- DR KPI Level 2
- Download to Excel (data dump: Common option for all KPIs)
- Output fields: Define Field Mappings (CT to XLS)
- CT# (This should be always on the XLS report)
- Load Number (EA-Truck Dom/ TMS tag)
- Group Number
- Shipper
- Consignee
- Commodity Item P.O
- Commodity Item SKU
- Commodity Item Description
- Commodity Item Quantity
- Commodity Gross KG (Truck)
- Commodity Gross LB (Truck-Domestic)
- Chargeable Weight (Air)
- Cubic Meters (LCL)
- TEU (FCL)
- Origin Country
- Destination Country
- Cost per Item (KPI)
- Created on Date
- Approved on Date
- Actual Delivery Date
- Created To Approved (KPI)
- Approved To Delivery (KPI)
- NOTE 1: Once list of object reports of KPIs is added, this should be added into output list as well.
- NOTE 2: For the field(s) that is not applicable to the record, show n/a result on the spreadsheet if user selects to see this output
- Output fields: Define Field Mappings (CT to XLS)
- Download to Excel (data dump: Common option for all KPIs)
- Validation
- Limitation for number of KPIs per chart
Cost Based KPI
- Consider Cost for close shipment ONLY, apply the same logic as GM split
- Take the re-open and close shipment into the consideration as well to re-calculate
- TblGeneric Shipment: A lastCloseDate, OCStatus,
- Currency: Apply new currency rule from GM Split for conversion. Default: USD
- IF Actual Arrival Date is EMPTY, THEN uses currency from Created On Date
- IF Actual Arrival Date is SET, THEN uses currency from Actual Arrival Date
- Group shipment --> Consider currency from date logic above to the lowest number of CT in the group
- Include/Exclude VAT and Duty report ability
Cost per KG
THIS IS STILL NEEDED TO FILL OUT >>> CLARIFY >>> UNDER CONSTRUCTION section!!!!!!!!!
Cost Calculation --> Need to be confirmed by Marc
The total cost for the shipment is the sum of all sales invoices issued against the individual CT record or the group shipment
Example: Case 1 CT 123456 has three sales invoices issued against it. Invoice 1 in the amount of $5.00 Invoice 2 in the amount of $10.00 Invoice 3 in the amount of $5.00 Total cost for the shipment would be $20.00
Case 2 If CT 123456 is a part of a master 123, Master 123 has CT 123456 and CT 123789 and both CTs have three same sales invoices issued against it.
This sum should be of sales invoices billed to a pre-determined bill to party linked to the client company that is viewing the KPI for External users
Take this total cost and divide it by the desired KG to detemine the cost per KG.
- In case of group shipments, we need to make sure the KG is the total sum of all of the CT's in the group
Example: This shipment is 10 KG Invoice 1 Bill to: ABC amount $25.00 Invoice 2 Bill to: ABC amount $15.00 Invoice 3 Bill to: XYC amount $5.00 Invoice 4 Bill to: XYZ amount $50.00
When XYZ looks at the KPI for this shipment, average cost per KG: $5.5
(Sum of the invoices billed to XYZ for this shipment = $55.00 and this shipment weights 10 KG): 55/10 = $5.5 per KG
Mode of Transportation
- AIR
- Logic:
- Cost per KG = (Sell Rate/Chargeable Weight of CT record) ????? not sure for many sell rate with different Bill to Parties
- Logic:
- Ocean FCL
- Logic:
- Cost per KG = (Sell Rate/Gross KG of CT record(s))
- Logic:
- Ocean LCL
- Logic:
- Cost per KG = (Sell Rate/CBM of CT record(s))
- Logic:
- Truck
- Truck-Dom
- Logic:
- TMS:
- Cost per KG = (Sell Rate/Gross KG of record(s))
- Consider cost to shipment level to find value within a load
- Non-TMS:
- Cost per KG = (Sell Rate/Gross KG of record(s))
- Consider cost to shipment level to find value within a group if there is any
- TMS:
- Logic:
- Truck-Dom
- Truck-Ocean
- Logic:
- Cost per KG = (Sell Rate/Gross KG of record(s))
- Logic:
- Truck-Ocean
- Truck-Air
- Logic:
- Cost per KG = (Sell Rate/Gross KG of record(s))
- Logic:
- Truck-Air
- Exception: Special case for E0. Client Company that is using TMS such as Truck Domestic - EA DOM PORTAL
- Calculate per shipment within the load
- Calculate value into shipment level
- Case of Group shipment - This should be calculated value into shipment level within the group
- Case of Load shipment - This should be calculated value into shipment level within the load
- Questions: What is the logic for the Cost???
- Many invoices within a CT
- Different Bill to Parties with in the CT
- What is the sell rate?
- What are VAT and DUTY logics?
- Client Visibility
- Case of bill shared across all CTs in a master/group?
Date Based KPI
Created to Approved
- Number of days since the date of creation the shipment until the date of its approved
- Logic per shipment: Created To Approved = Approved on Date - Created on Date
- Logic KPI for Average number of created to approved = ((Sum of Created to Approved number of days)/(number of shipments))
Mode of Transportation
- AIR Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Ocean FCL Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Ocean LCL Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Truck
- Truck-Dom TMS Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: #CT_bo#Approved_On
- NOTE: Approved on date is a different date from authorized on date???? This needs to be clarified
- Truck-Dom TMS Mapping:
- Truck-Dom NON-TMS Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Truck-Dom NON-TMS Mapping:
- Truck-Ocean Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Truck-Ocean Mapping:
- Truck-Air Mapping:
- Created on Date: #CT_bo#Created_On_Date
- Approved on Date: CT_bo#Authorized_On
- Truck-Air Mapping:
Approved to Delivery
- Number of days since the date of approved the shipment until the date of its delivery
- Logic per shipment: Approved To Delivery on Date = Delivery on Date - Approved on Date
- Logic KPI for Average number of approved to delivery = ((Sum of Approved to Delivery number of days) / (number of shipments))
Mode of Transportation
- AIR Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: CT_bo#Actual_Delivery_Date
- Ocean FCL Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: Container#Actual_Delivery_Date
- Ocean LCL Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: CT_bo#Actual_Delivery_Date
- Truck
- Truck-Dom TMS Mapping:
- Approved on Date: #CT_bo#Approved_On
- NOTE: Approved on date is a different date from authorized on date???? This needs to be clarified
- Delivery on Date: CT_bo#Actual_Delivery_Date
- Truck-Dom TMS Mapping:
- Truck-Dom NON-TMS Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: CT_bo#Actual_Delivery_Date
- Truck-Dom NON-TMS Mapping:
- Truck-Ocean Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: Container#Actual_Delivery_Date
- Truck-Ocean Mapping:
- Truck-Air Mapping:
- Approved on Date: CT_bo#Authorized_On
- Delivery on Date: CT_bo#Actual_Delivery_Date
- Truck-Air Mapping: