|
|
@@ -328,9 +328,10 @@
|
|
|
tmgs.sku_name as "skuName",
|
|
|
tpobi.out_qty as "outboundOutQty",
|
|
|
tpobi.out_qty - tpobi.return_qty as "canReturnQty",
|
|
|
- tpobi.out_qty - tpobi.return_qty as "outingQty",
|
|
|
+ - (tpobi.out_qty - tpobi.return_qty) as outing_qty,
|
|
|
t.price_sale as "priceOut",
|
|
|
- t.price_sale * (tpobi.out_qty - tpobi.return_qty) as "outingAmt",
|
|
|
+ - t.price_sale * (tpobi.out_qty - tpobi.return_qty) as outing_amt,
|
|
|
+ tpobi.inv_id as "invId",
|
|
|
t.non_std_code,
|
|
|
tpobi.remarks
|
|
|
FROM dkic_b.t_psi_outbound_item as tpobi
|