Hi Ramit,
Ludwig has already addressed the solution.
In D365FO you can manage a customer transaction posting from Account Receiavle > All customers . Then choose the actual customer and go to "Credit and collections" tab and set "Invoicing adn delivery on hold" to All. Then the customer wil be added to "Customers on hold"
For more information about each alternative on "Invoicing and delivery on hold" , you can check the following link:
community.dynamics.com/.../d365-how-to-hold-customer-for-posting-transactions
No – Customer is not blocked with any transactions.
Invoice – Customer is blocked with posting picking lists, packing slips, invoices, including free text invoices
All – Customer is blocked with posting all transaction types, including free text invoices, customer invoices, and payments.
Payment – Invalid option for customer.
Requisition – Invalid option for customer.
Never – Customer is never put on hold for inactivity.