Codeunit 18091267 EOS028 CFG Parser

Codeunit 18091267 EOS028 CFG Parser

Methods

SetFormulaCode

procedure SetFormulaCode(NewFormulaCode: Text)

This procedure sets formula code.

Parameters / Return Value

  • NewFormulaCode Text[]

    Value of formula code.


CalcDecimalExpr

procedure CalcDecimalExpr(Expr: Text) Result: Decimal

This procedure interprets a text with a mathematical operation and returns the result.

Parameters / Return Value

  • Expr Text[]

    Decimal result of the formula

  • Returns Decimal


TestFormula

procedure TestFormula()

This procedure is used to test a formula.


RemoveBracket

procedure RemoveBracket(var WorkDesc: Text)

This procedure removes brackets in a text.

Parameters / Return Value

  • WorkDesc Text[]

    Input text which will be changed without brackets


RemoveBracketwith0

procedure RemoveBracketwith0(var WorkDesc: Text)

This procedure removes brackets in a text and replaces them with 0.

Parameters / Return Value

  • WorkDesc Text[]

    Input text which will be changed without brackets (replaces them with 0)



EOS Labs -