Skip to content

Provided Events in EDS

This article describes the events provided by EDS.

Publisher

Codeunit 5487177 "SIM_EDS Event Publisher"

OnBeforeSaveReportDocument

AL
1
2
3
4
[IntegrationEvent(false, false)]
procedure OnBeforeSaveReportDocument(ParamRecordSIMEDSQueueLine: Record "SIM_EDS Queue Line"; ParamRecordSIMEDSRecordAttachment: Record "SIM_EDS Record Attachment")
begin
end;

Raised

This event is triggered before the EDS Report configured in the EDS dispatch profile attachments is saved into the EDS queue entry.

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.

OnAfterSaveReportDocument

AL
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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
1
2
3
4
[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