Codeunit 70491911 EOS055.01 Globals

Codeunit 70491911 EOS055.01 Globals

Methods

HUM_Enabled

procedure HUM_Enabled(): Boolean

Parameters / Return Value

  • Returns Boolean

Test_HUM_Enabled

procedure Test_HUM_Enabled()

EPM_Enabled

procedure EPM_Enabled(): Boolean

Parameters / Return Value

  • Returns Boolean

Test_EPM_Enabled

procedure Test_EPM_Enabled()

PCK_Enabled

procedure PCK_Enabled(): Boolean

Parameters / Return Value

  • Returns Boolean

Test_PCK_Enabled

procedure Test_PCK_Enabled()

IsWhseActivity

procedure IsWhseActivity(SourceType: Integer): Boolean

Parameters / Return Value

  • SourceType Integer

  • Returns Boolean


GetLineSourceType

procedure GetLineSourceType(SourceType: Integer; SourceSubtype: Integer): Integer

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • Returns Integer


GetHeaderSourceType

procedure GetHeaderSourceType(SourceType: Integer; SourceSubtype: Integer): Integer

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • Returns Integer


GetSourceDocumentHandler

procedure GetSourceDocumentHandler(SourceDoc: Variant; Throw: Boolean; var handler: Interface "EOS055.01 Source Document Handler"): Boolean

Parameters / Return Value

  • SourceDoc Variant

  • Throw Boolean

  • handler Interface "EOS055.01 Source Document Handler"

  • Returns Boolean


GetSourceDocumentHandler

procedure GetSourceDocumentHandler(SourceType: Integer; SourceSubtype: Integer; Throw: Boolean; var handler: Interface "EOS055.01 Source Document Handler"): Boolean

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • Throw Boolean

  • handler Interface "EOS055.01 Source Document Handler"

  • Returns Boolean


IsPostedDoc

procedure IsPostedDoc(SourceType: Integer; SourceSubtype: Integer): Boolean

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • Returns Boolean


IsPostedDoc

procedure IsPostedDoc(DocVariant: Variant): Boolean

Parameters / Return Value

  • DocVariant Variant

  • Returns Boolean


IsInbound

procedure IsInbound(SourceType: Integer; SourceSubtype: Integer): Boolean

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • Returns Boolean


IsInbound

procedure IsInbound(DocVariant: Variant): Boolean

Parameters / Return Value

  • DocVariant Variant

  • Returns Boolean


TestNotPostedDoc

procedure TestNotPostedDoc(SourceType: Integer; SourceSubtype: Integer)

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer


TestNotPostedDoc

procedure TestNotPostedDoc(DocVariant: Variant)

Parameters / Return Value

  • DocVariant Variant

TestLineDoc

procedure TestLineDoc(DocVariant: Variant; Throw: Boolean): Boolean

Tests if the provided source document is a line or header document.

Parameters / Return Value

  • DocVariant Variant

    The document.

  • Throw Boolean

    Specifies if a runtime error is thrown if the specified document is not a line document.

  • Returns Boolean

    true if the specified document is a line document.


IsTestMode

procedure IsTestMode(): Boolean

Parameters / Return Value

  • Returns Boolean

IsTransfer

procedure IsTransfer(SourceType: Integer): Boolean

Parameters / Return Value

  • SourceType Integer

  • Returns Boolean


Events

OnGetSourceDocumentHandler

local procedure OnGetSourceDocumentHandler(SourceType: Integer; SourceSubtype: Integer; var handler: Interface "EOS055.01 Source Document Handler"; var Handled: Boolean)

Internal only - if you want to implement the interface through a custom codeunit, subscribe to OnGetSourceDocumentHandlerForExternals.

Parameters / Return Value

  • SourceType Integer

    Source type.

  • SourceSubtype Integer

    Source subtype.

  • handler Interface "EOS055.01 Source Document Handler"

    The codeunit which implements the interface.

  • Handled Boolean

    Standard signature.


OnGetSourceDocumentHandlerForExternals

local procedure OnGetSourceDocumentHandlerForExternals(SourceType: Integer; SourceSubtype: Integer; var handler: Interface "EOS055.01 Source Document Handler"; var Handled: Boolean)

If you have a custom codeunit that implements the interface, please subscribe to this event which is guaranteed to fire first.

Parameters / Return Value

  • SourceType Integer

    Source type.

  • SourceSubtype Integer

    Source subtype.

  • handler Interface "EOS055.01 Source Document Handler"

    The codeunit which implements the interface.

  • Handled Boolean

    Mandatory to set this to true if you want your codeunit to be the one to implement the interface.


OnGetContainerHandler

local procedure OnGetContainerHandler(SourceType: Integer; SourceSubtype: Integer; var handler: Interface "EOS029 IContainerHandler"; var Handled: Boolean)

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • handler Interface "EOS029 IContainerHandler"

  • Handled Boolean



EOS Labs -