0% found this document useful (0 votes)
26 views1 page

Schedule

The document describes an XML schedule file that automates data imports and exports between a database and SIFY. It includes tasks to import master data at startup, backup the database with a timestamp, and submit transaction data to SIFY on a regular periodic basis.

Uploaded by

Ramalingam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views1 page

Schedule

The document describes an XML schedule file that automates data imports and exports between a database and SIFY. It includes tasks to import master data at startup, backup the database with a timestamp, and submit transaction data to SIFY on a regular periodic basis.

Uploaded by

Ramalingam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

<?xml version="1.0" encoding="UTF-8"?

>
<!-- ITC SIFY DATABRIDGE UPLOAD TRANSACTION auto upload every 5 minute -->
<!-- DATE -23-11-2017 : auto master data IMPORT IS AUTOMATED AT STARUP OF
DATABRDOIGE
: Automated database backup with timestamp in databbase file
name -->

<Schedule>

<group Name="group1">
<Item Name="Import_From_sify" Type="Startup" >
<Before Action="SetSessionVariable" Name="vTimestamp" Value="SQL:SELECT
CONVERT(VARCHAR(8), GETDATE(), 112) + REPLACE(CONVERT(varchar, GETDATE(), 108),
':','')" Scope="AllRecords"/>
<Before Action="SetSessionVariable" Name="vDB_Backup" Value="SQL:BACKUP
DATABASE ITC_SALES_V8 TO DISK='E:\VajraDatabase_DailyBackup\
ITC_SALES_V8#vTimestamp#.bak'; SELECT 1 " Scope="AllRecord"/>
<Task Name="Sync" Rule="EXPORT_DISTRIBUTOR" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_DISTOPTION" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_SALESMAN" Type="Transaction"/>
<Task Name="Sync" Rule="Inv_Hist_Del_Chgs" Type="Transaction"/>
<Task Name="Sync" Rule="Invoice_Hist" Type="Transaction"/>
<Task Name="Sync" Rule="Sync_Inv_Hist" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_PRODUCT" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_CUSTOMER" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_CHANNELS" Type="Transaction"/>
<Task Name="Sync" Rule="EXPORT_OTHERS" Type="Transaction"/>
</Item>
<Item Name="Submit_Txns_to_SIFY" Type="Regular" From="1130" To="2359" Period="5">
<Before Action="SetSessionVariable" Name="vStartTime" Value="SQL:select
getdate()" Scope="AllRecords"/>
<Before Action="SetSessionVariable" Name="vOrders" Value="0"
Scope="AllRecords"/>
<Before Action="SetSessionVariable" Name="vCollections" Value="0"
Scope="AllRecords"/>
<Before Action="SetSessionVariable" Name="vReturns" Value="0"
Scope="AllRecords"/>
<Before Action="SetSessionVariable" Name="vAssets" Value="0"
Scope="AllRecords"/>
<Task Name="Upload" Rule="Submit_Order" Type="Transaction"/>
<Task Name="Upload" Rule="Submit_Collection" Type="Transaction"/>
<Task Name="Upload" Rule="Submit_ReturnGoods" Type="Transaction"/>
<Task Name="Upload" Rule="Submit_GPSCAPTURE" Type="Transaction"/>
</Item>
</group>
</Schedule>

You might also like