|
|
@ -47,7 +47,7 @@ class Vendor_money_model extends CI_Model {
|
|
|
|
from report_tour where ordernumber=COLI_ID
|
|
|
|
from report_tour where ordernumber=COLI_ID
|
|
|
|
and exists (
|
|
|
|
and exists (
|
|
|
|
select 1 from BIZ_ConfirmLineDetail where COLD_SN=RPT_COLD_SN
|
|
|
|
select 1 from BIZ_ConfirmLineDetail where COLD_SN=RPT_COLD_SN
|
|
|
|
--and COLD_PlanVEI_SN=vendor
|
|
|
|
and COLD_PlanVEI_SN IN ($all_vendor)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
) as group_vendor_cost
|
|
|
|
) as group_vendor_cost
|
|
|
|
from (
|
|
|
|
from (
|
|
|
|