Add evaluation company work date option - #11079
Add evaluation company work date option#11079Nikola Kukrika (nikolakukrika) wants to merge 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d65116f3-99f0-4e6e-8de8-9cfc17dbc45e
| begin | ||
| if CompanyInformationMgt.IsDemoCompany() then begin | ||
| CompanyInformation.SetLoadFields("Demo Company", "Use Today as a Workdate"); | ||
| if CompanyInformation.Get() and CompanyInformation."Demo Company" then begin |
There was a problem hiding this comment.
Instead of doing this can we add an overload to CompanyInformationMgt.IsDemoCompany that returns the company information, like CompanyInformationMgt.IsDemoCompany(CompanyInformation)
There was a problem hiding this comment.
Addressed in 58c950a. Added an internal CompanyInformationMgt.IsDemoCompany(var CompanyInformation) overload, kept the existing no-argument API delegating to it, and updated LogInManagement to use the overload with the required load fields.
|
Could not find a linked work item. Please link one in either of these ways: (1) link an ADO work item using the pattern 'AB#' followed by the work item number - you may use the 'Fixes' keyword to automatically resolve it when the pull request is merged, e.g. 'Fixes AB#1234'; or (2) link a GitHub issue of type 'Task' using the pattern 'Fixes #' followed by the issue number, e.g. 'Fixes #1234'. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: d65116f3-99f0-4e6e-8de8-9cfc17dbc45e
Summary
Testing