Log
From UG
Contents |
Info
Parent Mantis
Scope of this wiki
This wiki covers the logging of CT2 user's activities which make the changes to system, including system's actions.
Glossary
Core Business Need
This is a report on all user activity in the system.
Business Requirements
You can search by date or/and component and see who and when set or changed any value in the system.
- 1) System Logs
- 2) Admin Logs
- 3) Acc Logs
- 4) Operation Logs
- 5) Shipment Logs
- 6) Master Logs
SOW 0
Mantis: 2397 (* Ops Admin Misc) Create log for Admin
Core requirements:
This feature displayed in the table form which contains the next details of Admin changes:
- 1) When change happened,
- 2) Who is made changes,
- 3) What was changed,
- 4) Admin Component (and Sub-Component) where change happened.
Admin Update Log should reflect all changes in Admin part of CT2.
Admin Update log should provide a search feature. All columns of Admin Update log should have an able to a sorting.
Solution
Components (and Sub-Components)
- Address Book: Company-City List, Transportation, Vendors, Bill To Parties
- Client Companies: Client Companies, Client Companies Groups, Credit Limits, Credit Terms, Credit Statuses
- Create CT Admin: Numbers, CT1 vs CT2 Client Companies
- Users and Offices: Offices, Jaguar Users Groups, Jaguar Users, Non-Jaguar Users
- Geography: Regions, Countries, Airports, Port/Terminals, Busiest Port/Terminals
- Transportation: Shipping Terms, Default Authorization Methods, Move Types/HBLs, Container Sizes, Container Types, Customs Statuses, FDA Statuses, Packaging Pallet Types, Delivery Date Types, PO Issued By
- Carriers: Airlines, Steamshiplines
- Automated Estimated Delivery Dates: Air, FCL AW, FCL MLB, LCL AW, LCL MLB
- Users Access Admin: Basic Ops, Super Ops, Basic Acc, Super Acc, Management, Sales etc
- Client App Admin: Manage RSS News Feeds, Testimonials, Mobile Providers, BCC List, TMS
- Shipment Invoices Recovery: Number of Invoice what was changed
Columns
- Date: Date when change happened. Displayed in standard CT2 date format.
- Jaguar User / Office: Name of Jaguar User who made changes (and User's Office).
- Event: Type of happened change: { Add, Remove, Edit, Archive, Restore }.
- Component: Name of the component where change happened.
- Sub-Component: Name of the sub-component where change happened.
- Field: Name of the field what was changed.
- Change: Old and new values of changed fields in format old value => new value.
Example:
SOW 1
Mantis: 3094 (Main Log) Changes: 1) additional filters 2) downloads to xls
Core requirements:
r1) add ability to download "log results" into excel
r2) add filters ( Multiselect):
- Operator Name
- Office
- Internal Group
- Client
Solution
Connection logic for filters (Operator, Client user, Office, User group):
- Within multiselect filters use OR connection.
- Connect above-mentioned filters each other by OR also.
- Connect them to other filters by AND operator.
NOTE: "Show system logs" checkbox was added. This control object doesn't affect of an any result of query. It only controls the showing/hiding of system messages (have empty User/Office column) in report.
Example of report downloaded into Excel:
SOW 2 Create a better framework for logging Air Status EDI Messages
0003479: Create a better framework for logging Air Status EDI Messages
Timely processing
- Provide control the unbroken handling of received Freight Status Answer[1] (FSA) messages on airdescartes FTP
- accordingly to set "Air Status/EUAN updates frequency in seconds(s)" in Air Status/EUAN Admin section of CT2
Complete handling
- Handle the received files
- Valid files (update CT). Remove them from FTP after use.
- Not valid files (don't update CT). Keep them on FTP in proper directories - "Not valid files", "Files with dates in future".
- Record derived information of each Message
- if "<Status>" tag presented in Message see detailed list in Expanded Consignment Status description
- if "<Status>" tag missed in Message use details from "<OtherServiceInformation>" tag
- "NO RECORD FOUND" should be ignored
Increase performance
Taken from mantis, written in note (0012035) by Vlad:
- 1) log error message instead of throwing an exception when incomingStatuses is null.
- 2) messageType in IncomingAirEnvelope (line 153). (need to clarify)
- 3) use FTP RENAME command instead deleting and re-uploading files;
- 4) attempt to create directories should be done at most once, immediately after internal application is deployed.
Extended description in System Log
- display full description of status
- display not only Dates but Airports/Carriers or smth
User Guide
User Guide Status and SOW covered
Up to date = Yes. Covered: #SOW 0, #SOW 1.
Menu
Main Log is available from the main menu.