Doing margin reports out of the AR tables could be inaccurate and not give the true margin.  In this video, it shows the variances from your costing system that get captured in the GL but not allocated across product and customers. Margin is probably one of the most important KPI's in any business. Therefore you need dynamic segments for products and customers in the GL so that you can accurately record the true margin.