[#Field : Default] Tooltip : $$DescName [#Part: CMP TallyShopFeatures Left] Add : Line : At Beginning : Maze_ Email Add On Line [Line : Maze_ Email Add On Line] Fields : Medium Prompt, Maze_ Email Add On Field Local : Field : Medium Prompt : Set as : $$LocaleString:"Enable Log File Auto Emailing ?" Space Top : 0.4 [Field: Maze_ Email Add On Field] Use : Logical Field Set as : If NOT ##SVTallyShop then "No" else $$Value Storage : Maze_EmailAddOn Skip : NOT ##SVTallyShop Set Always : Yes SubForm : Maze_ Email Add On : $$Value = Yes [Report: Maze_ Email Add On] Family : $$Translate:"Mailing Log File" Title : $$SPrintf@Maze_EmailOperationFormat@ModeName Object : Company Form : Maze_ Email Add On [Form : Maze_ Email Add On] Part : CMP OperName, Maze_ Email Add On F11 Option : Small Size Form Height : 90% Screen Full Width : No HorizontalAlign : Centre VerticalAlign : Centre ;On:Form Accept:Yes:Call:journalkbMasterExcelImport_function ;On : Form Accept : $$ConditionEmailVch: CALL :ConditionEmailVchCheck @Maze_EmailMastID:##SVExportFormat ;:##StuImpErrorLogFile1 ; :;##SVVoucherType [Part: Maze_ Email Add On F11] Parts : Maze_ EmailFeat Title,StudentMaze_ Email Features, Maze_ Email Features Vertical : Yes [Part: Maze_ EmailFeat Title] Lines : Maze_ EmailFeatTitle;,QRCodeLogoField Horizontal Alignment : Centre ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Email Configuration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Line: Maze_ EmailFeatTitle] Fields : Form SubTitle Local : Field : Form SubTitle : Info : $$LocaleString:"Mailing Log File" local : Field : FormSubTitle : Color : Blue local : Field : FormSubTitle : Style : Large Bold Space Top : 1 Space Bottom : 0.4 [Part : StudentMaze_ Email Features] Part : STUDENT ParentInfoPhotoPath,STUDENT ParentInfoPhotoshow Vertical : Yes ;Height : 8 [Part : STUDENT ParentInfoPhotoPath] Line : STUDENT PhotoPath ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;Photo Path;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Line: STUDENT PhotoPath] Field : Long Prompt,STUDENT PhotoPath Local : Field : Long Prompt : Set as : "Student Photo Path :" Local : Field : Long Prompt : Color : Blue Space Top : 0.5 ; Invisible : $Parent!="Sundry Debtors" [Field: STUDENT PhotoPath] Use : Name Field Set as : @@STUPHOPATH+"\"+$STUDENTParentInfoPhotoPath;$STUDENTPhotoPath Storage : STUDENTPhotoPath Modifies : STUDENT PhotoPath : Yes Width : @@LongWidth + 10 [Variable: STUDENT PhotoPath] Type : String Persistent : Yes [System: Variable] STUDENT PhotoPath :"" [Collection: ParentInfoPhotoPath] Title : $$LocaleString:"Student Photos" ; Type : Company on Disk Data Source : Directory@STUPHOPATH;Directory@StudentPhotosFor;@@StudentPhotos ;Format :AnsiASCII;:Set : StuImpErrorLogFile1 : $$LocaleString:"Studjournal.log"; $STUDENTPhotoPath;" Not Applicable" OR @@StudentPhotosFor + [System: Formulae] STUPHOPATH : $$LocaleString:$STUDENTPhotoPath;@StuImpErrorLogFile1 ;:Group:#StudentBatchDet ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; [Part : STUDENT ParentInfoPhotoShow] GraphType : $STUDENTPhotoPath;STUDENTParentInfoPhotoPath2 Line : STUDENT ParentInfoPhoto Scroll : Vertical PrePrinted : yes Height : 8 width : 20 ;;border : thick box set always : yes [LIne : STUDENT ParentInfoPhoto] Field :STUDENT ParentInfoPhoto [Field : STUDENT ParentInfoPhoto] Use : Name Field width : 10 ; format :AnsiASCII: $STUDENTPhotoPath [System : UDF] STUDENT ParentInfoPhotoPath2 :String : 9261 STUDENTPhotoPath :String : 9262 STUDENT ParentInfoPhotoPath :String : 8037 [Part: Maze_ Email Features] Lines : Maze_ Email Add On Config ;Repeat : Maze_ Email Add On Config : Maze_EmailAddConfig ;Break on : $$IsEndOfList:$Maze_EmailVchConf Scroll : Vertical Height : 88% Screen [Line: Maze_ Email Add On Config] Fields : Maze_ Email VoucherConfigTitle Right Field:Maze_ Email VoucherConfig;,Maze_ Email Voucher, ; [Field: Maze_ Email Voucher] Use : Name Field Set as : $Maze_EmailVoucher Storage : Maze_EmailVoucher ; Table : ExtractVoucher Type, End Of List Show Table : Always Set Always : Yes [Field: Maze_ Email VoucherConfigTitle] Use : Name Field Info : "Action" Storage : Maze_EmailVchConftitle [Field: Maze_ Email VoucherConfig] Use : Name Field Set as : $Maze_EmailVchConf Storage : Maze_EmailVchConf Table : VoucherConfig,End Of List Skip : $$IsEndOfList:$Maze_EmailVchConf;$Maze_EmailVoucher Show Table : Always Set Always : Yes [Variable: Maze_EmailVchConftitle] Type : String Persistent : Yes [#Menu: Gateway of Tally] Add:Button:At End: VCHSendMailButton12 [Button: VCHSendMailButton12] Title : $$LocaleString:"Send Email" Key : Alt + D Inactive : If ($$ConditionEmailVch12 ="Automatic" OR $$ConditionEmailVch12 ="None") then Yes else No Action : CALL :ConditionEmailVchCheck :#STUDENTPhotoPath [Function : ConditionEmailVch12] Variable : VoucherRes12 : String 80 : Walk Collection : VoucherCompanyFilterMain 100 : SET : VoucherRes12 : $STUDENTPhotoPath 150 : End Walk 160 : Return:##VoucherRes12 [Function : ConditionEmailVch1] Variable : VoucherRes1 : String 80 : Walk Collection : VoucherCompanyFilterMain 100 : SET : VoucherRes1 : $Maze_EmailVchConfType 150 : End Walk 160 : Return:##VoucherRes1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Transaction Types - Action ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Function : ConditionEmailVch] Parameter : ParamVchType : String Variable : VoucherRes : Logical : No 80 : Walk Collection : VoucherCompanyFilterMain 90 : If : $STUDENTPhotoPath="Automatic" 100 : SET : VoucherRes : Yes 130 : End If 150 : End Walk 160 : Return:##VoucherRes [Function : ConditionEmailVchManual] Parameter : ParamVchType : String Variable : VoucherRes : Logical : No 80 : Walk Collection : VoucherCompanyFilterMain 90 : If : $STUDENTPhotoPath="Manual" 100 : SET : VoucherRes : Yes 130 : End If 150 : End Walk 160 : Return:##VoucherRes [Function : ConditionEmailVchNone] Parameter : ParamVchType : String Variable : VoucherRes : Logical : No 80 : Walk Collection : VoucherCompanyFilterMain 90 : If : $STUDENTPhotoPath="None" 100 : SET : VoucherRes : Yes 130 : End If 150 : End Walk 160 : Return:##VoucherRes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Transaction Types - Action - End of Function ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [Collection : VoucherCompanyFilterSrc] Type : Maze_EmailAddConfig : Company Child Of : ##SVCurrentCompany ;Compute : Maze_EmailVoucherType : $Maze_EmailVoucher Compute : Maze_EmailVchConfType : $Maze_EmailVchConf [Collection : VoucherCompanyFilterMain] Source Collection : VoucherCompanyFilterSrc Fetch : Maze_EmailVchConfType Filter : VoucherCompanyFilter [Collection : VoucherConfig] Title : $$LocaleString:"Log Mode" List : "Automatic" List : "Manual" List : "None" [System : UDF] Maze_EmailAddOn : Logical : 30000 ;Maze_EmailAddConfig : Aggregate : 30005 ;Maze_EmailVoucher : String : 30010 Maze_EmailVchConftitle : String : 30012 Maze_EmailVchConf : String : 30015 [Function : ConditionEmailVchCheck] ;Parameter : PMasterID : Number Parameter : SVExportFormat : String Variable : ReportTitle : String Variable : LedgerName : String Variable : ToAddress : String Variable : CCAddress : String Variable : FromAddress : String Variable : MailSubject : String Variable : StringVchRes : String Variable : LedgerNaming : String Variable : EmailTest : String Variable : EmailCCTest : String 10 : Set : LedgerName : if($$IsEmpty$PARTYLEDGERNAME)) then (if($$IsEmpty($LedgerEntries[1].LedgerName))) then ($LedgerEntries[2].LedgerName) else $LEDGERENTRIES[1].LedgerName) else ($PARTYLEDGERNAME) 15 : SET : EmailTest : $EMail:Ledger:##LedgerName 17 : Set : ToAddress : ##EmailTest 30 : Set : FromAddress : $Email:Company:##SVCurrentCompany 35 : Set : EmailCCTest : $EMailCC:Ledger:##LedgerName 45 : Set : SVViewName : ##SVViewName 50 : Set : SVExportFormat : #STUDENTPhotoPath 58 : SET : CCAddress : ##EmailCCTest 62 : Set : MailSubject : $$LocaleString:"log file" 63 : Set : SVMailFromAddress : #DSPMailFromAddress 64 : Set : SVMailFromName : #DSPMailFromName 65 : Set : FromAddress : If $$IsEmpty:##SVMailFromName then ##SVMailFromAddress else '"' + ##SVMailFromName + '"<' + ##SVMailFromAddress + ">" 67 : Set : SVMailText : #DSPMailText 68 : Set : PrintFileName : $$LocaleString:"journal.log" 80 : SET : SVMailAttachFileName : $$MakeExportName:##PrintFileName:##SVExportFormat 100 : SET : SVPrintFileName : $$MakeMailName:##ToAddress:##SVMailServer:##FromAddress:##CCAddress:##MailSubject:##SVMailAuthUserName:##SVMailAuthPasswd:##SVMailUseSsl:##SVMailUseSSLOnStdPort ;;FALSE [#Variable: SVMailAuthPasswd] Type : String Persistent : Yes [#Field: DSP MailAuthPassword] Use : Name Field Case : Normal Modifies : SVMailAuthPasswd Skip : NOT $$IsEmpty:$$Value AND NOT $$IsEdited Option : EnglishOnly