To get the address defined for the primary company in the Infor CRM web client you can utilize a BusinessRuleHelp method called GetPrimaryServerBranchOptions. From this method you can then get the AddressID property of the BranchOptions object that is returned, and from there get the IAddress object.
Sage.SalesLogix.BranchOptions primaryBranch = Sage.SalesLogix.BusinessRules.BusinessRuleHelper.GetPrimaryServerBranchOptions(); string addrID = primaryBranch.AddressId; Sage.Entity.Interfaces.IAddress branchAddress = Sage.Platform.EntityFactory.GetById<Sage.Entity.Interfaces.IAddress>(addrID);



