This document defines the technical specifications for an inventory management system. It outlines the workflow stages a vehicle passes through, including acquiring the vehicle, decoding the VIN, selecting for auction, and more. It also describes the database tables used to manage workflow stages, vehicle sources, and exceptions. Procedures and classes are defined to support moving vehicles through each stage and handling exceptions.
When the volume of data to process is too large in SAP, background jobs are created to run reports or interfaces. But as the business grows, the volume of data increases and such jobs will take many hours to complete. Parallel Processing reduces the time taken by usual background jobs in SAP by optimally utilizing the available background work processes in the server.
When the volume of data to process is too large in SAP, background jobs are created to run reports or interfaces. But as the business grows, the volume of data increases and such jobs will take many hours to complete. Parallel Processing reduces the time taken by usual background jobs in SAP by optimally utilizing the available background work processes in the server.
Welcome to my series of articles on Unified Modeling Language. This is "Session 6 – Component Diagram" of the series. Please view my other documents where I have covered each UML diagram with examples
Discover how to do model execution in Capella, and how to embed digital mockup inside functions to do 'system simulation' with a higher confidence.
A common need in system architecture design is to verify
that the architect is correct and can satisfy its requirements.
Execution of system architect model means to interact with
state machines to test system’s control logic.
It can verify if the logical sequences of functions and interfaces
in different scenarios are desired.
However, only sequence itself is not enough to verify
its consequence or output.
So we need each function to do what it is supposed to do
during model execution to verify its output. That's what we called 'system simulation'.
[Capella Day 2019] Model execution and system simulation in CapellaObeo
A common need in system architecture design is to verify that if the architect is correct and can satisfy its requirements. Execution of system architect model means to interact with state machines to test system’s control logic. It can verify if the logical sequences of functions and interfaces in different scenarios are desired.
However, only sequence itself is not enough to verify its consequence or output. So we need each function to do what it is supposed to do during model execution to verify its output, and that is what we called “system simulation”.
This presentation introduces how we do model execution in Capella, and how to embed digital mockup inside functions to do “system simulation” with a higher confidence.
Renfei Xu, Glaway
Renfei Xu is the technical manager of MBSE solution in Glaway. He has participated in many pilot projects of MBSE in areas like Engine Control, Avionics, Mechatronics and so on. In recent years, he is responsible for the deployment of MBSE using Capella and ARCADIA methodology in a Radar research institute.
Wenhua Fang, Glaway
Wenhua Fang is the Director of Systems Engineering in Glaway. He has more than 12 years of working experience in SE.
He is responsible for more than 10 implementation projects of MBSE in areas like Aircraft, Engine Control, Avionics, Automotive and so on. In recent years, he leads the team to deploy MBSE in China(including using Capella and ARCADIA methodology).
Retail Analytics, with Oracle Data Integrator 11G.
Points about ODI Objects, Interfaces, Variables, Packages, Scenarios, Load Plans, Scheduling.
Batch Scheduling with RA 14.2, UAF in 14.2, Error Managment in RA 14.2
Management of errors in multi-tenant cloud based applications remains a challenging problem. This
problem is compounded due to (i) multiple versions of application serving different clients, (ii) agile nature
in which the applications are released to the clients, and (iii) variations in specific usage patterns of each
client. We propose a framework for isolating and managing errors in such applications. The proposed
framework is evaluated with two different popular cloud based applications and empirical results are
presented.
Error Isolation and Management in Agile Multi-Tenant Cloud Based Applications neirew J
Management of errors in multi-tenant cloud based applications remains a challenging problem. This
problem is compounded due to (i) multiple versions of application serving different clients, (ii) agile nature
in which the applications are released to the clients, and (iii) variations in specific usage patterns of each
client. We propose a framework for isolating and managing errors in such applications. The proposed
framework is evaluated with two different popular cloud based applications and empirical results are
presented.
Welcome to my series of articles on Unified Modeling Language. This is "Session 6 – Component Diagram" of the series. Please view my other documents where I have covered each UML diagram with examples
Discover how to do model execution in Capella, and how to embed digital mockup inside functions to do 'system simulation' with a higher confidence.
A common need in system architecture design is to verify
that the architect is correct and can satisfy its requirements.
Execution of system architect model means to interact with
state machines to test system’s control logic.
It can verify if the logical sequences of functions and interfaces
in different scenarios are desired.
However, only sequence itself is not enough to verify
its consequence or output.
So we need each function to do what it is supposed to do
during model execution to verify its output. That's what we called 'system simulation'.
[Capella Day 2019] Model execution and system simulation in CapellaObeo
A common need in system architecture design is to verify that if the architect is correct and can satisfy its requirements. Execution of system architect model means to interact with state machines to test system’s control logic. It can verify if the logical sequences of functions and interfaces in different scenarios are desired.
However, only sequence itself is not enough to verify its consequence or output. So we need each function to do what it is supposed to do during model execution to verify its output, and that is what we called “system simulation”.
This presentation introduces how we do model execution in Capella, and how to embed digital mockup inside functions to do “system simulation” with a higher confidence.
Renfei Xu, Glaway
Renfei Xu is the technical manager of MBSE solution in Glaway. He has participated in many pilot projects of MBSE in areas like Engine Control, Avionics, Mechatronics and so on. In recent years, he is responsible for the deployment of MBSE using Capella and ARCADIA methodology in a Radar research institute.
Wenhua Fang, Glaway
Wenhua Fang is the Director of Systems Engineering in Glaway. He has more than 12 years of working experience in SE.
He is responsible for more than 10 implementation projects of MBSE in areas like Aircraft, Engine Control, Avionics, Automotive and so on. In recent years, he leads the team to deploy MBSE in China(including using Capella and ARCADIA methodology).
Retail Analytics, with Oracle Data Integrator 11G.
Points about ODI Objects, Interfaces, Variables, Packages, Scenarios, Load Plans, Scheduling.
Batch Scheduling with RA 14.2, UAF in 14.2, Error Managment in RA 14.2
Management of errors in multi-tenant cloud based applications remains a challenging problem. This
problem is compounded due to (i) multiple versions of application serving different clients, (ii) agile nature
in which the applications are released to the clients, and (iii) variations in specific usage patterns of each
client. We propose a framework for isolating and managing errors in such applications. The proposed
framework is evaluated with two different popular cloud based applications and empirical results are
presented.
Error Isolation and Management in Agile Multi-Tenant Cloud Based Applications neirew J
Management of errors in multi-tenant cloud based applications remains a challenging problem. This
problem is compounded due to (i) multiple versions of application serving different clients, (ii) agile nature
in which the applications are released to the clients, and (iii) variations in specific usage patterns of each
client. We propose a framework for isolating and managing errors in such applications. The proposed
framework is evaluated with two different popular cloud based applications and empirical results are
presented.
Things to remember while upgrading the brakes of your carjennifermiller8137
Upgrading the brakes of your car? Keep these things in mind before doing so. Additionally, start using an OBD 2 GPS tracker so that you never miss a vehicle maintenance appointment. On top of this, a car GPS tracker will also let you master good driving habits that will let you increase the operational life of your car’s brakes.
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...Autohaus Service and Sales
Learn what "PARKTRONIC Inoperative, See Owner's Manual" means for your Mercedes-Benz. This message indicates a malfunction in the parking assistance system, potentially due to sensor issues or electrical faults. Prompt attention is crucial to ensure safety and functionality. Follow steps outlined for diagnosis and repair in the owner's manual.
What Exactly Is The Common Rail Direct Injection System & How Does It WorkMotor Cars International
Learn about Common Rail Direct Injection (CRDi) - the revolutionary technology that has made diesel engines more efficient. Explore its workings, advantages like enhanced fuel efficiency and increased power output, along with drawbacks such as complexity and higher initial cost. Compare CRDi with traditional diesel engines and discover why it's the preferred choice for modern engines.
"Trans Failsafe Prog" on your BMW X5 indicates potential transmission issues requiring immediate action. This safety feature activates in response to abnormalities like low fluid levels, leaks, faulty sensors, electrical or mechanical failures, and overheating.
𝘼𝙣𝙩𝙞𝙦𝙪𝙚 𝙋𝙡𝙖𝙨𝙩𝙞𝙘 𝙏𝙧𝙖𝙙𝙚𝙧𝙨 𝙞𝙨 𝙫𝙚𝙧𝙮 𝙛𝙖𝙢𝙤𝙪𝙨 𝙛𝙤𝙧 𝙢𝙖𝙣𝙪𝙛𝙖𝙘𝙩𝙪𝙧𝙞𝙣𝙜 𝙩𝙝𝙚𝙞𝙧 𝙥𝙧𝙤𝙙𝙪𝙘𝙩𝙨. 𝙒𝙚 𝙝𝙖𝙫𝙚 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙥𝙡𝙖𝙨𝙩𝙞𝙘 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙪𝙨𝙚𝙙 𝙞𝙣 𝙖𝙪𝙩𝙤𝙢𝙤𝙩𝙞𝙫𝙚 𝙖𝙣𝙙 𝙖𝙪𝙩𝙤 𝙥𝙖𝙧𝙩𝙨 𝙖𝙣𝙙 𝙖𝙡𝙡 𝙩𝙝𝙚 𝙛𝙖𝙢𝙤𝙪𝙨 𝙘𝙤𝙢𝙥𝙖𝙣𝙞𝙚𝙨 𝙗𝙪𝙮 𝙩𝙝𝙚 𝙜𝙧𝙖𝙣𝙪𝙡𝙚𝙨 𝙛𝙧𝙤𝙢 𝙪𝙨.
Over the 10 years, we have gained a strong foothold in the market due to our range's high quality, competitive prices, and time-lined delivery schedules.
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Hyundai Motor Group
What’s the force behind Hyundai Motor Group's EV performance and quality?
Maximized driving performance and quick charging time through high-density battery pack and fast charging technology and applicable to various vehicle types!
Discover more about Hyundai Motor Group’s EV platform ‘E-GMP’!
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs AttentionBertini's German Motors
IBS monitors and manages your BMW’s battery performance. If it malfunctions, you will have to deal with an array of electrical issues in your vehicle. Recognize warning signs like dimming headlights, frequent battery replacements, and electrical malfunctions to address potential IBS issues promptly.
What Does the Active Steering Malfunction Warning Mean for Your BMWTanner Motors
Discover the reasons why your BMW’s Active Steering malfunction warning might come on. From electrical glitches to mechanical failures and software anomalies, addressing these promptly with professional inspection and maintenance ensures continued safety and performance on the road, maintaining the integrity of your driving experience.
Why Is Your BMW X3 Hood Not Responding To Release CommandsDart Auto
Experiencing difficulty opening your BMW X3's hood? This guide explores potential issues like mechanical obstruction, hood release mechanism failure, electrical problems, and emergency release malfunctions. Troubleshooting tips include basic checks, clearing obstructions, applying pressure, and using the emergency release.
In this presentation, we have discussed a very important feature of BMW X5 cars… the Comfort Access. Things that can significantly limit its functionality. And things that you can try to restore the functionality of such a convenient feature of your vehicle.
Symptoms like intermittent starting and key recognition errors signal potential problems with your Mercedes’ EIS. Use diagnostic steps like error code checks and spare key tests. Professional diagnosis and solutions like EIS replacement ensure safe driving. Consult a qualified technician for accurate diagnosis and repair.
Comprehensive program for Agricultural Finance, the Automotive Sector, and Empowerment . We will define the full scope and provide a detailed two-week plan for identifying strategic partners in each area within Limpopo, including target areas.:
1. Agricultural : Supporting Primary and Secondary Agriculture
• Scope: Provide support solutions to enhance agricultural productivity and sustainability.
• Target Areas: Polokwane, Tzaneen, Thohoyandou, Makhado, and Giyani.
2. Automotive Sector: Partnerships with Mechanics and Panel Beater Shops
• Scope: Develop collaborations with automotive service providers to improve service quality and business operations.
• Target Areas: Polokwane, Lephalale, Mokopane, Phalaborwa, and Bela-Bela.
3. Empowerment : Focusing on Women Empowerment
• Scope: Provide business support support and training to women-owned businesses, promoting economic inclusion.
• Target Areas: Polokwane, Thohoyandou, Musina, Burgersfort, and Louis Trichardt.
We will also prioritize Industrial Economic Zone areas and their priorities.
Sign up on https://profilesmes.online/welcome/
To be eligible:
1. You must have a registered business and operate in Limpopo
2. Generate revenue
3. Sectors : Agriculture ( primary and secondary) and Automative
Women and Youth are encouraged to apply even if you don't fall in those sectors.
2. Table of Contents
Inventory Management Technical Specification.................................................................1
Table of Contents.................................................................................................................2
Overview..............................................................................................................................3
Managing Workflow............................................................................................................3
Database Support.................................................................................................................8
Workflow Stages................................................................................................................14
Reporting............................................................................................................................34
3. Overview
This document defines the technical implementation of ViaTrade’s Inventory
Management system. For a high-level overview of the Inventory Management system,
please see the presentation Inventory Management Platform Overview.ppt.
Inventory Management is done by applying a workflow model to ViaTrade’s business
processes. In general, ViaTrade’s workflow is broken down into a series of stages (i.e.
Workflow Stages). The Workflow Manager manages the execution of each stage and
any errors that may arise during a stage’s execution. Vehicles are placed into the first
Workflow Stage and then cascade through the system as each Vehicle is processed by the
Inventory Management system.
Here are the Inventory Manager’s Workflow Stages:
1. Acquire Vehicle
2. Decode VIN
3. Select Vehicle for auction
4. Notify inspection company
5. Acquire third-party data
a. Acquire Vehicle history data
6. Build CAR
7. Acquire FIW data
8. Auction Vehicle
9. Manage auction
10. Close auction
This document defines ViaTrade’s Inventory Management system in the following steps:
1. Define the general system used to manage workflow.
2. Define the database support required to manage workflow.
3. Define the specifics of each Workflow Stage.
4. Define the reporting system required to monitor the system’s performance and the
status of Vehicles in the system.
Managing Workflow
Overview
The Workflow Manager is the primary application used to manage workflow. The
Workflow Manager is responsible for the following:
1. Managing the flow of Vehicles through all of the Workflow Stages.
2. Managing the execution of each stage.
3. Dealing with exceptions as they arise.
A Workflow Stage consists of seven primary components:
1. Get Vehicles for the stage.
2. Transform incoming and outgoing data from third-party servers.
3. Send/receive data to/from third-party servers.
4. 4. Perform stage-specific functionality.
5. Update the database.
6. Manage exceptions.
7. Advance Vehicles to the next stage.
Each stage makes different use of each of these components.
Getting Vehicles
Getting Vehicles for a stage is a simple database lookup, using the current Workflow
Stage. A Vehicle that has previously encountered an exception is not selected until all
exceptions are cleared for that vehicle.
If an error occurs while getting Vehicles, then the appropriate database read exception is
generated.
Transforming Data
ViaTrade maintains an internal representation of all its data using a format called
ViaTrade Normalized XML or VNXML. When data is sent to an external server, the
Inventory Management system transforms the data from VNXML to the format agreed
upon by ViaTrade and the relevant partner. When data is received from an external
server, the Inventory Management system transforms the data from the format agreed
upon by ViaTrade and the relevant partner to VNXML.
All incoming and outgoing data requests have a corresponding XSL file that is specific to
the Workflow Stage and any relevant partners. For example, if Vehicle A comes from
Inspection Company X and Vehicle B comes from Inspection Company Y, the system
must be able to transform the incoming and outgoing requests for each inspection
company correctly in order to prevent any errors.
If a transform fails in either direction, then the appropriate incoming or outgoing
transformation exception is generated.
Specific details surrounding the relevant VNXML formats for a stage may be found in
the XML section within Workflow Stages. Within the Application section within
Workflow Stages, the following symbol represents a data transformation:
5. Send/Receive Data
Certain Workflow Stages require sending and receiving data from third-party servers.
The details of this functionality are not defined in this specification due to the customized
code that must be generated for each and every third-party server.
If a transmission fails in either direction, then the appropriate incoming or outgoing
transmission exception is generated.
Running Applications
Each Workflow Stage has a customized application or class that performs a set of
functionality specific to that stage. The application details of each Workflow Stage are
defined in the Applications section within Workflow Stages due to the customized code
that must be generated for each and every stage.
Each stage-specific application is responsible for managing the contents of the VNXML
data package during the stage. In addition, each stage-specific application is responsible
for validating the responses from third-party servers (once the response has been
transformed to VNXML). As a result, if any error occurs in the sending or receiving of
data to a third-party server that relates to the specific content of the VNXML data
package (transformed or not), then the appropriate request or response exception is
generated.
Updating the Database
Each stage may have a set of data that it must read or write from the database. The
database details of each Workflow Stage are defined in the Workflow Stages section of
this specification due to the customized data that must be stored for each and every stage.
Each stage is responsible for managing its interaction with the database. If any database-related
error occurs, then the appropriate database read or write exception is generated.
Advancing to the Next Stage
Once all the required actions have been completed in a Workflow Stage and no
exceptions have been generated, the Workflow Manager updates the Vehicle’s Workflow
Stage to the next Workflow Stage. Within the Application section within Workflow
Stages, the following symbol represents the start or finish of a Workflow Stage:
If an error occurs while updating the Vehicles’ status, then the appropriate database read
exception is generated.
6. Managing Exceptions
The Workflow Manager catches all the exceptions thrown within a stage, logs them to the
database and updates the Vehicles’ status. Usually, the Workflow Manager is processing
many Vehicles at the same time. If one Vehicle encounters an exception, the exception
should be logged to the database, and the Workflow Manager should continue processing
the remaining Vehicles.
The following exceptions may occur at each Workflow Stage:
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
WorkflowClassException An error occurred in one of the
WorkflowManager’s components.
UnknownException An unknown error occurred.
If an error in logging an exception to the database occurs, the Workflow Manager should
then attempt to log the exception to a file, provide additional relevant information in that
file, attempt to email an administrator with the previously logged details and then fail
gracefully.
The section Exceptions within Workflow Stages defines the exceptions supported by
each stage. Within the Application section within Workflow Stages, the following
symbol represents an exception:
7. Resolving Exceptions
Currently, exceptions must be resolved manually. After a Vehicle’s exception has been
resolved, the Vehicle’s exception should be manually cleared, using an administrative
interface. Then, the Workflow Manager can process the Vehicle correctly.
Workflow Manager
The Workflow Manager is a threaded command and control application. The Workflow
Manager takes the set of Vehicles in a given Workflow Stage and attempts to process
each Vehicle one by one, using the relevant Workflow Stage class. Here is some sample
code demonstrating the process:
public void WorkflowManager( Guid WorkflowStageId ) {
If ( … ) {
…
} else If (WorkflowStageId == WorkflowStageBuildCAR ) Then
Get Vehicles for Build CAR WorkflowStage {
1. Run WorkflowManagerBuildCAR class (see below)..
2. Log any Workflow Exceptions, if they occurred.
3. Advance to the next Workflow Stage, if no Workflow
Exceptions.
}
} else If (WorkflowStageId == WorkflowStageAcquireFIWData ) Then
Get Vehicles for Acquire FIW WorkflowStage {
1. Run WorkflowManagerAcquireFIWData class (see below).
2. Log any Workflow Exceptions, if they occurred.
3. Advance to the next Workflow Stage, if no Workflow
Exceptions.
}
}
…
}
Classes
The following classes are required to support the WorkflowManager:
Class Description
WorkflowManager The primary command and control loop.
AcquireVehicleWorkflowStage Class to control execution of the Acquire
Vehicle stage.
DecodeVINWorkflowStage Class to control execution of the Decode
VIN stage.
SelectVehicleForAuctionWorkflowStage Class to control execution of the
SelectVehicleForAuction stage.
NotifyInspectionCompanyWorkflowStage Class to control execution of the Notify
Inspection Company stage.
AcquireThirdPartyDataWorkflowStage Class to control execution of the Acquire
8. Third-party Data stage.
AcquireThirdPartyData
VehicleHistoryDataWorkflowStage
Class to control execution of the Acquire
Vehicle History Data stage. This is a sub-stage
of the Acquire Third-party Data
stage.
BuildCARWorkflowStage Class to control execution of the Build
CAR stage.
AcquireFIWDataWorkflowStage Class to control execution of the Acquire
FIW stage.
AuctionVehicleWorkflowStage Class to control execution of the Auction
Vehicle stage.
ManageAuctionWorkflowStage Class to control execution of the Manage
Auction stage.
CloseAuctionWorkflowStage Class to control execution of the Close
Auction stage.
Database Support
Three primary tables support Inventory Management: WorkflowStages, VehicleSources
and Vehicles.
WorkflowStages (along with WorkflowExceptions and
WorkflowExceptionDescriptions) describes the workflow model and tracks any errors
encountered while processing a Vehicle.
VehicleSources relates the source of a vehicle (VehicleSources) to the manufacturer
(ManufacturerSources), inspection company (InspectionSources) and third-party data
suppliers (ThirdPartyDataSources). InspectionSources and ThirdPartyDataSources
describe specific suppliers of external data and point to the transforms required to
normalize their external data to VNXML. ManufacturerSources provide override
capabilities for InspectionSources and ThirdPartyDataSources. It is very likely that
ManufacturerSources will never be used. It is, however, desirable to accommodate this
functionality now rather than later. The specific example of overriding the inspection
company should be implemented in the first version of the Inventory Manager.
The Vehicles table binds VehicleSources, ManufacturerSources and InspectionSources to
a Vehicle. ThirdPartyDataSources are not related to Vehicles (they are only related to
VehicleSources) due to the generic nature of the data acquired through these sources.
The following tables will be created or extended to support ViaTrade’s Inventory
Management system:
Table Description
WorkflowStages Defines the stages in ViaTrade’s workflow. This
table should rarely change.
WorkflowExceptions Defines the exceptions in ViaTrade’s workflow. This
table should rarely change.
9. WorkflowExceptionDescriptions Stores the descriptions of the workflow exceptions
that occur during the Inventory Management
process.
VehicleSources Identifies from where ViaTrade sourced the Vehicle.
For example, this could be a bank or leasing
institution. This table should rarely change, until
ViaTrade starts transacting significant volumes of
Vehicles.
ManufacturerSources Identifies the manufacturer of the Vehicle. This table
should change infrequently, until ViaTrade starts
transacting significant volumes of Vehicles.
InspectionSources Identifies the inspector of the Vehicle. This table
should rarely change, until ViaTrade starts
transacting significant volumes of Vehicles.
ThirdPartyDataSources Identifies third-party sources for Vehicle data. This
table should rarely change.
Vehicles Stores the Vehicles that are flowing through the
Inventory Management system. This table tracks the
work
WorkflowStages
Here is the WorkflowStages table:
Column Type Description
WorkflowStageId Guid Unique identifier for a Workflow Stage.
Name nchar(64) Name of the Workflow Stage.
NextWorkflowStageId Guid WorkflowStageId for the next Workflow
Stage in ViaTrade’s workflow.
The following stored procedures are required:
Stored Procedure Name Description
GetFirstWorkflowStage( ) Get the first Workflow Stage in ViaTrade’s workflow.
GetNextWorkflowStage(
Get the Workflow Stage after the current Workflow
Guid WorkflowStageId
Stage.
)
GetWorkflowStage(
Guid WorkflowStageId
)
Get the Workflow Stage by its WorkflowStageId.
WorkflowExceptions
The WorkflowExceptions table supports the exception types described in the section
Exception Handling. Here is the WorkflowExceptions table:
Column Type Description
10. WorkflowExceptionId Guid Unique identifier for a workflow exception.
Name nchar(64) Name of the workflow exception.
The following stored procedures are required:
Stored Procedure Name Description
GetWorkflowException(
Guid WorkflowExceptionId
)
Get the Workflow Exception by its
WorkflowExceptionId.
WorkflowExceptionDescriptions
Here is the WorkflowExceptionDescriptions table:
Column Type Description
WorkflowExceptionDescriptionId Guid Unique identifier for a workflow
exception description.
Description nchar(2048)? A description of a specific
workflow exception. The
description should be generated
by the application.
DateLogged Datetime Date and time when the error
occurred.
VehicleId Guid Identifies the Vehicle when the
exception occurred. Can be null.
Resolved bit Determines if the workflow
exception has been resolved or
not.
The following stored procedures are required:
Stored Procedure Name Description
CreateWorkflowExceptionDescription(
nchar( 2048? ) Description
Guid VehicleSourceId
Guid ManufacturerSourceId
Guid VehicleId
)
Create a workflow exception description.
Creates a Guid for the
WorkflowExceptionDescriptionId. Sets
DateLogged to ‘now’. Sets Resolved to ‘0’.
GetWorkflowExceptionDescription(
Guid WorkflowExceptionDescriptionId
)
Get the specified Workflow Exception
Description.
ResolveWorkflowExceptionDescription(
Guid WorkflowExceptionDescriptionId
)
Resolve the Workflow Exception Description
by setting Resolved to ‘1’.
11. VehicleSources
Here is the VehicleSources table:
Column Type Description
VehicleSourceId Guid Unique identifier for a Vehicle
Source.
Name nchar(128) Name of the company supplying
ViaTrade with Vehicles.
The following stored procedures are required:
Stored Procedure Name Description
GetVehicleSource(
Guid VehicleSourceId
)
Gets a VehicleSource by its VehicleSourceId.
Note: No create or delete procedures are defined due to the low volume nature of the
current implementation.
ManufacturerSources
Here is the ManufacturerSources table:
Column Type Description
ManufacturerSourceId Guid Unique identifier for the
manufacturer of the Vehicle.
Name nchar(128) Name of the manufacturer
source.
VehicleSourceId Guid Identifies the Vehicle Source
for the inspection company.
InspectionOutgoingXSLTransformation nchar(512?) Filename of the XSL file used
to transform the outgoing
inspection requests.
InspectionIncomingXSLTransformation nchar(512?) Filename of the XSL file used
to transform the incoming
inspection results.
Note: If either InspectionOutgoingXSLTransformation or
InspectionIncomingXSLTransformation is not null, then the corresponding non-null
values should be used for transforming the incoming and/or outgoing XML data. It
should be assumed that the same inspection company will be used to inspect the vehicle.
The following stored procedures are required:
Stored Procedure Name Description
GetManufacturerSource(
Gets a ManufacturerSource by its
Guid ManufacturerSourceId
ManufacturerSourceId.
)
12. Note: No create or delete procedures are defined due to the low volume nature of the
current implementation.
InspectionSources
Here is the InspectionSources table:
Column Type Description
InspectionSourceId Guid Unique identifier for the inspection
company that inspects the Vehicle.
Name nchar(128) Name of the inspection company.
VehicleSourceId Guid Identifies the Vehicle Source for
the inspection company.
OutgoingXSLTransformation nchar(512?) Filename of the XSL file used to
transform the outgoing inspection
requests.
IncomingXSLTransformation nchar(512?) Filename of the XSL file used to
transform the incoming inspection
results.
The following stored procedures are required:
Stored Procedure Name Description
GetInspectionSource(
Guid InspectionSourceId
)
Gets an InspectionSource by its InspectionSourceId.
Note: No create or delete procedures are defined due to the low volume nature of the
current implementation.
ThirdPartyDataSources
Here is the ThirdPartyDataSources table:
Column Type Description
ThirdPartyDataSourceId Guid Unique identifier for the inspection
company that inspects the Vehicle.
Name nchar(128) Name of the inspection company.
VehicleSourceId Guid Identifies the Vehicle source for the
inspection company.
OutgoingXSLTransformation nchar(512?) Filename of the XSL file used to
transform the outgoing inspection
requests.
IncomingXSLTransformation nchar(512?) Filename of the XSL file used to
transform the incoming inspection
results.
13. The following stored procedures are required:
Stored Procedure Name Description
GetThirdPartyDataSource(
Guid ThirdPartyDataSourceId
)
Gets a ThirdPartyDataSource by its
ThirdPartyDataSourceId.
Note: No create or delete procedures are defined due to the low volume nature of the
current implementation.
Vehicles
Here is the Vehicles table:
Column Type Description
VehicleId Guid Unique identifier for a Vehicle.
VehicleSourceId Guid Identifies the Vehicle’s source.
ManufacturerSourceId Guid Identifies the Vehicle’s
manufacturer.
InspectionSourceId Guid Identifies the Vehicle’s inspector.
WorkflowStageId Guid Identifies the Workflow Stage that
the Vehicle is currently in.
WorkflowExceptionId Guid Identifies the Workflow Stage
exception (if any) for the current
Workflow Stage.
WorkflowExceptionDescriptionId Guid Identifies the description of the
Workflow Stage exception (if any).
WorkflowStageAdvancedDate Datetime The time when the Vehicle
advanced to the next Workflow
Stage.
VIN nchar(18) VIN of the Vehicle.
Make Make/manufacturer of the Vehicle.
Model Model of the Vehicle.
YearMade int Year the Vehicle was made.
Trim Trim on the Vehicle.
The following stored procedures are required:
Stored Procedure Name Description
CreateVehicle(
Guid VehicleSourceId
Guid ManufacturerSourceId
Guid InspectionSourceId
nchar(18) VIN
nchar(?) Make
nchar(?) Model
int YearMade
nchar(?) Trim
Creates a Vehicle. Creates a Guid for the VehicleId.
Calls GetFirstWorkflowStage( ) and sets
WorkflowStageId. Sets WorkflowExceptionId and
WorkflowExceptionDescriptionId to null.
14. )
GetVehicle(
Guid VehicleId
)
Get a Vehicle by its VehicleId.
UpdateVehicleWorkflowStage(
Guid VehicleId
Guid WorkflowStageId
)
Updates the Vehicle’s WorkflowStageId. Sets
WorkflowExceptionId and
WorkflowExceptionDescriptionId to null.
UpdateWorkflowException(
Guid VehicleId
Guid WorkflowExceptionId
Guid
WorkflowExceptionDescriptionId
)
Updates the Vehicle’s WorkflowExceptionId and
WorkflowExceptionDescriptionId.
GetVehiclesByWorkflowStageId(
Guid WorkflowStageId
)
Get Vehicles for a specific Workflow Stage.
Workflow Stages
This section defines the technical details of each Workflow Stage and is structured as
follows:
· A brief description of the stage.
· A diagram of the stage’s application/process flow.
· The XML inputs and outputs of the stage.
o The ViaTrade Normalized XML (VNXML) for each input and output.
o A key mapping the VNXML fields to more readable terms.
· The database extensions required by the stage.
· The exceptions thrown by the stage.
Acquire Vehicle
This is the first stage of ViaTrade’s workflow. In this stage, banks and leasing institutions
notify ViaTrade that they have a set of Vehicles that require being evaluated for auction.
Application
The following diagram illustrates how this stage works:
15. XML
Incoming XML requests are transformed using the following VNXML format.
XML Data Format
The VNXML format for incoming evaluation requests is:
<my:AcV
xmlns:my=http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32
xml:lang="en-us">
<my:VS
my:VSID="Guid"
my:ISID="int"
/>
<my:AcVVs>
<my:V
VIN="VIN"
/>
</my:AcVVs>
</my:AV>
XML Data Key
Here is the incoming key:
AcV - AcquireVehicle
VS - VehicleSource
VSID - VehicleSourceId
ISID - InspectionSourceId
AcVVs - AcquireVehicleVINs
V - Vehicle
VIN – VIN
16. Database Extensions
The table CARXMLs is required to store the initial CAR XML template created for the
Vehicle:
Column Type Description
VehicleId Guid Unique identifier for a Vehicle.
CARXML ntext Stores the Vehicle’s CAR XML.
The following stored procedures are required:
Stored Procedure Name Description
CreateCARXML(
Uniqueidentifier VehicleId
nchar(5096?) CARXML
)
Creates a Vehicle’s CARXML entry in the database.
UpdateCARXML(
Guid VehicleId
nchar(5096?) CARXML
)
Updates a Vehicle’s CARXML entry in the database.
DeleteCARXML(
Guid VehicleId
)
Delete a Vehicle’s CARXML entry in the database.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Decode VIN
In this stage, ViaTrade decodes the VIN of the Vehicle to get data such as the Make,
Model, Year Made and Trim of the Vehicle.
Application
The following diagram illustrates how this stage works:
17. XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The VNXML format for outgoing decode requests is:
<my:VD xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32" xml:lang="en-us">
<my:VDVs>
<my:V
VIN="VIN"
/>
</my:VDVs>
</my:VD>
The VNXML format for incoming decode results is:
<my:VD>
<my:V
VIN="VIN"
>
<my:VD
my:VDV="VIN"
my:VDE="string"
my:VDMa="string"
my:VDMo="string"
my:VDYM="int"
/>
</my:V>
</my:VD>
18. XML Data Key
Here is the outgoing key:
VD - VINDecode
VDVs - VINDecodeVehicles
V - Vehicle
VIN - VIN
Here is the incoming key:
VD - VINDecode
V - Vehicle
VIN - VIN
VD - VinDecode
VDV - VinDecodeVIN
VDE - VinDecodeEngine
VDMa - VinDecodeMake
VDMo - VinDecodeModel
VDT - VinDecodeTrim
VDYM - VinDecodeYearMade
Database Extensions
VIN Decoder updates the Vehicle’s CARXML entry in the database. As a result, no
database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Select Vehicle for Auction
In this stage, an analyst (from ViaTrade or the bank/leasing institution) selects the
Vehicles to auction.
19. Application
The following diagram illustrates how this stage works:
Database Extensions
Marketplace Intelligence is a separately bundled piece of functionality. Its scope is not
included in this document. In addition, Select Vehicles for Auction does not store any
custom information for a specific Vehicle. As a result, no database extensions are
required for this stage.
Exceptions
ExceptionType Description
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Notify Inspection Company
In this stage, ViaTrade notifies the inspection company to inspect the Vehicle and stores
the results of the inspection.
Application
The following diagram illustrates how this stage works:
20. XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The VNXML format for outgoing inspection requests is:
<my:NIC
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:NICVs>
<my:V
my:VIN="VIN"
/>
</my:NICVs>
</my:NIC>
The VNXML format for incoming inspection results is:
<my:NIC
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:VS
my:MSID="Guid"
my:ISID="int"
my:VIN="VIN"
/>
<my:V
my:VIN="VIN"
21. >
<my:DLIs>
<my:LI
my:LIN="string"
>
<my:D>string
<my:/D>
<my:/LI>
<my:/DLIs>
<my:/V>
<my:/NIC>
XML Data Key
Here is the outgoing key:
NIC - NotifyInspectionCompany
NICVs - NotifyInspectionCompanyVehicles
V - Vehicle
VIN - VIN
Here is the incoming key:
NIC - NotifyInspectionCompany
VS - VehicleSource
MSID - ManufacturerSourceId
ISID - InspectionSourceId
V - Vehicle
VIN - VIN
DLIs - DamagedLineItems
LI - LineItem
D - Damage
Database Extensions
Notify Inspection Company updates the Vehicle’s CARXML entry in the database. As a
result, no database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
22. DatabaseWriteException An error occurred writing to the database.
Acquire Third-party Data
In this stage, ViaTrade acquires authoritative third-party data regarding the Vehicle. This
section describes the generic approach for acquiring third-party data. Specific
applications of third-party data (such as getting the Vehicle’s history) extend this
definition. Please see the section Acquire Vehicle History Data for an example extension
of acquiring third-party data.
Application
The following diagram illustrates how this stage works:
XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The generic VNXML format for outgoing third-party data requests is:
<my:TPD
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:TPDVs>
<my:V
my:VIN="VIN"
/>
</my:TPDVs>
</my:TPD>
23. The generic VNXML format for incoming third-party data results is:
<my:TPD
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:VS
my:VSID="Guid"
my:ISID="int"
my:VIN="VIN"
/>
<my:V
my:VIN="VIN"
>
<my:CustomThirdPartyDataResults>
<my:/CustomThirdPartyDataResults>
<my:/V>
<my:/TPD>
XML Data Key
Here is the outgoing key:
TPD - ThirdPartyData
TPDVs - ThirdPartyDataVINs
V - Vehicle
VIN - VIN
Here is the incoming key:
TPD - ThirdPartyData
VS - VehicleSource
VSID - VehicleSourceId
ISID - InspectionSourceId
V - Vehicle
VIN - VIN
CustomThirdPartyDataResults – CustomThirdPartyDataResults
Database Extensions
Acquire Third-party Data updates the Vehicle’s CARXML entry in the database. As a
result, no database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
24. ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Acquire Vehicle History Data
This stage describes the acquisition of Vehicle history data. It also can be used as an
example for defining subsequent third-party data acquisition applications.
Application
The following diagram illustrates how this stage works:
XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The VNXML format for outgoing Vehicle history requests is:
<my:TPD
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:TPDVs>
<my:V
25. my:VIN="VIN"
/>
</my:TPDVs>
</my:TPD>
The generic VNXML format for incoming Vehicle history results is:
<my:TPD
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:VS
my:VSID="Guid"
my:ISID="int"
my:VIN="VIN"
/>
<my:V
my:VIN="VIN"
>
<my:VI>
my:VILVCD="date"
my:VIIL="bool"
--my:VIFE="bool"
my:VIOL="int"
my:VIORA="int"
my:VIOR="int"
--my:VIOHIS="bool"
my:VIHTI="bool"
--my:VITS="bool"
--my:VITEML="bool"
--my:VITD="bool"
--my:VITDT="bool"
--my:VITNAM="bool"
--my:VITOOB="bool"
--my:VITWD="bool"
--my:VIT="bool"
--my:VITR="bool"
<my:/VI>
<my:/V>
<my:/TPD>
XML Data Key
Here is the outgoing key:
TPD - ThirdPartyData
TPDVs - ThirdPartyDataVINs
V - Vehicle
VIN - VIN
Here is the incoming key:
TPD - ThirdPartyData
VS - VehicleSource
VSID - VehicleSourceId
ISID - InspectionSourceId
V - Vehicle
VIN - VIN
VI - VehicleIndicators
VILVCD - VehicleIndicatorsLastVINCheckDate
VIIL - VehicleIndicatorsIsLemon
--VIFE - VehicleIndicatorsFailedEmission
VIOL - VehicleIndicatorsOdometerLast
26. VIORA - VehicleIndicatorsOdometerRollbackAmount
VIOR - VehicleIndicatorsOdometerRollback
--VIOHIS - VehicleIndicatorsOdometerHasIndependentSource
VIHTI - VehicleIndicatorsHasTitleIssue
--VITS - VehicleIndicatorsTitleSalvage
--VITEML - VehicleIndicatorsTitleExceedsMechanicalLimits
--VITD - VehicleIndicatorsTitleDamage
--VITDT - VehicleIndicatorsTitleDuplicateTitle
--VITNAM - VehicleIndicatorsTitleNotActualMiles
--VITOOB - VehicleIndicatorsTitleOtherOdometerBrand
--VITWD - VehicleIndicatorsTitleWaterDamage
--VIT - VehicleIndicatorsTheft
--VITR – VehicleIndicatorsTheftRecovered
Note: Items preceded with ‘--‘ are currently not supported.
Database Extensions
Acquire Vehicle History Data updates the Vehicle’s CARXML entry in the database. As
a result, no database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Build CAR
This stage is responsible for generating the CAR and storing the results.
Application
The following diagram illustrates how this stage works:
27. XML
The CAR Builder uses the following VNXML format.
XML Data Format
<my:CR>
<my:LIs>
<my:LI
my:LIN="string"
my:ISI="int"
my:LII="Guid"
my:PG="Guid"
my:SG="Guid"
my:LIO="nt"
>
<my:D>string
</my:D>
<my:S>string
</my:S>
</my:LI>
</my:LIs>
<my:LIGs>
<my:PGs>
<my:PG
my:LIGI="Guid"
my:LIGN="string"
my:LIGO="int"
>
<my:SGs>
<my:SG
my:LIGI="Guid"
my:LIGN="string"
my:LIGO="int"
>
</my:SG>
</my:PG>
</my:PGs>
</my:LIGs>
<my:LIO>
<my:LIOPGs>
<my:LIOPG
28. my:LIGN="string"
my:LIGO="int"
>
<my:LIOSGs>
<my:LIOSG
my:LIGN="string"
my:LIGO="int"
>
<my:LIOS>string
</my:LIOS>
</my:LIOSG>
</my:LIOSGs>
</my:LIOPG>
</my:LIOPGs>
</my:LIO>
<my:MMs>
<my:MM
my:MMI="Guid"
my:MMXEN="string"
>
</my:MMs>
</my:CR>
XML Data Key
CR - ConditionReport
LIs - LineItems
LI - LineItem
D - Damage
S - Sentence
LIGs - LineItemGroups
PG - Primary Group
SG - SecondaryGroup
LIO - LineItemOverview
LIOPGs - LineItemOverviewPrimaryGroups
LIOSGs - LineItemOverviewSecondaryGroups
MMs - MarketingMessages
MM - MarketingMessage
MMM - MarketingMessageMessage
Database Extensions
Build CAR is a separately bundled piece of functionality. Its scope is not included in this
document. In addition, Build CAR updates the Vehicle’s CARXML entry in the database.
As a result, no database extensions are required for this stage.
Exceptions
ExceptionType Description
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Acquire FIW Data
In this stage, ViaTrade looks up and stores financing-, insurance- and warranty-related
information. Currently, this data is not expected to live on third-party servers.
29. Application
The following diagram illustrates how this stage works:
XML
Acquire FIW Data uses the following VNXML format.
XML Data Format
<my:FIWD
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:FIWDVs>
<my:V
my:VIN="VIN"
/>
<my:FinanceInsuranceWarrantyData>
<my:/FinanceInsuranceWarrantyData>
</my:FIWDVs>
</my:FIWD>
XML Data Key
FIWD - FinanceInsuranceWarrantyData
FIWDVs - FinanceInsuranceWarrantyDataVINs
V - Vehicle
VIN - VIN
FinanceInsuranceWarrantyData - FinanceInsuranceWarrantyData
Note: FinanceInsuranceWarrantyData has not yet been determined.
30. Database Extensions
Acquire FIW Data updates the Vehicle’s CARXML entry in the database. As a result, no
database extensions are required for this stage.
Exceptions
ExceptionType Description
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Auction Vehicle
In this stage, ViaTrade submits the Vehicle for auction, using one of ViaTrade’s auction
partners.
Application
The following diagram illustrates how this stage works:
XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The VNXML format for outgoing auction requests is:
<my:AuV
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:V
31. my:VIN="VIN"
>
<my:CustomAuctionData>
<my:/CustomAuctionData>
<my:/V>
<my:/AuV>
The VNXML format for incoming auction results is:
<my:AuV
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:V
my:VIN="VIN"
>
<my:CustomAuctionData>
<my:/CustomAuctionData>
<my:/V>
<my:/AuV>
XML Data Key
Here is the outgoing key:
AuV - AuctionVehicle
V - Vehicle
VIN - VIN
CustomAuctionData- CustomAuctionData
Note: CustomAuctionData has not been determined yet.
Here is the incoming key:
AuV - AuctionVehicle
V - Vehicle
VIN - VIN
CustomAuctionData- CustomAuctionData
Note: CustomAuctionData has not been determined yet.
Database Extensions
No database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
32. include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Manage Auction
In this stage, a sales person representing ViaTrade manages the auction of the Vehicle.
Application
The following diagram illustrates how this stage works:
Database Extensions
No database extensions are required for this stage.
Exceptions
All Exceptions are handled by the third-party auction servers.
Close Auction
In this stage, ViaTrade closes all auctions that have finished. This is the last step in
ViaTrade’s workflow.
Application
The following diagram illustrates how this stage works:
33. XML
Outgoing and incoming XML requests are transformed using the following VNXML
format.
XML Data Format
The VNXML format for outgoing auction requests is:
<my:CA
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:V
my:VIN="VIN"
>
<my:CustomAuctionData>
<my:/CustomAuctionData>
<my:/V>
<my:/CA>
The VNXML format for incoming auction results is:
<my:CA
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-07-
21T00:02:32"
xml:lang="en-us"
>
<my:V
my:VIN="VIN"
>
<my:CustomAuctionData>
<my:/CustomAuctionData>
<my:/V>
<my:/CA>
XML Data Key
Here is the outgoing key:
34. CA - CloseAuction
V - Vehicle
VIN - VIN
CustomAuctionData- CustomAuctionData
Note: CustomAuctionData has not been determined yet.
Here is the incoming key:
CA - CloseAuction
V - Vehicle
VIN - VIN
CustomAuctionData- CustomAuctionData
Note: CustomAuctionData has not been determined yet.
Database Extensions
No database extensions are required for this stage.
Exceptions
ExceptionType Description
IncomingTransmissionException An error in receiving the XML data from an
external server.
OutgoingTransmissionException An error in sending the XML data to an external
server.
IncomingTransformationException An error in transforming the incoming XML to
VNXML.
OutgoingTransformationException An error in transforming the outgoing XML to
VNXML.
RequestException An error in the incoming XML data. Possibilities
include missing fields or fields with erroneous data.
ResponseException An error in the outgoing XML data. Possibilities
include missing fields or fields with erroneous data.
DatabaseReadException An error occurred reading from the database.
DatabaseWriteException An error occurred writing to the database.
Reporting
The following reports are required by the Inventory Management system:
Report Description
Status Report Describes the number of Vehicles in each Workflow Stage.
Divides the number of Vehicles between those with and without
exceptions.
Workflow Exception
Report
Describes the exceptions that are occurring in each Workflow
Stage.
Average Vehicle
time in Workflow
Stage
Describes the average amount of time each Vehicle spends in
each Workflow Stage.
35. Longest time in
stage
Describes the Vehicles with the longest times in each Workflow
Stage.
???