Demonetisation is a process by which a country discontinue it's physical currency partially or fully to promote digital ways of transactions.
People are forced to make transactions online by digital payment portals or mobile apps while demonetisation is introduced. To achieve this target a nation should have a strong internet backbone.
Yes there are some advantages of demonetisation. The ease of transactions without carrying money in your pocket is an advantage. Anti social activities using money can be controlled very effectively. Bribing will also comes to an end.
But a government may be looking for increase their income through taxes as all transactions are recorded through bank statements and tax IDs.
There are many complex situations when trying to impose demonetisation in countries like India, where internet is not available in rural areas of northern states. Moreover a cheap and reliable internet service should be there to make it possible.
Even though there are advantages demonetisation became a failure in India as the implementation was such kind of a stupid action by the government. Moreover government should bring down the tax rates in order to avoid burden to the agricultural sector and flourishing small scale sectors.
Every laws should be for the sake of the citizens in that country.