Definition

1.Export data in a csv file, using existing export scenario/mapping

2.Load csv file in a temporary table into the DH

3.Insert data from temporary table to destination table

4.Delete csv file


Function BulkGenericExportScenarioInfoById

Structure :
Example :


Structure :
Use in a macro :

strBulkFileName = GetUNC(1) & "\" & strSQLConnectionName & "_" & GetMacroIdByName(GetCurrentMacroName) & "_bf"

 BulkGenericExportScenarioInfoById TextFile, oDBCON, 16787388, strBulkFileName, False, 1

DeleteFile(strBulkFileName)


Use in a macro :


Datahub :



Execution details :


Execution details :


Execution details :


Deployment – Pre-requisite

1.Scenario export settings :

1.Selection on horizon, sku...

2.Default values + null values settings

3.Destination table reset

2.Exported datafield dimensions order vs destination table

3.Date format of horizon period

4.SQL table or view and corresponding ODBC query names – similar names without space and parenthesis

5.Temporary tables corresponding to number of dimensions to be exported

6.Data type consistent between temporary and destination tables

7.Insert structure corresponding to destination tables



Step by step



 


      








Definition

1.Export data in a csv file, using existing export scenario/mapping

2.Load csv file in a temporary table into the DH

3.Insert data from temporary table to destination table

4.Delete csv file


Function BulkGenericExportScenarioInfoById

Structure :
Example :


Structure :
Use in a macro :

strBulkFileName = GetUNC(1) & "\" & strSQLConnectionName & "_" & GetMacroIdByName(GetCurrentMacroName) & "_bf"

 BulkGenericExportScenarioInfoById TextFile, oDBCON, 16787388, strBulkFileName, False, 1

DeleteFile(strBulkFileName)


Use in a macro :


Datahub :



Execution details :


Execution details :


Execution details :


Deployment – Pre-requisite

1.Scenario export settings :

1.Selection on horizon, sku...

2.Default values + null values settings

3.Destination table reset

2.Exported datafield dimensions order vs destination table

3.Date format of horizon period

4.SQL table or view and corresponding ODBC query names – similar names without space and parenthesis

5.Temporary tables corresponding to number of dimensions to be exported

6.Data type consistent between temporary and destination tables

7.Insert structure corresponding to destination tables



Step by step