/*****************************************************************************
*
* Filename         - $Workfile:   bag_trace_v2.sql  $
*
*                     Name              Date      Version     CR Number
* Author           - See revision history below.
* Last Update      - See revision history below.
*
* Project Name     - TAGTRAK(Oracle Database)
*
* Source Code
* Identifier       - 0/3/300/8010/112
*
* Design Spec
* Section          - 
*
* Contents         - Live Schema View
*
* Language         - Oracle SQL*Plus script
*
* Classification   - Commercial In Confidence
*
*          (c) Ultra Electronics Limited, 1997
*
*****************************************************************************/
/****************************************************************************
* @(#)$Workfile:   bag_trace_v2.sql  $  $Revision:   1.2  $
*
* Revision History
*
* Note that user tagtrak is many users. For these users the user
* name is entered as the last line in the change description.
*
* $Log:   /pvcsarch/db_ora/db/source/live/views/bag_trace_v2.svl  $
* 
*    Rev 1.2   21 Jun 2001 15:36:28   tagtrak
* OR:
* CR:
* Re-baseline version 4.0.0 to include patches.
* 
*    Rev 1.1   02 Apr 1998 19:47:38   tagtrak
* OR:
* CR:
* REV:
* Initial Issue
* See label for concession
* 
*    Rev 1.0   22 Oct 1997 16:50:34   tagtrak
* OR:
* CR:
* REV:
* Initial check-in
*
****************************************************************************/

PROMPT Creating view   BAG_TRACE_V2   ;
CREATE OR REPLACE FORCE VIEW   BAG_TRACE_V2   (PAX_ID  , BAG_TRACE_TIME  , USER_ID  , LOCATION_CODE  , ERROR_ID  , TRACE_ACTION  , SCANNER_ID  , BAG_TAG2B  , BAG_TAG3  , FLIGHT_ID_SCAN  , BAG_TAG1  , BAG_TAG  , BAG_TAG2A  , RECORD_ID  
) as
select
  pax_id,
  bag_trace_time,
  user_id,
  location_code,
  error_id,
  trace_action,
  scanner_id,
  bag_tag2b,
  bag_tag3,
  flight_id_scan,
  bag_tag1,
  bag_tag,
  bag_tag2a,
  record_id
from
  bag_trace;

