The job calls a Webdesk report action in the context of each selected person and sends the results as e-mail attachments to that person. PDF, print HTML and XLS are supported.
$date; the mail content additionally supports $person.person, object and action; the file extension is appended depending on the format.ta_bookingMonths processes booking months.ta_employments processes each currently considered TA employment separately; object.taID is the technical employment identifier.ta_employmentCalendarMonths processes each TA employment and each delimited calendar month separately; additionally object.from and object.to are available.With multiple considered TA employments, a separate report is generated per employment. With ta_employmentCalendarMonths, separate attachments are created per employment and month. All attachments for the same person are combined into one e-mail.
Use a unique file name, for example with $object.taID and, for monthly intervals, additionally with $object.from and/or $object.to. Identical file names within one person cause an error and prevent sending for that person.
format, showResult=true and showAll=true.object. Check the parameters expected by the report action, in particular uid, taId, from and to.Reports are generated and collected per person. If no attachment was created, no mail is sent. An error for one person is logged and the next person is processed. An interruption stops processing.