1

Hello,


can you please add an event to the function "JobCheckIfAnyExtText" similar to the other CheckIfAnyTexts functions?

This is necessary to override the AutoText behavior when extending the standard extended text functionality.


procedure JobCheckIfAnyExtText(var JobPlanningLine: Record "Job Planning Line"; Unconditionally: Boolean; Job: Record Job) Result: Boolean

    var

        ExtTextHeader: Record "Extended Text Header";

    begin

  IsHandled := false;

        OnBeforeJobCheckIfAnyExtText(JobPlanningLine, Unconditionally, MakeUpdateRequired, AutoText, Result, IsHandled);

        if IsHandled then

            exit(Result);



        MakeUpdateRequired := false;

        if IsDeleteAttachedLines(JobPlanningLine."Line No.", JobPlanningLine."No.", JobPlanningLine."Attached to Line No.") and not JobPlanningLine.IsExtendedText() then

            MakeUpdateRequired := DeleteJobPlanningLines(JobPlanningLine);


        AutoText := false;

...



thank you in advance


BR

Mario

Category: Development
STATUS DETAILS
New