Codeunit 18122152 EOS DS Functions

Codeunit 18122152 EOS DS Functions

Methods

CreateDSFunction

procedure CreateDSFunction(var DSFunctions: Record "EOS DS Functions"; FunctionCode: Code[20]; TableID: Integer; TableOptionType: Option "0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"; FunctionDescription: Text[50])

Parameters / Return Value

  • DSFunctions Record "EOS DS Functions"

  • FunctionCode Code[20]

  • TableID Integer

  • TableOptionType Option

    "0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10) , "11" (11) , "12" (12) , "13" (13) , "14" (14) , "15" (15) , "16" (16) , "17" (17) , "18" (18) , "19" (19)

  • FunctionDescription Text[50]


ExecuteFunction

procedure ExecuteFunction(var DSFunctions: Record "EOS DS Functions"; var RecRef: RecordRef; TableOptionType: Option "0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"; UseOptionType: Boolean): Boolean

Parameters / Return Value

  • DSFunctions Record "EOS DS Functions"

  • RecRef RecordRef

  • TableOptionType Option

    "0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10) , "11" (11) , "12" (12) , "13" (13) , "14" (14) , "15" (15) , "16" (16) , "17" (17) , "18" (18) , "19" (19)

  • UseOptionType Boolean

  • Returns Boolean


DOCRELEASE

procedure DOCRELEASE(var vRrfRecord: RecordRef; iOptTableOptionType: Option "0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"; iOptSourceType: Option Sales,Purchase,Service): Boolean

Parameters / Return Value

  • vRrfRecord RecordRef

  • iOptTableOptionType Option

    "0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10) , "11" (11) , "12" (12) , "13" (13) , "14" (14) , "15" (15) , "16" (16) , "17" (17) , "18" (18) , "19" (19)

  • iOptSourceType Option

    Sales (0) , Purchase (1) , Service (2)

  • Returns Boolean


DOCREOPEN

procedure DOCREOPEN(var vRrfRecord: RecordRef; iOptTableOptionType: Option "0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"; iOptSourceType: Option Sales,Purchase,Service): Boolean

Parameters / Return Value

  • vRrfRecord RecordRef

  • iOptTableOptionType Option

    "0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10) , "11" (11) , "12" (12) , "13" (13) , "14" (14) , "15" (15) , "16" (16) , "17" (17) , "18" (18) , "19" (19)

  • iOptSourceType Option

    Sales (0) , Purchase (1) , Service (2)

  • Returns Boolean


Events

OnAfterDSFunctionExecution

local procedure OnAfterDSFunctionExecution(DSFunctions: Record "EOS DS Functions"; var RecRef: RecordRef; TableOptionType: Option "0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19")

Raised after executing a DS function

Parameters / Return Value

  • DSFunctions Record "EOS DS Functions"

    Executed DS Function

  • RecRef RecordRef

    Current RecordRef

  • TableOptionType Option

    "0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10) , "11" (11) , "12" (12) , "13" (13) , "14" (14) , "15" (15) , "16" (16) , "17" (17) , "18" (18) , "19" (19)

    Current Table Option Type


OnUnexpectedFieldType

local procedure OnUnexpectedFieldType(FiRef: FieldRef; var IsHandled: Boolean)

Raised if an unexpected field type was retrieved

Parameters / Return Value

  • FiRef FieldRef

    The current field reference

  • IsHandled Boolean


OnBeforeExecuteFunction

local procedure OnBeforeExecuteFunction(var DataSecurityFunctions: Record "EOS DS Functions"; var RecRef: RecordRef; TableOptionType: Integer; UseOptionType: Boolean; var ContinueExecution: Boolean; var IsHandled: Boolean)

Raised before executing a DS function

Parameters / Return Value

  • DataSecurityFunctions Record "EOS DS Functions"

    Current DS Function

  • RecRef RecordRef

    Current RecordRef

  • TableOptionType Integer

    Current Table Option Type

  • UseOptionType Boolean

  • ContinueExecution Boolean

  • IsHandled Boolean

    true to skip next ds functions



EOS Labs -