|
@@ -426,7 +426,7 @@
|
426
|
426
|
, fn_whs_nm(base.brand_id, base.whs_id) as whs_nm, fn_whs_location_nm(base.brand_id, base.whs_id, base.location) as location_nm
|
427
|
427
|
, ptcl.item_id as 'pchReqDtlInfo.item_id', ptcl.item_nm as 'pchReqDtlInfo.item_nm', ptcl.unit_amt as 'pchReqDtlInfo.unit_amt'
|
428
|
428
|
, bitem.unit_amt as 'itemUnitInfo.unit_amt' , ptcl.pch_req_qty as 'pchReqDtlInfo.pch_req_qty', date_format(base.dlv_req_dt, '%Y.%m.%d') as dlv_req_dt
|
429
|
|
- , ptcl.pch_req_amt as 'pchReqDtlInfo.pch_req_amt', bitem.unit_amt * ptcl.pch_req_qty as 'pchReqDtlInfo.pch_ord_amt'
|
|
429
|
+ , ptcl.pch_req_amt as 'pchReqDtlInfo.pch_req_amt', ptcl.unit_amt * ptcl.pch_req_qty as 'pchReqDtlInfo.pch_ord_amt'
|
430
|
430
|
, bitem.lead_time as 'itemUnitInfo.lead_time', bitem.spply_id as 'itemUnitInfo.spply_id', base.whs_id, base.location
|
431
|
431
|
, case when base.store_id is null or base.store_id = '' then 'DL02' else case when item.store_deli_type = '10' then 'DL01' else 'DL02' end end as dlv_dvsn
|
432
|
432
|
, fn_code_nm('DLV_DVSN',case when base.store_id is null or base.store_id = '' then 'DL02' else case when item.store_deli_type = '10' then 'DL01' else 'DL02' end end) as dlv_dvsn_nm
|