var UserPersonalization: Record "User Personalization"; Users: Record "User"; begin if Users.FindSet() then repeat if UserPersonalization.Get(Users."User Security ID") then begin UserPersonalization."Company" := 'My Company'; UserPersonalization."Locale ID" := 16393; UserPersonalization."Language ID" := 16393; UserPersonalization."Time Zone" := 'Pakistan Standard Time'; UserPersonalization.Modify(); end else begin UserPersonalization.Init(); UserPersonalization."User SID" := Users."User Security ID"; UserPersonalization."Company" := 'My Company'; UserPersonalization."Locale ID" := 16393; UserPersonalization."Language ID" := 16393; UserPersonalization."Time Zone" := 'Pakistan Standard Time'; UserPersonalization.Insert(); end; until Users.Next() = 0; end;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 4,232
Nimsara Jayathilaka. 2,863
Sumit Singh 2,819