Book Contents

Book Index

Report parameters for bulk sending by e-mail

Parameters contained in the reports.

Report parameters:

DefaultExport - No

Yes - original export. In this case, none of the parameter values described in this table are taken into account (i.e. parameters starting with "Export_". These parameters are intended only for the state when the DefaultExport parameter is set to No; No - new export to e-mail.

Export_ActSpecification - 0

Value from the specification code list when generating activities.

Export_AddNoteAfterExport - No

If the parameter is set to "Yes", a comment about the export is added to the document. The type of comment is given by the Export_NoteType parameter, which is set to MAIL by default.

Export_AddressType

Type of electronic address. Most reports have the default value EMAIL1. If the customer/contact person (whether customer or contact person is determined by the Export_EmailFromCust parameter) has the electronic address type from this parameter filled in, the e-mail entered for that type is prefilled in the field in the form.

Export_AttachementDocType

Document types from the 9th page of the document that will be exported as e-mail attachments. The individual types must be separated by a semicolon. The condition is to have the Export_Type parameter set to 2.

Export_AttachementFileName

Text used as the name of the file attached to the e-mail.

The protocol for replacing text with field values works for this parameter. You can therefore enter text in which field names (or link paths) are in square brackets, and the actual value of the given field is substituted for them.

It depends on the export type – in the case of the export type by document, fields from the data module of the printed document must be specified; in the case of the export by supplier/customer, only fields from the TD_Baz data module can be used.

Example: "PotvrzeniObjednavky_[DocumentIdentification].pdf"

 

The text can also contain %ZkratkaDodatkuMandanta%, which is replaced by the text of the given supplement, including the corresponding language version. The supplement text can again contain data module fields in [ ].

Export_AutogenerateSubject - No

Yes - the e-mail subject is created according to the document number.

Export_Comment

Activity comment. The value is prefilled in the field in the form.

Export_CreateAct - No

Yes - an activity is created for the e-mail.

Export_DateFrom - Current date

Date from. The value is prefilled in the field in the form.

Export_DateTo - Current date

Date to. The value is prefilled in the field in the form.

Export_Description

Activity description. The value is prefilled in the field in the form.

Export_DetailProt - No

Yes - a detailed protocol is displayed after the e-mail is sent.

Export_EditAct - No

Yes - activities can be edited.

Export_EditMail - No

If the parameter is set to "Yes", the Edit mail field is checked automatically.

Export_EmailFromCust - Yes

Yes - the e-mail from the customer is used for the export. No - the e-mail from the contact person of the superior document, in the case of a quotation from the Contact person field. The value No is relevant only if the Export_Type parameter is set to 2 (i.e. by document).

Export_GenerateActivityDescr - No

Sets the default checking of the "Generate activity description" field in the form.

Export_LogoPictureFooter - Footer.wmf

Name of the company logo for the e-mail footer.

Export_LogoPictureHeader - Header.wmf

Name of the company logo for the e-mail header.

Export_NoInteractive - No

Yes - the form for export to e-mail is not displayed.

Export_NoteType - MAIL

Parameter for selecting the type of comment that is displayed after the mail is sent successfully, if the Export_AddNoteAfterExport parameter is set to Yes.

Export_pdfDirectory

Selection of the directory with the exported "*.pdf" files.

Export_PdfInAttached - No

The parameter is relevant and works only if the Export_Type parameter = 2 (i.e. per document) and the Export_SavedExPdf parameter is set to Yes. In that case, the created pdf is attached to the Documents on the External Documents and Documents (9th Page) tab of the sent document.

Export_PlaceInAFolder

Folder for storing the activity.

Export_ReferenceDocActivity - Yes

Yes - transfers the activity reference to the 1st page of the document.

Export_ResponsiblePreson

Responsible person of the activity. The value is prefilled in the field in the form.

Export_SavedExPdf

Yes - saves the "*.pdf" file from the sent e-mail to the directory defined in the Export_pdfDirectory parameter.

Export_SetStatus

If text is entered that corresponds to the abbreviation of a record in the Status code list of the given document, this value is set in this field after the mail is sent successfully. If the field was already filled in, the original value is overwritten. The value is also set for confirmed documents.

Export_ShowLogoFooter - No

Yes - the logo is displayed in the e-mail footer.

Export_ShowLogoHeader - No

Yes - the logo is displayed in the e-mail header.

Export_SubjectOfMail

Parameter for setting the e-mail subject. The value entered in this parameter is always added to the subject of the e-mail being sent. The text in this parameter can be set so that values from specific fields of the customer or document are automatically added to the e-mail subject. If the user wants the value of a customer field to be added to the e-mail subject, the exact name of the relevant field must be entered in this parameter in square brackets (e.g. [ICO]). The export type must be set to 1 - by Supplier/Customer.

If we want to generate a value from a document field into the e-mail subject, the export type must be set to 2 - by Document and the name of this field must be entered in the Export_SubjectOfMail parameter, again in square brackets.

Links of individual fields can also be used. The parameter value must then be, for example, in the form [KodZ;Zkr1]. The e-mail subject can be generated by combining several fields at once. In this case, we must list the individual fields in the parameter (e.g. [ICO] [Mena]).

Export_TextForMail

Parameter for setting the e-mail text.

The protocol for replacing text with field values works for this parameter. You can therefore enter text in which field names (or link paths) are in square brackets, and the actual value of the given field is substituted for them.

It depends on the export type – in the case of the export type by document, fields from the data module of the printed document must be specified; in the case of the export by supplier/customer, only fields from the TD_Baz data module can be used.

 

The text can contain %ZkratkaDodatkuMandanta%, which is replaced by the text of the given supplement, including the corresponding language version. The supplement text can again contain data module fields in [ ].

Export_Type

Export type: 1 - by Supplier/Customer; 2 - by Document.

Export_TypeOfActivity

Activity type. The value is prefilled in the field in the form.

Export_ISDOCFormat - No

Yes - the export is made to the "ISDOC" format, not to "*.pdf". The parameter can be used for the Invoice out report.