i have to generate diff num seq for sales DC and sales invoice for different warehouse wise.
In warehouse i have added two field where i can assign num seq for sales DC and invoice for different ware house.
and i am not gona use the common num seq for all ware house which in general it is fetching from parameter-num sequence.(not using common number sequence)
So i found out by debugging where i need to change the code.i.e the method allocateNumAndVoucher() in salesformletter_packingslip and salesformletter_invoice classes.
But what condition i need to put there for diff warehouse?and which standard code i need no comment?