User2389

User2389

  • NA
  • 79
  • 526

Exception Handling while ledger name does not exists?

Mar 26 2019 7:19 AM
I saw the link 
 
https://www.c-sharpcorner.com/forums/connect-c-sharp-application-with-tally-data 
 
and created the application with same procedure from that  link. But the problem is I am not able to catch the exception if there is no ledger exists in tally while creating the invoice data.
 
I need the exception to be thrown if ledger name does not match while passing the data into the tally.
 
What is the possible way I can do it. Kindly guide me.
 
Thanks in Advance.