It is possible to sort orders in query only by OrderGroup table fields using OrderByClause: "OrderByClause: This clause can only use ordergroup table fields." a. How can I implement order by OrderGroup_PurchaseOrder table field? b. If the first way is not possible how to add the necessary MetaField to OrderGroup table?
Order search and sorting may be made in accordance with the following articles:
http://world.episerver.com/Blogs/Shannon-Gray/Dates/2012/12/EPiServer-Commerce-Order-Search-Made-Easy/
http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Commerce/75/Orders/Searching-for-orders/
It is possible to sort orders in query only by OrderGroup table fields using OrderByClause: "OrderByClause: This clause can only use ordergroup table fields."
a. How can I implement order by OrderGroup_PurchaseOrder table field?
b. If the first way is not possible how to add the necessary MetaField to OrderGroup table?
Thank you.