Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ChangeRequest] Page 949 "Time Sheet Lines" - move variable to protected. #27890

Open
auzscr opened this issue Jan 7, 2025 · 0 comments
Open
Labels
request-for-external Request for exposing a function for extension development SCM GitHub request for SCM area

Comments

@auzscr
Copy link

auzscr commented Jan 7, 2025

Describe the request

Can you move TempTimeSheetHeader to protected vars?

var
    GlobalTimeSheetHeader: Record "Time Sheet Header";
    TempTimeSheetLine: Record "Time Sheet Line" temporary;
    TimeSheetManagement: Codeunit "Time Sheet Management";
    CellData: array[32] of Decimal;
    LineTotal: Decimal;
    ColumnCaption: array[7] of Text[30];
    NoOfColumns: Integer;
    LoadEntriesForPeriod: Option Month,Year,All;
    WorkTypeCodeVisible, JobFieldsVisible, ChargeableVisible, AbsenceCauseVisible, AssemblyOrderNoVisible : Boolean;
    TimeSheetNoHideValue: Boolean;
    LastStartDate: Date;

protected var
    **//>>>>>
    TempTimeSheetHeader: Record "Time Sheet Header" temporary;
    **//<<<<<
    ServiceOrderNoVisible: Boolean;

Additional context

We need to get values from the TempTimeSheetHeader in page extensions for Time Sheet Lines.
Internal work item: AB#562291

@auzscr auzscr changed the title Page 949 "Time Sheet Lines" [ChangeRequest] Page 949 "Time Sheet Lines" - move variable to protected. Jan 7, 2025
@JesperSchulz JesperSchulz added request-for-external Request for exposing a function for extension development SCM GitHub request for SCM area labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request-for-external Request for exposing a function for extension development SCM GitHub request for SCM area
Projects
None yet
Development

No branches or pull requests

2 participants