Codeunit 18091281 EOS028 CFG Global Functions

Codeunit 18091281 EOS028 CFG Global Functions

Methods

GlobalClearAll

procedure GlobalClearAll(ObjectTypeCode: Code[1]; ObjectNo: Integer)

This procedure deletes all globals variables.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved


GlobalGetBoolean

procedure GlobalGetBoolean(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): Boolean

This procedure gets boolean value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Boolean


GlobalGetCodeText

procedure GlobalGetCodeText(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean) Output: Text

This procedure gets code/text value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Text


GlobalGetDate

procedure GlobalGetDate(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): Date

This procedure gets date value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Date


GlobalGetDecimal

procedure GlobalGetDecimal(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): Decimal

This procedure gets decimal value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Decimal


GlobalGetIntegerOptionChar

procedure GlobalGetIntegerOptionChar(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): Integer

This procedure gets integer/option/char value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Integer


GlobalGetTime

procedure GlobalGetTime(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): Time

This procedure gets time value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns Time


GlobalGetDateTime

procedure GlobalGetDateTime(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; DeleteVariable: Boolean): DateTime

This procedure gets date value previously saved.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” saved

  • ObjectNo Integer

    “ObjectNo” saved

  • Name Code[20]

    “Name” saved

  • DeleteVariable Boolean

    If true global variable will be deleted. If false global variable will not be deleted

  • Returns DateTime


GlobalSetValue

procedure GlobalSetValue(ObjectTypeCode: Code[1]; ObjectNo: Integer; Name: Code[20]; VarVariable: Variant)

This procedure sets global variable.

Parameters / Return Value

  • ObjectTypeCode Code[1]

    “ObjectTypeCode” to save

  • ObjectNo Integer

    “ObjectNo” to save

  • Name Code[20]

    “Name” to save

  • VarVariable Variant

    “VarVariable” to save



EOS Labs -