few lines are missing here.
Pls watch he video first to get full coding.
[Button : InvPDF]
Title : "Save As PDF"
Key : Alt + F
Action : call : SaveAsPDF
10: SET : SVExportLocation : @@DestPath
20: SET : SVExportFormat : $$SysName:JPEG(Image)
30: Set : SVPrintFileName : $$String:$Vouchertypename+"_" +$$String:$PartyLedgerName +"_" +$$String:$vouchernumber
40: SET : SVPrintFileName : $$MakeExportName:##SVPrintFileName:##SVExportFormat
50: Set : SVPrintFileName :##SVExportLocation+"\"+#SVPrintFileName
60: EXPORT REPORT : . : TRUE
[System: Formula]
DestPath : "C:\Users\User\Desktop\Daily" + "\" + @@DateForm + "\" + @@TimeForm
CoNumber : $$String:($CompanyNumber:Company:##SVCurrentCompany):5
DateForm : $$String:$$MachineDate
TimeForm : @@HrsForm + @@MtsForm
HrsForm : If $$StringPart:$$MachineTime:0:2 CONTAINS ":" +
Then $$StringPart:$$MachineTime:0:1 +
Else $$StringPart:$$MachineTime:0:2
MtsForm : if $$StringPart:$$MachineTime:0:2 CONTAINS ":" +
Then $$StringPart:$$MachineTime:2:2 +
Else $$StringPart:$$MachineTime:3:2
कोई टिप्पणी नहीं:
एक टिप्पणी भेजें