meaning u have sold share to foreign company, then forign co. is purchaser . it is purchaser duty to comply with procedure . u have to inform reserve bank for money to be recived in india.
further ,it depnd on , through which STOCK EXCHANGE u have sold? if not , then as per above procedure. better to consult foreign stock boker.