Codeunit 18122033 EOS AdvRpt User Interface

Codeunit 18122033 EOS AdvRpt User Interface

Methods

GetPageActionsVisibility

procedure GetPageActionsVisibility(TableName: Text;PageName: Text;var ShowSaveAction: Boolean;var ShowSendAction: Boolean;var ShowDocumentStatusField: Boolean)

Parameters / Return Value

  • TableName Text

  • PageName Text

  • ShowSaveAction Boolean

  • ShowSendAction Boolean

  • ShowDocumentStatusField Boolean


GetLastDocumentEmailStatus

procedure GetLastDocumentEmailStatus(DocVariant: Variant;ShowDocumentStatusField: Boolean) StatusText: Text

Parameters / Return Value

  • DocVariant Variant

  • ShowDocumentStatusField Boolean

  • Returns Text


LookupDocumentEmailStatus

procedure LookupDocumentEmailStatus(DocVariant: Variant)

Parameters / Return Value

  • DocVariant Variant

GetDocumentAddressVisible

procedure GetDocumentAddressVisible(TableName: Text;PageName: Text): Boolean

Parameters / Return Value

  • TableName Text

  • PageName Text

  • Returns Boolean


Events

OnGetPageActionsVisibility

local procedure OnGetPageActionsVisibility(TableID: Integer;PageID: Integer;var ShowSaveAction: Boolean;var ShowSendAction: Boolean;var ShowDocumentStatusField: Boolean)

You can customize which actions must be visible

Parameters / Return Value

  • TableID Integer

    Current Table id

  • PageID Integer

    Current Page id

  • ShowSaveAction Boolean

    Set this parameter to false to hide “Save” action. Default is True

  • ShowSendAction Boolean

    Set this parameter to false to hide “Send” action. Default is True

  • ShowDocumentStatusField Boolean

    Set this parameter to false to hide “Email Status” field. Default is True


OnBeforeGetLastDocumentEmailStatus

local procedure OnBeforeGetLastDocumentEmailStatus(RecRef: RecordRef; var StatusText: Text; var Handled: Boolean)

Parameters / Return Value

  • RecRef RecordRef

  • StatusText Text

  • Handled Boolean


OnBeforeLookupDocumentEmailStatus

local procedure OnBeforeLookupDocumentEmailStatus(RecRef: RecordRef; var Handled: Boolean)

Parameters / Return Value

  • RecRef RecordRef

  • Handled Boolean



EOS Labs -