Codeunit 5130139 M365 Calculate JobStructLine

Codeunit 5130139 M365 Calculate JobStructLine

Methods

Min

procedure "Min"(firstNumber: Decimal; secondNumber: Decimal): Decimal

returns the minimum number of two decimals

Parameters / Return Value

  • firstNumber Decimal

  • secondNumber Decimal

  • Returns Decimal

    decimal


Max

procedure "Max"(firstNumber: Decimal; secondNumber: Decimal): Decimal

returns the maximum number of two decimals

Parameters / Return Value

  • firstNumber Decimal

  • secondNumber Decimal

  • Returns Decimal

    decimal


SetNextOperations

procedure SetNextOperations(jobStructGrpLine: Record "M365 Job Structure Line")

Set field “Next Operation No.” for all attached lines of a job structure group line

Parameters / Return Value

  • jobStructGrpLine Record "M365 Job Structure Line"

CalcPreviousOperations

procedure CalcPreviousOperations(jobStructGrpLine: Record "M365 Job Structure Line")

Calculate field “previous operation no” for a given job structure group line

Parameters / Return Value

  • jobStructGrpLine Record "M365 Job Structure Line"

CheckBeforeCalcOperations

procedure CheckBeforeCalcOperations(jobStructGrpLine: Record "M365 Job Structure Line")

Check operation no in all attached lines

Parameters / Return Value

  • jobStructGrpLine Record "M365 Job Structure Line"


EOS Labs -