Dynamic creation of No. Series on Selection of location

Dear all,

I have a problem that of creating a No. Series dynamically and using it when the user creates a new location in the Destination Card Form. Also if the location gets deleted the corresponding number series should also get deleted.

Thanx in advance

regards,

Naval