FS 308744 LFS EPOD-TTM Interface Changes

From Calidus HUB
Revision as of 17:27, 30 July 2013 by Anw (talk | contribs) (v0.1 - Initial draft for review - test plan not yet written.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)





Aptean Logo.png







LFS

LFS EPOD-TTM Interface Changes


CALIDUS ePOD

26th July 2013 - 0.1
Reference: FS 308744












































Functional Overview

Client Requirement

GPS Tracking functionality required within TTM.

Also, EPOD-TTM Interface needs to be split into multiple sections:

  • Initial upload only - comprising ORD and TRP messsages
  • Tracking Updates only - comprising OIT and ARR messages
  • GPS Tracking Updates - comprising GPS messages
  • Confirmation only - comprising CAN, DEL or SIG messages

Solution Overview

WinMo and Android devices both send through a times GPS tracking message to the server, in the following format:

<GPS_STATUS_REQUEST ID="0" SITE="L03" USER="nhill" PASSWORD="whatever" DEVICE_ID="whatever" 
  GPS_STAMP="-9.000000,50.000000" DEVICE_OS="Android 4.0.3" DEVICE_TYPE="Samsung I9300">
   <EPL_LOAD_ID>TRIP</EPL_LOAD_ID>
   <EPL_VEHICLE_ID>Trailer</EPL_VEHICLE_ID>
   <REQUEST_TIME_DATE>YYYY-MM-DDTHH:MM:SS</REQUEST_TIME_DATE>
</GPS_STATUS_REQUEST>

This is received and stored on the USER_AUDIT table, with the following columns:

  • EPL_SITE_ID
  • EPL_USER_ID
  • EPL_VEHICLE_ID
  • EPL_LOAD_ID
  • EPL_JOB_ID
  • EPL_MESSAGE_TYPE
  • EPL_GPS_COORD
  • EPL_AUDIT_DATE
  • EPL_AUDIT_TIME
  • EPL_JOB_TYPE
  • EPL_XFER_TTM_FLAG

This information will be used to create a new message to TTM (GPS), which will be imported by the TTM system and saved internally. This information will be used by a new TTM enquiry screen.

Scope

None.

Set-up

Pre-requisites

  • A working CALIDUS ePOD system.
  • A working CALIDUS TTM system, accessible to the CALIDUS ePOD system.

Menu Structure

None

Data

Data is expected to be configured as follows:

Table EPOD_XF_CONFIG:

  • EPL_XF_CONFIG_ID - As assigned to the Site or Job Group
  • EPL_DESCRIPTION - As required
  • EPL_XF_TYPE = "FILE"
  • EPL_XF_DESTINATION = As specified by the TTM system
  • EPL_XF_ID = "TTM"
  • EPL_WEB_USER = ""
  • EPL_WEB_PASSWORD = ""
  • EPL_XF_DIRECTION = "O"
  • EPL_EXPORT_FORMAT = "Image"
  • EPL_FILENAME = ""
  • EPOD_XF_MSG_TYPES = "TRP|ORD|ARR|OIT|GPS|CAN|DEL"

Functional Description

Database

Table EPOD_XF_CONFIG requires the following modifications:

  • EPOD_XF_MSG_TYPES (New field) - nvarchar(100)

Existing packages will be modified to allow the creating, editing and selecting of the new field, including but not limited to:

  • EPOD_XF_CONFIG_INSERT
  • EPOD_XF_CONFIG_SEARCH
  • EPOD_XF_CONFIG_SELECT
  • EPOD_XF_CONFIG_SELECT_INBOUND
  • EPOD_XF_CONFIG_UPDATE

The existing EPOD_XF_CONFIG DAL object will be changed to:

  • Read the new field
  • Add as a parameter and searchable item

Admin

Add the following new fields to the XF Config Maintenance screen:

  • EPOD_XF_MSG_TYPES - A text field with allowed text entries of pipe-delimited text. This should be enabled for entry for export ID "TTM" only.

Export - GPS Message Type

A new message type will be added to the Auto-Export TTM export, as follows:

  • Type GPS.

This message will be used for the following:

  • GPS Tracking

The message will be sent by finding all EPL_MESSAGE_TYPE of "GPS_REQUEST" on EPOD_USER_AUDIT where the interface flag is "", " " or "N" - a package will be written to do this. This will also check whether the GPS message has been configured.

Only those records with a non-blank GPS co-ordinate will be selected.

The records will be sorted by Site, User, Vehicle and Date/Time

All records found will be sent in one file.

The process will:

  • Start transaction
  • Build EVENT, EVENT_HEADER, EVENT_DETAIL and GPS_TRACKS XML tags for the message.
  • For Each Record Found:
    • Compare to Last Site/User/Vehicle
    • If different:
      • If not the first record, close GPS_POINTS tag
      • Build the GPS_TRACK XML detail information for the record and start GPS_POINTS.
    • Build the GPS_POINT XML detail information for the record.
    • Set the record interface flag to "Y"
    • Store Last Site/User/Vehicle
    • Build/append temporary file with XML information
  • Close GPS_POINTS, GPS_TRACKS, EVENT_DETAIL, EVENT_HEADER and EVENT tags and append to temporary file.
  • Send temporary file to final destination directory and filename
  • Commit transaction

GPS message format:

<?xml version="1.0" encoding="utf-8"?>
<OBS_XML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="file:///P:/OBS%20XML/LOTS%20tripOrder/LOTS-tripOrder%20v1.04.xsd">
 <EVENT>
   <EVENT_HEADER>
     <EVENT_PROCESSED>N</EVENT_PROCESSED>
     <EVENT_SOURCE_TYPE>EPOD</EVENT_SOURCE_TYPE>
     <EVENT_SOURCE_NAME>EPL_SITE_ID</EVENT_SOURCE_NAME>
     <EVENT_DATE>1697-02-01T00:00:00Z(NOW)</EVENT_DATE>
     <EVENT_TYPE>GPS</EVENT_TYPE>
     <EVENT_ACTION>C</EVENT_ACTION>
   </EVENT_HEADER>
   <EVENT_DETAIL>
     <GPS_TRACKS>
       <GPS_TRACK>
         <HAULIER>EPL_SITE_ID</HAULIER>
         <HAULIER_NAME>EPOD_SITE.EPL_DESCRIPTION</HAULIER_NAME>
         <DRIVER>EPL_USER_ID</DRIVER>
         <DRIVER_NAME>EPOD_USER.EPL_USER_NAME</DRIVER_NAME>
         <TRACTOR>EPL_VEHICLE_ID/REG?</TRACTOR>
         <GPS_POINTS>
           <GPS_POINT>
             <GPS_POINT_DATE>1697-02-01T00:00:00Z(EPL_AUDIT_DATE/TIME)</GPS_POINT_DATE>
             <TRACTOR_LAT>EPL_GPS_COORD(1)</TRACTOR_LAT>
             <TRACTOR_LON>EPL_GPS_COORD(2)</TRACTOR_LON>
             <TRIP_ID>EPL_LOAD_ID</TRIP_ID>
           </GPS_POINT>
         </GPS_POINTS>
       </GPS_TRACK>
     </GPS_TRACKS>
   </EVENT_DETAIL>
 </EVENT>
</OBS_XML>

Notes:

  • Field contents are taken from table EPOD_USER_AUDIT unless otherwise specified.
  • TRACTOR_LAT/LON are extracted from EPL_GPS_COORD. The text before the comma is LAT, after is LON.

Configuring TTM Message Types

The EPOD-TTM Interface will be modified to allow different message types to be sent separately:

  • Initial upload only - comprising ORD and TRP messsages
  • Tracking Updates only - comprising OIT and ARR messages
  • GPS Tracking Updates - comprising GPS messages
  • Confirmation only - comprising CAN, DEL or SIG messages

This will be completed by adding a field onto EPOD_XF_CONFIG, called EPOD_XF_MSG_TYPES. This will be populated with the message types being sent, delimited by vertical bar, as follows:

  • TRP|ORD|ARR|OIT|GPS|CAN|DEL|SIG

The TTM processes will be modified to check that the individual message types are configured when sending, by checking that the message type being sent is in the string value of EPOD_XF_MSG_TYPES of the EPOD_XF_CONFIG record associated to the Job Group or Site. For example, when sending TRP messages, the configuration against the Site or Job Group should be checked that the message type is configured, or the record will not be sent.

The existing package EPOD_XFER_SELECT_JOB_COMPLETE_TTM will be modified to check the value of EPL_XFER_TTM_FLAG of EPOD_JOB <> 'Y' rather than = "N", as this will allow the interface to operate correctly even if the ORD messages are not being sent.

Improving Efficiency of Messages

Note Note: Please reference the specification under reference 310488 for details of how certain messages have been changed in how they are retrived through the DAL.

The existing TTM message sending procedures should be modified to be brought into line as per the message sending here.

The changes required are:

  • The existing SELECT packages will be modified to retrieve the EPOD_XF_CONFIG records (from Job Group or Site) with the main record. The packages requiring modification are:
    • EPOD_XFER_SELECT_JOB_COMPLETE_TTM
    • EPOD_XFER_SELECT_LOAD_TTM
    • EPOD_XFER_SELECT_OIT_ARR_TTM
    • EPOD_XFER_SELECT_OIT_TTM
    • EPOD_XFER_SELECT_TTM
  • DAL objects will be created (inherited from the existing objects) if necessary to allow EPOD_XF_CONFIG objects to be decalred as part of the returned object. New DAL objects required are:
    • EPOD_JOB_XFCONFIG (alrady created as part of 310448)
    • EPOD_LOAD_XFCONFIG
    • EPOD_USER_AUDIT_XFCONFIG
  • The existing functions for sending the TTM messages will be simplified to check the values of the XF_CONFIG property of the new DAL objects, rather that retrieve the records again. The functions that require modifications are:
    • EPOD_JOB.GetJobsXferTTM
    • EPOD_LOAD.GetLoadsXferTTM
    • EPOD_USER_AUDIT.GetOITARRXferTTM
    • EPOD_SYS_EXPORT
      • ExportTTM
      • ExportORD
      • ExportCANDEL
      • ExportOIT
      • ExportTRP

TTM Changes Required

Note Note: This section is not intended to be a full specification of requirements for TTM modifications, but instead a bullet list of changes required, for specification elsewhere.

  • New GPS interface handler in the Poller
  • New Location Tracking screen within TTM.

Appendix A: TEST PLAN

Test Script / Scenario ReferenceLFS EPOD-TTM Interface ChangesCall Number(s): 308744
Test Script / Scenario DescriptionTest the EPOD-TTM Interface changes made for LFSPASS / ISSUES / FAIL
Menu AccessNone 
Pre-requisitesNoneTested By:
 
Test ObjectiveTo test that: GPS Messages are sent and received between the systems as required; TTM Interface functionality can be split down by individual message type.Date:
 



Step Action Result Remarks P/F
1 Area being tested in this cycle      
  Any notes or prerequisites for the tests following.      
1.01 The actions to follow The expected result    
1.02 The actions to follow The expected result    
1.03 The actions to follow The expected result    


Appendix B: Quote & Document References

Cost Details
Activity Estimate
No. of Days
No. of Days Rate per Day (£) Cost (£ Exc. VAT)
Requirements 0.00 0.00 600 £0.00
Change Request Evaluation 0.00 0.00 600 £0.00
Functional Specification 0.00 0.00 600 £0.00
Technical Specification 0.00 0.00 600 £0.00
Development 0.00 0.00 600 £0.00
Testing and Release 0.00 0.00 600 £0.00
Implementation 0.00 0.00 600 £0.00
Project Management First argument to "number_format" must be a number. First argument to "number_format" must be a number. 600 £First argument to "number_format" must be a number.
 
TOTAL First argument to "number_format" must be a number. First argument to "number_format" must be a number.   £First argument to "number_format" must be a number.
Estimate excludes training, release to live and go live support.

B.1 References

Ref NoDocument Title & IDVersionDate
1   


B.2 Glossary

Term or Acronym Meaning
Ad Hoc A task instigated on the device (spec. Ad Hoc Pallet Move), rather than a task instigated from the WMS and Stock Control.
Advice Note Number An external reference linked to a Goods Receipt.
Aisle A component of a location; usually a space through rows of racking or storage locations; a collection of locations;
Anchor Point A starting location for a search for a suitable storage location; auto-putaway location suggestion start point.
Area A collection of aisles; an area in the warehouse for a particular purpose.
Batch A production batch of a product; a quantity of product that is considered to have the same characteristics;
Bay (Warehouse) A physical loading or unloading point for the warehouse.
Bay A component of a location; usually a space between uprights in racking, comprising several levels (horizontal beams).
Block Stack A stable stack of pallets.
Bulk Bulk storage; Usually full-pallet storage areas, racked or stacked.
Cancellation The facility to cancel a task due to some problem, identified by the user when performing the task.
Check Digit A short code, usually randomly generated and stored against a location, used to help identify that a user is at the right location before they proceed with a warehouse task.
CSV Character-separated values; a text file with multiple rows and values, usually separated with commas.
C-WCS CALIDUS WCS, the name of the OBS Logistics Warehouse Control system
C-WMS CALIDUS WMS, the name of the OBS Logistics Warehouse Management system
Dead Leg A movement of a truck without a pallet; wasted resource.
Despatch The final physical stage of an order; handover of goods to the haulier.
Drive-In A drive-in location, typically multi-level, multi-deep location.
Dual Cycling Processes utilizing P&D locations for interleaving tasks in and out of specific areas, reducing dead leg movements.
Exchange Specifically Pick Exchange or Task Exchange. The process of allowing a user to select a different pallet in a multi-pallet location and exchanging the expected pallet for this one. If the pallet is planned for another task, task exchange will complete this task instead of the expected one first. If the pallet is not planned, pallet exchange will swap the pallet (if suitable).
GR; GRN Goods Receipt; Goods Receipt Number or Note
High Bay Typically tall (greater than 5 level) racking, usually full pallet storage, usually Narrow Aisle.
JIT Just In Time; processes designed to trigger at the last instant.
KPI Key Performance Indicator.
Level A component of a location; usually the vertical compartments of an area, delineated by horizontal beams.
Loading The act of loading pallets onto a vehicle.
Location A uniquely identified space in the warehouse for storage of product. There are many types, most commonly Floor locations (for example, Marshalling, Inbound), Racking or Bulk Storage Locations and Pick faces.
Manifest The contents of a vehicle or container.
Marshalling The act of bringing pallets for an order or load together; an area to do so.
Multi-deep A location with 2 or more pallets stored sequentially i.e. only one can be accessed at a time.
NA Narrow Aisle; usually any area in the warehouse that is restricted access due to space limitations, Narrow Aisles have associate P&D locations.
P&D Pick-up and Drop-off locations; locations used to control the handover of pallets between distinct areas, for example between chambers and the wider area of the warehouse.
PI; Perpetual Inventory The act of continuously checking locations in a warehouse, identifying and correcting product quantity issues. Usually used in Bulk environments rather than Pick Faces. In pick faces, this process is called is called Residual Stock Balance and usually takes place after picking from a pick face.
Pick Face A location designed for picking part of a pallet of stock. Usually a low- or ground-level location.
Pick List (order) The instructions to pick pallets or cases from locations; the paper report associated to this; the stage of preparing these instructions; the sending of these instructions to WCS.
PO Purchase Order.
Pre-advice; Goods Receipt Pre-advice An advanced notification of what is being received. Part of a manifest. Pre-advices can be stock and quantity, or individual pallet level.
Putaway The physical move of a pallet to a storage location as a result of receiving it into the warehouse.
RAG Acronym for Red/Amber/Green, a traffic light colouration system depicting (in sequence) Errors, Warnings or Informational messages. Usually used in operational monitoring to effectively display when certain processes are not working as expected.
RDT Radio Data Terminal.
Replen; Replenishment The act of moving product (usually a pallet) from bulk storage to a pick face.
Reposition The facility to change the location of a movement or putaway when at the final destination, sue to some issue discovered when performing the task.
RF Radio Frequency; An RF device is an RDT, typically used by CALIDUS WCS for executing warehouse tasks.
SCR; CR Software Change Request.
Short Pick The process of not fulfilling an order due to failure to identify sufficient product when picking. May also be used as a term to indicate Short Allocation.
SO Sales Order.
Truck Types Plants, Mechanical Handling Equipment. For example, Reach trucks, Counter-balance trucks, pallet riders, etc.
UOM Unit of Measure.
WA Wide Area; usually any area in the warehouse that is not restricted access due to space limitations, for example, floor areas, not Narrow Aisle.
WCS Warehouse Control System
WMS Warehouse Management System


B.3 Authorised By


Murray Middleton

Project Manager
_____________________________