Hello everyone can anyone help me in telling whats the use of "mad" in the below formula [Function : SaveAsPDF] Variable : PrintFileName : String Local Formula:Wpinvoicenumber:$$StringFindAndReplace:$VoucherNumber:"/":"-" Local Formula:Wpinvoicetype:$$StringFindAndReplace:$VoucherTypeName:"\":"-" Local Formula:Wpinvoiceparty:$$StringFindAndReplace:$PartyLedgerName:"\":"-" Local Formula:Wpinvoicedate:$$String:$Date 500 : SET : PrintFileName : "PDFs"+"\"+@Wpinvoicenumber+"_"+@Wpinvoiceparty+"_"+@Wpinvoicedate ; 600 : SET : SVExportFormat : $$SysNameDF 800 : SET : VCHPrintJurisdiction : If $$IsEmpty:madDSPJurisdictionValue Then ##SAJurisdiction Else @@DSPJurisdictionValue 940 : SET : SVPrinterName : "Adobe PDF" 1400 : SET : SVPrintFileName : $$MakeExportName:##PrintFileName:##SVExportFormat 1500 : SET : SVOpenFileAfterExport : Yes 1600 : EXPORT REPORT :.: TRUE
Actually, it's the below text in your code which gets converted to the MAD emoji Code: :@ When such code with the MAD emoji is copied back to a text editor like notepad, the converted emoji shows up as below text Code: :mad: Just replace all occurrences of : mad : (without the in-between spaces) with the original text : @ (without the in-between space) in your text editor and you should be good. Just FYI, when writing a post/reply with codes, it is better to use the insert code option to put your code.