You can access get
Value to view from Managers
Eg : Order Manager
Project : Divercy :-
page :- _MonthlyBuddgetAllowance.cshtml , _FinancialOverview.cshtml.
//53103 [Functional] [Diversey] 3.5. CURRENT MONTH BUDGET SPEND DETAILS ON THE CHILD ACCOUNT MANAGEMENT PAGE
expenditureInfo =
CommerceFramework.Orders.GetExpenditureInfoValues(Shop.ShopAccount.ReferenceId);
Or
expenditureInfo =
((ExtendedOrderManager)CommerceFrameworkBase.Orders).GetExpenditureInfoValues(Shop.ShopAccount.ReferenceId);
Do not call
Controller directly. From the view.