Codeunit 5130100 M365 Job Utils

Codeunit 5130100 M365 Job Utils

Methods

StringTrim

procedure StringTrim(inStr: Text[1024]): Text[1024]

Parameters / Return Value

  • inStr Text[1024]

  • Returns Text[1024]


StringReplace

procedure StringReplace(repString: Text[1024]; oldPattern: Text[1024]; newPattern: Text[1024]; maxLen: Integer; replaceAll: Boolean; ignoreCase: Boolean): Text[1024]

Parameters / Return Value

  • repString Text[1024]

  • oldPattern Text[1024]

  • newPattern Text[1024]

  • maxLen Integer

  • replaceAll Boolean

  • ignoreCase Boolean

  • Returns Text[1024]


TextToOption

procedure TextToOption(varText: Text[250]): Integer

Parameters / Return Value

  • varText Text[250]

  • Returns Integer


TextToInteger

procedure TextToInteger(varText: Text[250]): Integer

Parameters / Return Value

  • varText Text[250]

  • Returns Integer


TextToDecimal

procedure TextToDecimal(varText: Text[250]): Decimal

Parameters / Return Value

  • varText Text[250]

  • Returns Decimal


TextToDate

procedure TextToDate(varText: Text[30]): Date

Parameters / Return Value

  • varText Text[30]

  • Returns Date


CalcDaysAmount

procedure CalcDaysAmount(startDate: Date; endDate: Date; baseCalendar: Code[10]): Integer

Parameters / Return Value

  • startDate Date

  • endDate Date

  • baseCalendar Code[10]

  • Returns Integer



EOS Labs -