Amit, thank you very much. your suggestion worked. Another question i have is that i want to go to one custom table for specific material type and go to another custom table for different material type. how do you think i should pursue please? if i do delete statement then it will take a performance hit very bad so please tell me how to do it?
Thanks.