Hi. This backup file was working in tally erp9 but when I tried to import it in tally prime 2.1 it seems to give me error stating backup failed (Screenshot enclosed for full error) Digging deeper made me realise that the error is because of this function where I'm modifying date to suit my requirements as below [System: Formula] DestPath : ##DestinationPath + "\" + ##SVCurrentCompany + "\" + @@DateForm + "\" + @@TimeForm CoNumber : $$String$CompanyNumber:Company:##SVCurrentCompany):5 DateForm : $$String@DateStr DateStr : $$YYYYMMDDDateFormat:$$MachineDate:"-" Here if I change the DateForm : $$String@DateStr to DateForm : $$String:$$MachineDate The TDL works perfectly. The above code is just an extract and the entire TDL is attached for reference. I had posted this query in learning hub section but I haven't received a reply so I thought of posting it here again after reading all the rules. Forgive me if I missed something. Thanks in advance
Hi, Thank you for replying to the post but my query is not related to backup. The file that I have posted can also do backup but the issue is that I want the backup folder to be named as Company Name-> Date Now this date is created as 04-Jan-2023 but i want my date format to be like 2023-Jan-04. Now the command that i have posted was working with Tally ERP 9 but now it shows error in tally prime.
I'm not sure about Tally Prime but this used to work on Tally ERP9 and is still working till now. I think its Date format issue as some changes have been made to date formatting in Tally Prime
[Function: YYYYMMDDFormat] PARAMETER : pInputDate : Date VARIABLE : vInputVarDate : String VARIABLE : vInputVarMonth : String VARIABLE : vInputVarYear : String RETURN : String 10 : IF : NOT $$IsEmpty:##pInputDate 20 : SET : vInputVarDate : $$Zerofill$$DayofDate:##pInputDate):2 30 : SET : vInputVarMonth : $$Zerofill$$MonthofDate:##pInputDate):2 40 : SET : vInputVarYear : $$YearofDate:##pInputDate 50 : RETURN : $$String:##vInputVarYear + $$String:##vInputVarMonth + $$String:##vInputVarDate 60 : END IF 70 : RETURN : ""
Hello Experts, Autobackup that worked in Tally Prime 2.1 is not working on Release 3.0 Sharing the code for reference Getting the below error. Please Help.
Also happens in my case...I am Using Tally Prime3.0. it already migrated data to 100000 i.e six digit format Dont know what is the issue
Auto Backup Tally Erp, Prime And 3.0 , TCP File Download Link https://www.isoftcomputer.com/auto-backup-tally-prime-free-download/