|
|
- IFNULL(amount,0) * IFNULL(exchange_rate,0)-((IFNULL(purchase_amount,0) + IFNULL(parts_price,0))* order_quantity) AS productGrossMargin
|
|
|
+ IFNULL(amount,0) * IFNULL(exchange_rate,0)-((IFNULL(purchase_cost,0) + IFNULL(parts_cost,0))* order_quantity) AS productGrossMargin
|