Provided Events in EDS
This article describes the events provided by EDS.
Publisher
Codeunit 5487177 "SIM_EDS Event Publisher"
OnBeforeSaveReportDocumentAndSetDefaultDocumentLayout
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeSaveReportDocumentAndSetDefaultDocumentLayout(var ParamDocumentLayoutCode: Code[20]; ParamRecordRef: RecordRef; ParamReportNoInteger: Integer; var ParamLayoutChangedBoolean: Boolean; ParamRecordSIMEDSQueueLine: Record "SIM_EDS Queue Line"; ParamRecordSIMEDSRecordAttachment: Record "SIM_EDS Record Attachment")
begin
end;
|
Raised
This event is triggered before the configured report in the EDS dispatch profile is saved in the EDS queue entry with a report layout.
Parameter
Name |
Type |
Description |
ParamDocumentLayoutCode |
Code[20] |
The code of the report layout. |
ParamRecordRef |
RecordRef |
The record from which the EDS sending is triggered. |
ParamReportNoInteger |
Integer |
The number of the printed report. |
ParamLayoutChangedBoolean |
Boolean |
Boolean that indicates if the report layout is changed. |
ParamRecordSIMEDSQueueLine |
Record "SIM_EDS Queue Line" |
The EDS queue line (record where the queue attachments belong). |
ParamRecordSIMEDSRecordAttachment |
Record "SIM_EDS Record Attachment" |
The attachment configuration of the dispatch profile. |
Info
The report layout can easily be changed by editing the ParamDocumentLayoutCode
parameter with an correct report layout code.
OnAfterSaveReportDocument
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterSaveReportDocument(ParamRecordSIMEDSQueueLine: Record "SIM_EDS Queue Line"; ParamRecordSIMEDSRecordAttachment: Record "SIM_EDS Record Attachment")
begin
end;
|
Raised
This event is triggered after the EDS Report configured in the EDS dispatch profile attachments is saved into the EDS queue entry.
Info
This event is triggered after the EDS queue entry is created even when the report could not be saved because of an error.
Parameter
Name |
Type |
Description |
ParamRecordSIMEDSQueueLine |
Record "SIM_EDS Queue Line" |
The EDS queue line entry that includeds helpful information. |
ParamRecordSIMEDSRecordAttachment |
Record "SIM_EDS Record Attachment" |
The EDS dispatch profile attachments from where the settings of the eds queue line is present. |
OnBeforeSaveReportEmailTemplate
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeSaveReportEmailTemplate(ParamRecordSIMEDSQueueEntry: Record "SIM_EDS Queue Entry"; ParamRecordSIMEDSRecord: Record "SIM_EDS Record")
begin
end;
|
Raised
This event is triggered before the EDS Report configured for the EDS dispatch profile email is saved into the EDS queue entry.
Parameter
Name |
Type |
Description |
ParamRecordSIMEDSQueueEntry |
Record "SIM_EDS Queue Entry" |
The EDS queue entry that includeds helpful information. |
ParamRecordSIMEDSRecord |
Record "SIM_EDS Record" |
The EDS dispatch profile from where the settings of the eds queue is present. |
OnAfterSaveReportEmailTemplate
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterSaveReportEmailTemplate(ParamRecordSIMEDSQueueEntry: Record "SIM_EDS Queue Entry"; ParamRecordSIMEDSRecord: Record "SIM_EDS Record")
begin
end;
|
Raised
This event is triggered after the EDS Report configured for the EDS dispatch profile email is saved into the EDS queue entry.
Parameter
Name |
Type |
Description |
ParamRecordSIMEDSQueueEntry |
Record "SIM_EDS Queue Entry" |
The EDS queue entry that includeds helpful information. |
ParamRecordSIMEDSRecord |
Record "SIM_EDS Record" |
The EDS dispatch profile from where the settings of the eds queue is present. |
OnBeforeEDSDialogOpen
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeEDSDialogOpen(ParamEDSQueueEntryBigInteger: BigInteger; var ParamToAddressText: Text[250]; var ParamCcAddressText: Text[250]; var ParamBccAddressText: Text[250]; var ParamSubjectText: Text[250])
begin
end;
|
Raised
This event is triggered before the user sees the EDS Dialog sending page.
Parameter
Name |
Type |
Description |
ParamEDSQueueEntryBigInteger |
BigInteger |
The EDS queue enty no. can be used to get the EDS queue entry record and extract important information from it. |
ParamToAddressText |
Text[250] |
The filled email to address which can be edited. |
ParamCcAddressText |
Text[250] |
The filled email cc address which can be edited. |
ParamBccAddressText |
Text[250] |
The filled email bcc address which can be edited. |
ParamSubjectText |
Text[250] |
The filled email subject which can be edited. |
OnBeforeSendEDS
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeSendEDS(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamSendDialogBoolean: Boolean; ParamRecordCode: Code[50]; ParamIsDownloadBoolean: Boolean; ParamIsSingleDownloadBoolean: Boolean;GlobalIsMultimailBoolean: Boolean; GlobalMultiSelectionBoolean: Boolean)
begin
end;
|
Raised
This event is triggered before the sending of the EDS Entry was performed.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamSendDialogBoolean |
Boolean |
Contains the information whether the sending was performed as a Dialog sending |
ParamRecordCode |
Code[50] |
Contains the Dispatch Profile Code |
ParamIsDownloadBoolean |
Boolean |
Contains the information whether a Download was triggered |
GlobalIsMultimailBoolean |
Boolean |
Contains the information whether a Multimail was triggered |
GlobalMultiSelectionBoolean |
Boolean |
Contains the information whether a Multi dispatch was triggered |
OnAfterSendEDS
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterSendEDS(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamSendDialogBoolean: Boolean; ParamRecordCode: Code[50]; ParamIsDownloadBoolean: Boolean; ParamIsSingleDownloadBoolean: Boolean;GlobalIsMultimailBoolean: Boolean; GlobalMultiSelectionBoolean: Boolean)
begin
end;
|
Raised
This event is triggered after the sending of the EDS Entry was performed.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamSendDialogBoolean |
Boolean |
Contains the information whether the sending was performed as a Dialog sending |
ParamRecordCode |
Code[50] |
Contains the Dispatch Profile Code |
ParamIsDownloadBoolean |
Boolean |
Contains the information whether a Download was triggered |
GlobalIsMultimailBoolean |
Boolean |
Contains the information whether a Multimail was triggered |
GlobalMultiSelectionBoolean |
Boolean |
Contains the information whether a Multi dispatch was triggered |
OnBeforeGetBusinessPartner
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeGetBusinessPartner(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamRecordSIMEDSBPRecord: Record "SIM_EDS BP Record"; ParamRecordSIMEDSBusinessPartner: Record "SIM_EDS Business Partner")
begin
end;
|
Raised
This event is triggered before the business partner gets determined during the sending process.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamRecordSIMEDSBPRecord |
Record "SIM_EDS BP Record" |
This Record will be filled with the Dispatch Profiles that are assigned to the Business partner |
ParamRecordSIMEDSBusinessPartner |
Record "SIM_EDS Business Partner" |
This Record will be filled with the Business partner that is used for the EDS sending |
OnAfterGetBusinessPartner
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterGetBusinessPartner(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamRecordSIMEDSBPRecord: Record "SIM_EDS BP Record"; ParamRecordSIMEDSBusinessPartner: Record "SIM_EDS Business Partner")
begin
end;
|
Raised
This event is triggered after the business partner gets determined during the sending process.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamRecordSIMEDSBPRecord |
Record "SIM_EDS BP Record" |
Contains the Dispatch Profile that are assigned to the Business Partner |
ParamRecordSIMEDSBusinessPartner |
Record "SIM_EDS Business Partner" |
Contains the Business Partner that is used for the EDS sending |
OnBeforeInsertQueueEntry
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnBeforeInsertQueueEntry(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamRecordSIMEDSBPRecord: Record "SIM_EDS BP Record"; ParamRecordSIMEDSBusinessPartner: Record "SIM_EDS Business Partner")
begin
end;
|
Raised
This event is triggered before the EDS queue entry gets created in the sending process.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamSendDialogBoolean |
Boolean |
Contains the information whether the sending was performed as a Dialog sending |
ParamRecordSIMEDSRecord |
Record "SIM_EDS Record" |
Contains the Dispatch Profile that is used for the EDS sending |
ParamRecordSIMEDSQueueEntry |
Record "SIM_EDS Queue Entry" |
Contains the Record of the EDS queue entry that that gets created during the EDS sending |
OnAfterInsertQueueEntry
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterInsertQueueEntry(ParamRecordRef: RecordRef; ParamSendFromFactBoxBoolean: Boolean; ParamRecordSIMEDSBPRecord: Record "SIM_EDS BP Record"; ParamRecordSIMEDSBusinessPartner: Record "SIM_EDS Business Partner")
begin
end;
|
Raised
This event is triggered after the EDS queue entry gets created in the sending process.
Parameter
Name |
Type |
Description |
ParamRecordRef |
RecordRef |
The RecordRef that is filled with the record where the EDS Sending was triggered |
ParamSendFromFactBoxBoolean |
Boolean |
Contains the information whether the sending was triggered through the factbox |
ParamSendDialogBoolean |
Boolean |
Contains the information whether the sending was performed as a Dialog sending |
ParamRecordSIMEDSRecord |
Record "SIM_EDS Record" |
Contains the Dispatch Profile that is used for the EDS sending |
ParamRecordSIMEDSQueueEntry |
Record "SIM_EDS Queue Entry" |
Contains the Record of the EDS queue entry that that gets created during the EDS sending |
OnAfterPlaceholderActionVisible
AL |
---|
| [IntegrationEvent(false, false)]
procedure OnAfterPlaceholderActionVisible(ParamPlaceholderActionVisibleBoolean: Boolean)
begin
end;
|
Raised
This event is triggered on the Attachments page of the EDS Dispatch Profile after a attachment has been selected.
Parameter
Name |
Type |
Description |
ParamPlaceholderActionVisibleBoolean |
Boolean |
Contains the information whether the Placeholder action is shown |