//Action to demonstrate use of Auto-Complete that returns a single object public static IQueryable <SalesOrderHeader> OrdersForCustomer( [DescribedAs("Enter the Account Number (AW + 8 digits) & select the customer")] Customer customer, IQueryable <SalesOrderHeader> headers ) { return(OrderContributedActions.RecentOrders(customer, headers)); }
public IList <SalesOrderHeader> RecentOrders(IFunctionalContainer container) { return(OrderContributedActions.RecentOrders(Root, container).ToList()); }