Function Action – 'Delete Target'

Discussion in 'Tally Developer' started by admin, Dec 3, 2015.

    
  1. admin

    admin Administrator Staff Member


    Release 5.0, introduces the function action 'Delete Target' with which, we can easily delete the primary objects.

    'Masters can be deleted only if it is not used. For example, if there is a Master under which, no transaction has been passed, then it can be deleted. If a transaction has been passed for the same Master, then it cannot be deleted.'


    To illustrate the same, take a case where all the unused ledgers with zero opening balance needs to be deleted. Here, 'Delete Target' can easily remove the ledgers with the code snippet as shown below.

    [​IMG]

    You can access the complete code in attachment.
     

    Attached Files:



Share This Page