We are trying to integrate an ERP where there is no one-to-one mapping of customers to users in Dynamicweb, so we have mapped a customernumber from a dynamicweb user group instead, and all orders from users in that group are placed with the group customer number. Works fine and the ERP is at least happy.
HOWEVER, when viewing orders in DynWeb, obviously only the user who placed the order can see them because the OrderAccessUserId gets the AccessUserId of that user.
Would it be a good approach to set the accessuserid for the order, to the accessuserid of the group, and then modify the order list template giving it ability to show group orders aswell, or is this doomed to cause issues later?