Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Event Requests] Table 77 - Report Selections #2135

Closed
bleisibach opened this issue May 3, 2018 · 0 comments
Closed

[Event Requests] Table 77 - Report Selections #2135

bleisibach opened this issue May 3, 2018 · 0 comments

Comments

@bleisibach
Copy link

bleisibach commented May 3, 2018

Requesting 7 events with handled pattern....

OnBeforePrintWithCheck

[External] PrintWithCheck(ReportUsage : Integer;RecordVariant : Variant;CustomerNoFieldNo : Integer)
OnBeforePrintWithCheck(ReportUsage,RecordVariant,CustomerNoFieldNo,Handled);
IF Handled THEN
  EXIT;

PrintWithGUIYesNoWithCheck(ReportUsage,RecordVariant,TRUE,CustomerNoFieldNo);
.
.

LOCAL [IntegrationEvent] OnBeforePrintWithCheck(ReportUsage : Integer;RecordVariant : Variant;CustomerNoFieldNo : Integer;VAR Handled : Boolean)

OnBeforePrintWithGUIYesNoWithCheckVendor

[External] PrintWithGUIYesNoWithCheckVendor(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;VendorNoFieldNo : Integer)
OnBeforePrintWithGUIYesNoWithCheckVendor(ReportUsage,RecordVariant,IsGUI,VendorNoFieldNo,Handled);
IF Handled THEN
  EXIT;

PrintDocumentsWithCheckGUIYesNoCommon(ReportUsage,RecordVariant,IsGUI,VendorNoFieldNo,TRUE,DATABASE::Vendor);
.
.

LOCAL [IntegrationEvent] OnBeforePrintWithGUIYesNoWithCheckVendor(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;VendorNoFieldNo : Integer;VAR Handled : Boolean)

OnBeforePrint

[External] Print(ReportUsage : Integer;RecordVariant : Variant;CustomerNoFieldNo : Integer)
OnBeforePrint(ReportUsage,RecordVariant,CustomerNoFieldNo,Handled);
IF Handled THEN
  EXIT;

PrintWithGUIYesNo(ReportUsage,RecordVariant,TRUE,CustomerNoFieldNo);
.
.

LOCAL [IntegrationEvent] OnBeforePrint(ReportUsage : Integer;RecordVariant : Variant;CustomerNoFieldNo : Integer;VAR Handled : Boolean)

OnBeforePrintWithGUIYesNo

[External] PrintWithGUIYesNo(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;CustomerNoFieldNo : Integer)
OnBeforePrintWithGUIYesNo(ReportUsage,RecordVariant,IsGUI,CustomerNoFieldNo,Handled);
IF Handled THEN
  EXIT;

PrintDocumentsWithCheckGUIYesNoCommon(ReportUsage,RecordVariant,IsGUI,CustomerNoFieldNo,FALSE,DATABASE::Customer);
.
.

LOCAL [IntegrationEvent] OnBeforePrintWithGUIYesNo(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;CustomerNoFieldNo : Integer;VAR Handled : Boolean)

OnBeforePrintWithGUIYesNoVendor

[External] PrintWithGUIYesNoVendor(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;VendorNoFieldNo : Integer)
OnBeforePrintWithGUIYesNoVendor(ReportUsage,RecordVariant,IsGUI,VendorNoFieldNo,Handled);
IF Handled THEN
  EXIT;

PrintDocumentsWithCheckGUIYesNoCommon(ReportUsage,RecordVariant,IsGUI,VendorNoFieldNo,FALSE,DATABASE::Vendor);
.
.

LOCAL [IntegrationEvent] OnBeforePrintWithGUIYesNoVendor(ReportUsage : Integer;RecordVariant : Variant;IsGUI : Boolean;VendorNoFieldNo : Integer;VAR Handled : Boolean)

OnBeforeSendEmailToCust

SendEmailToCust(ReportUsage : Integer;RecordVariant : Variant;DocNo : Code[20];DocName : Text[150];ShowDialog : Boolean;CustNo : Code[20])
OnBeforeSendEmailToCust(ReportUsage,RecordVariant,DocNo,DocName,ShowDialog,CustNo,Handled);
IF Handled THEN
  EXIT;

IF ShowDialog OR
   (NOT SMTPMail.IsEnabled) OR
   (GetEmailAddressIgnoringLayout(ReportUsage,RecordVariant,CustNo) = '') OR
   OfficeMgt.IsAvailable
THEN BEGIN
  SendEmailToCustDirectly(ReportUsage,RecordVariant,DocNo,DocName,TRUE,CustNo);
  EXIT;
END;
.
.

LOCAL [IntegrationEvent] OnBeforeSendEmailToCust(ReportUsage : Integer;RecordVariant : Variant;DocNo : Code[20];DocName : Text[150];ShowDialog : Boolean;CustNo : Code[20];VAR Handled : Boolean)

OnBeforeSendEmailToVendor

SendEmailToVendor(ReportUsage : Integer;RecordVariant : Variant;DocNo : Code[20];DocName : Text[150];ShowDialog : Boolean;VendorNo : Code[20])
OnBeforeSendEmailToVendor(ReportUsage,RecordVariant,DocNo,DocName,ShowDialog,VendorNo,Handled);
IF Handled THEN
  EXIT;

VendorEmail := GetVendorEmailAddress(VendorNo,RecordVariant,ReportUsage);
.
.

LOCAL [IntegrationEvent] OnBeforeSendEmailToVendor(ReportUsage : Integer;RecordVariant : Variant;DocNo : Code[20];DocName : Text[150];ShowDialog : Boolean;VendorNo : Code[20];VAR Handled : Boolean)
@thpeder thpeder added this to the May 2018 milestone May 7, 2018
@thpeder thpeder added the ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release label May 7, 2018
@StanislawStempin StanislawStempin added shipped and removed ships-in-future-update The issue is fixed in our 'master' branch and will ship in the next PREVIEW release labels May 25, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants