Hi Raf,
Very Ture, agree with what you say but unfortunately with the time I was given could not afford to look at the complete design as I was only doing some code piece to correct missing values and that dragged me to do all the analysis for checking the root cause of why the duplicates are generated for each package etc etc. Now that we know why it creates we found a workaround for now which was posted in the bottom of this thread.
Many Thanks
Krishna