VS Vehicle Sync Flow
---
config:
theme: redux
title: VS to Vehicle
---
flowchart TD
AutolineSource -- Autoline VS Data--> QlikLoad
QlikLoad@{shape: circle} -- VS Data in Memory --> QlikStore@{shape: circle}
QlikStore -- VS Data CSV On Qlik Server (azftp/CompanyInvoiceData/VSDatas_dealername.csv) -->StorageSync["qlik-sync"]@{shape: circle}
StorageSync["qlik-sync"]
-- VS Data CSV On Azure File Share (tqiplatformac65/qlik-csv/CompanyInvoiceData/VSDatas_dealername.csv)-->
CompareCSVFiles@{shape: circle, title:"tiq-sync-data (functions/SyncVehicle_dealername)"}
CompareCSVFiles["tiq-sync-data (functions/SyncVehicle_dealername)"]
-- The Difference of VS Data in Memory -->
SyncToCosmos@{shape: circle}
SyncToCosmos --> VehicleRecordInCompanyDataInCosmos@{shape:lin-rect, title: Vehicles/VehicleEntry} -->
OverwriteDestinationCSVFile@{shape: circle}
OverwriteDestinationCSVFile --> DestinationCSVFile@{shape:lin-rect, title: "title:tqiplatformac65/csv-sync-destination/Vehicle Stock/VSDatas_dealername.csv"}
VehicleRecordInCompanyDataInCosmos --> VinLookup@{shape: circle}