Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have different invoice file formats (XML, CSV and Excel).I need to load the data in those files into database, I am using child packages for each file. Is there any possibility to dynamically call child packages into parent package and execute each package based on the file format?
Posted

1 solution

Hi ,

Yes you can Create Main Master Package, In which you have to select your file and first check type of file and then set type into variable in first task

Then at lower level you can use create 3 different sequence container with 3 package execution task of control flow pointing to 3 different packages for execution.

In Prcedence constrating place expression to check type of file and on the bases of this you can decide which branch to execute.

This link will help you

http://technet.microsoft.com/en-us/library/ms140153.aspx


please let me know if you have any query.

Regards,
Mubin
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900