Codeunit 18123702 EOS CDL Event Mgt.

Codeunit 18123702 EOS CDL Event Mgt.

Methods

SalesDocClassEnabled

procedure SalesDocClassEnabled(Hidedialog: Boolean) Return: Boolean

Checks is document class global setup is enabled or not

Parameters / Return Value

  • Hidedialog Boolean

    Specifies if UI is suppressed

  • Returns Boolean

    TRUE: setup enabled, FALSE: setup disabled


PurchDocClassEnabled

procedure PurchDocClassEnabled(Hidedialog: Boolean) Return: Boolean

Checks is document class global setup is enabled or not

Parameters / Return Value

  • Hidedialog Boolean

    Specifies if UI is suppressed

  • Returns Boolean

    TRUE: setup enabled, FALSE: setup disabled


CheckSalesDocNoGaps

procedure CheckSalesDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; MaxDate: Date; CheckType: Option Hidedialog,Message,Confirm,Error) Result: Boolean

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Returns Boolean


CheckPurchDocNoGaps

procedure CheckPurchDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; MaxDate: Date; CheckType: Option Hidedialog,Message,Confirm,Error) Result: Boolean

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Returns Boolean


Events

OnBeforeCheckSalesDocNoGaps

local procedure OnBeforeCheckSalesDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; var MaxDate: Date; var CheckType: Option Hidedialog,Message,Confirm,Error; var Result: Boolean; var IsHandled: Boolean)

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Result Boolean

  • IsHandled Boolean


OnAfterCheckSalesDocNoGaps

local procedure OnAfterCheckSalesDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; var MaxDate: Date; var CheckType: Option Hidedialog,Message,Confirm,Error; var Result: Boolean)

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Result Boolean


OnBeforeCheckPurchDocNoGaps

local procedure OnBeforeCheckPurchDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; var MaxDate: Date; var CheckType: Option Hidedialog,Message,Confirm,Error; var Result: Boolean; var IsHandled: Boolean)

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Result Boolean

  • IsHandled Boolean


OnAfterCheckPurchDocNoGaps

local procedure OnAfterCheckPurchDocNoGaps(ObjectType: ObjectType; ObjectId: Integer; var MaxDate: Date; var CheckType: Option Hidedialog,Message,Confirm,Error; var Result: Boolean)

Parameters / Return Value

  • ObjectType ObjectType

  • ObjectId Integer

  • MaxDate Date

  • CheckType Option

    Hidedialog (0) , Message (1) , Confirm (2) , Error (3)

  • Result Boolean


OnBefore_SalesQuoteToOrder_OnBeforeInsertSalesOrderHeader

local procedure OnBefore_SalesQuoteToOrder_OnBeforeInsertSalesOrderHeader(var SalesOrderHeader: Record "Sales Header"; SalesQuoteHeader: Record "Sales Header"; var isHandled: Boolean)

Raised before the OnBeforeInsertSalesOrderHeader event sub, setting isHandled to true allows you to skip the CDL code.

Parameters / Return Value

  • SalesOrderHeader Record "Sales Header"

    Sales Order Header that being created from Sales Quote Header

  • SalesQuoteHeader Record "Sales Header"

    Sales Quote from which the Sales Order is being created

  • isHandled Boolean

    if set to true skips the CDL code



EOS Labs -