public override void LoadSchema(ISchemaInfo schema) { base.LoadSchema(schema); //Company currency configuration CompanyInfo company = CompanyInfo.Get(AppContext.ActiveSchema.Oid, false); company.SetCurrency(); }
public override void LoadUserContext() { if (AppContext.Principal == null) { return; } base.LoadUserContext(); CompanyInfo company = AppContext.ActiveSchema as CompanyInfo; if (company != null) { company.SetCurrency(); } }