249378: Difference between revisions

From CTMS
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== 249378 (PA-7DDFH9) Check and enhance EFX data export ==
= 249378 (PA-7DDFH9) Check and enhance EFX data export =
 
'''Copyright OBS Logistics © 2007'''


Copyright OBS Logistics © 2009


The information contained herein is the property of OBS Logistics and is supplied without liability for errors or omissions. No part may be reproduced or used except as authorised by contract or other written permission. The copyright and foregoing restriction on reproduction and use extend to all media in which the information may be embodied
The information contained herein is the property of OBS Logistics and is supplied without liability for errors or omissions. No part may be reproduced or used except as authorised by contract or other written permission. The copyright and foregoing restriction on reproduction and use extend to all media in which the information may be embodied


=Functional Overview=


== Client Requirement ==
== Client Requirement ==
Line 30: Line 30:
This change will be applied to system version 10.6 on CONTST and once approved CONPRD.  
This change will be applied to system version 10.6 on CONTST and once approved CONPRD.  


== Functional Description ==
= Functional Description =
The EFX message is currently sent when the trip is set to status TENDERED. However the message informing the user that the message has been sent is displayed at the wrong point. This will be changed so that the message only appears when the message has been sent.  
The EFX message is currently sent when the trip is set to status TENDERED. However the message informing the user that the message has been sent is displayed at the wrong point. This will be changed so that the message only appears when the message has been sent.  


Line 46: Line 46:




[[Image:]]
[[Image:249378_1.jpg]]




Line 52: Line 52:




[[Image:]]
[[Image:249378_2.jpg]]




Line 60: Line 60:
The outbound file will be changed to match the mapping shown below. <nowiki>Outbound files will be put in the directory /webint/<database>/interface/out to be collected. </nowiki>
The outbound file will be changed to match the mapping shown below. <nowiki>Outbound files will be put in the directory /webint/<database>/interface/out to be collected. </nowiki>


[[Image:249378_3.png]]


{| Border="1"
| <center>'''Field name'''</center>
| <center>'''Datatype'''</center>
| <center>'''Example'''</center>
|-
| '''RECHEADSTART'''
| Text
| <nowiki><RECHEADSTART></nowiki>
|-
| MTS_OPERATION
| Text
| COPF
|-
| MESSAGE_TYPE
| Text
| EFX_TRIP_DETAILS
|-
| TIMESTAMP
| Date/Time (DD/MM/CCYY)
| 25/07/2007 16:29:50
|-
| '''RECHEADEND'''
| Text
| <nowiki><RECHEADEND></nowiki>
|-
| colspan="3" | <center>'''Details'''</center>
|-
| '''EFXTRIPDTLSTART'''
| Text
| <nowiki><EFXTRIPDTLSTART></nowiki>
|-
| Trip Number
| Text
| MAN-1234
|-
| Owning Depot
| Text
| Test Depot
|-
| First PK Loc Name
| Text
| Test Depot
|-
| First PK Loc Post Code
| Text
| OX16 3
|-
| Pick by Date
| Date/Time (DD/MM/CCYY)
| 25/07/2007
|-
| Pick by Time
| Date/Time (HH24:MM)
| 13:00
|-
| First PK Dep Date
| Date/Time (DD/MM/CCYY)
| 25/07/2007
|-
| First PK Dep Time
| Date/Time (HH24:MM)
| 13:54
|-
| Sum of delivery DU's on Trip (integer)
| Integer
| 12
|-
| DU Type from first line of first order
| Integer
| CHEP PALLET
|-
| Sum of delivery Weight on Trip (integer)
| Double
| &nbsp;
|-
| Trip Cost
| Double
| 123
|-
| Expiry Date
| Date/Time (DD/MM/CCYY)
| 25/07/2007
|-
| Expiry Time - 2 Hours
| Date/Time (HH24:MM)
| 11:54
|-
| Trailer Type via decode
| Text
| &nbsp;
|-
| Carrier via Decode if not EFX
| Text
| CARRIER 01
|-
| Temperature Type from first order
| Text
| AMBIENT
|-
| First DL Loc Post Code
| Text
| &nbsp;
|-
| First DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at first DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at first DL stop
| Text
| &nbsp;
|-
| Second DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at second DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at second DL stop
| Text
| &nbsp;
|-
| Third DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at third DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at third DL stop
| Text
| &nbsp;
|-
| Fourth DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at fourth DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at fourth DL stop
| Text
| &nbsp;
|-
| Fifth DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at fifth DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at fifth DL stop
| Text
| &nbsp;
|-
| Sixth DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at sixth DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at sixth DL stop
| Text
| &nbsp;
|-
| Seventh DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at seventh DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at seventh DL stop
| Text
| &nbsp;
|-
| Eighth DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at eighth DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at eighth DL stop
| Text
| &nbsp;
|-
| Ninth DL Loc Name
| Text
| &nbsp;
|-
| Latest delivery date from order at ninth DL stop
| Text
| &nbsp;
|-
| Latest delivery time from order at ninth DL stop
| Text
| &nbsp;
|-
| colspan="3" | <center>'''Trailer'''</center>
|-
| '''EOF'''
| Text
| <nowiki><EOF></nowiki>
|}




Line 339: Line 67:




{| border="1"
{| class="wikitable" align=left width=55% style="background:lightyellow;color:black;"
| <center>'''EFX Fields'''</center>
 
|-
  ! style="background:darkblue;color:white;"| EFX FIELDS
       
|-
  | style="border:3px solid darkblue;"|<RECHEADSTART>


|-
|-  
| <nowiki><RECHEADSTART></nowiki>
  | style="border:3px solid darkblue;"|MTS database name


|-
|-  
| MTS database name
  | style="border:3px solid darkblue;"|Tripstatus


|-
|-  
| Tripstatus
  | style="border:3px solid darkblue;"|timstamp


|-
|-  
| timstamp
  | style="border:3px solid darkblue;"|<RECHEADSTART>


|-
|-  
| <nowiki><RECHEADSTART></nowiki>
  | style="border:3px solid darkblue;"|<EFXTRIPDTLSTART>


|-
|-  
| <nowiki><EFXTRIPDTLSTART></nowiki>
  | style="border:3px solid darkblue;"|Load Ref


|-
|-  
| Load Ref
  | style="border:3px solid darkblue;"|EFX_REF


|-
|-  
| EFX_REF
  | style="border:3px solid darkblue;"|Owning Depot
 
|-
| Owning Depot


|-
|-  
| <nowiki><EFXTRIPDTLEND></nowiki>
  | style="border:3px solid darkblue;"|<EFXTRIPDTLEND>


|}
|}
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>


<nowiki>The inbound files will be put into the folder /webint/<database>/interface (This will be controlled by a system parameter – See below). A new database job will be created that will handle the inbound files from this directory.</nowiki>
<nowiki>The inbound files will be put into the folder /webint/<database>/interface (This will be controlled by a system parameter – See below). A new database job will be created that will handle the inbound files from this directory.</nowiki>
Line 382: Line 130:




EFX_IDENTIFIER will be the first three characters of the inbound file names. This will be set to ‘EFX*’.  
EFX_IDENTIFIER will be the first three characters of the inbound file names. This will be set to ‘EFX*’.


 
= Document History =
=== Document History ===




Line 411: Line 158:
|}
|}


=== Authorised By ===
= Authorised By =




Line 422: Line 169:
|TMSCC MTS Product Manager  
|TMSCC MTS Product Manager  
|}
|}
==Part of Release(s)==
<ul>
<li>[[CONPRD Release - 9/12/2008]]</li>
</ul>

Latest revision as of 14:16, 27 January 2010

249378 (PA-7DDFH9) Check and enhance EFX data export

Copyright OBS Logistics © 2009

The information contained herein is the property of OBS Logistics and is supplied without liability for errors or omissions. No part may be reproduced or used except as authorised by contract or other written permission. The copyright and foregoing restriction on reproduction and use extend to all media in which the information may be embodied

Functional Overview

Client Requirement

Check Data compilation for EFX extract FileAdd 'Expiry Date and Time' to output fields.


Solution

The EFX file will be sent when the following conditions are met:-

  • A trip was at a status of planned
  • EFX Carrier assigned
  • EFX Box ticked
  • Pop up payment box populated with rate etc
  • OK button pressed
  • Trip Set to Status Tendered

Two extra fields will be added to the generation of the output file. These fields will be taken from the column TRIP_EXPIRY_TIME on the SCH_TRIP table. This column contains both the expiry date and time. The payments popup screen will be amended to allow the user to enter the Expiry date and time. The existing fields on Trip Manipulation and Trip Planning will be display only.


The outbound and inbound EFX flows will amended to match the mapping provided.


Scope

This change will be applied to system version 10.6 on CONTST and once approved CONPRD.

Functional Description

The EFX message is currently sent when the trip is set to status TENDERED. However the message informing the user that the message has been sent is displayed at the wrong point. This will be changed so that the message only appears when the message has been sent.


The message will only be triggered under the following conditions:-


  • A trip was at a status of planned
  • EFX Carrier assigned
  • EFX Box ticked
  • Pop up payment box populated with rate etc
  • OK button pressed
  • Trip Set to Status Tendered


249378 1.jpg


Two fields will be added to the Payment Details window that will allow the user to enter the expiry date and time. The current fields on Trip Manipulation / planning will become display only and will pick up the values from the data entered in the Payment details window.


249378 2.jpg


The above screen changes will be applied to both the Trip Manipulation screen and the Trip Planning screen.


The outbound file will be changed to match the mapping shown below. Outbound files will be put in the directory /webint/<database>/interface/out to be collected.

249378 3.png


The Inbound flow will be amended to accept CSV files in the below format.


EFX FIELDS
<RECHEADSTART>
MTS database name
Tripstatus
timstamp
<RECHEADSTART>
<EFXTRIPDTLSTART>
Load Ref
EFX_REF
Owning Depot
<EFXTRIPDTLEND>



















The inbound files will be put into the folder /webint/<database>/interface (This will be controlled by a system parameter – See below). A new database job will be created that will handle the inbound files from this directory.


When a file is processed the EFX_REF and owning depot will be updated on the relevant sch_trip record.

As part of the inbound flow 2 new system parameters will be created. These will be ‘EFX_PATH’ and ‘EFX_IDENTIFIER’. EFX_PATH will contain the directory path into which the inbound files should be put. Initially this will be /webint/<database>/interface.


EFX_IDENTIFIER will be the first three characters of the inbound file names. This will be set to ‘EFX*’.

Document History

Version
Date
Status
Reason
Initials
1a
02/06/08
Draft
Initial version
DNG
1
02/12/08
Issued
Reviewed and Issued
MJC

Authorised By

Matt Crisford OBS Development Manager
Suk Sandhu TMSCC MTS Product Manager


Part of Release(s)