[#Menu: Gateway of Tally] Add: Button: B1 [Key:B1] Title: "Add-On" Key: Alt+B Action: Alter: TallyAddon [Report: TallyAddon] Object:company Form: TallyAddonMainForm [Form: TallyAddonMainForm] Height: 80% Page Width: 80% Page Part: TallyAddonMainForm [System: Formula] tallysysDate1 : $TallySysDate:Company:##svcurrentcompany [!Report: RT_SS_Voucher] Option : RT_SS_Voucher : @@TallySysDate1 [Field: RT_SS_Voucher] Delete : Set : VARVchDate : If @@InCopyMode then $Date else ##SVCurrentDate Add : Set : VARVchDate : $$MachineDate ;;**********************************************************; ;;****************** [Part: TallyAddonMainForm] Line: TallyAddonSysDate [Line: TallyAddonSysDate] Field : Long Prompt, VType SysDate Local : Field : Long Prompt : Set as : "1. Enable System As Voucher date ?" Local : Field : Long Prompt : Width: 40% Page [Field : VType SysDate] Use : Logical Field Storage : TallySysDate Set As : $$Value Modifies: TallySysDate Set Always : Yes [System: UDF] TallySysDate : Logical: 40001
i think it problem with the storage try storing the udf in company object and access the value $TallysysDate:Company:##SVCurrentCompany based on that you can generate report