自分でもやってみて、ちょっと困ったので。
備忘録的に。
2.11系のECCUBE。
受注情報に商品名、商品コード情報を入れたCSVのダウンロード
ここに回答の記載はありますが。
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=8508&forum=11&post_id=41272#forumpost41272
--------------------------
o.order_id as "オーダー番号",
o.update_date as "受注日",
concat(order_name01,order_name02) as "注文者名",
CONCAT( product_name, IFNULL(classcategory_name1, ''), IFNULL(classcategory_name2, '') ) AS '商品名',
product_code as "商品コード",
price as "価格",
quantity as "数量",
payment_total as "請求金額",
total as "合計金額",
tax as "消費税",
deliv_fee as "送料",
charge as "手数料",
payment_method as "決済方法",
concat(shipping_name01, shipping_name02) as "宛名",
concat(shipping_kana01,shipping_kana02) as "宛名フリガナ",
concat(shipping_tel01,shipping_tel02,shipping_tel03) as "電話番号",
concat(shipping_zip01,shipping_zip02) as "配送先郵便番号",
concat(p.name,shipping_addr01,shipping_addr02) as "配送先住所",
shipping_date as "配送日",
shipping_time as "配送時間",
o.note as "メモ欄"
FROM
dtb_order AS o
LEFT JOIN
dtb_order_detail AS d
ON
o.order_id = d.order_id
LEFT JOIN
dtb_shipping AS s
ON
o.order_id = s.order_id
LEFT JOIN
mtb_pref AS p
ON
p.id = o.order_pref
LEFT JOIN
dtb_customer AS c
ON
o.customer_id = c.customer_id
WHERE
o.status = 8
AND
o.del_flg = 0
AND
NOT EXISTS (SELECT * FROM dtb_shipment_item AS si WHERE s.order_id = si.order_id AND s.shipping_id = si.shipping_id)
ORDER BY o.order_id
-------------------
登録:
コメントの投稿 (Atom)
文化から、カオス思想の話まで
日経のコラム読んでます。文化の話が多い。特に最近は、悔やまれるとか、期待したいとか。そういう、締めの文章が多い気がする。 それを見てると、農薬使って育てる農家と、オーガニックが最高と言っている農家の違いを感じる。文化的な差異と、はたから見てる人は言う。あながち、それな間違いではな...
-
自分でもやってみて、ちょっと困ったので。 備忘録的に。 2.11系のECCUBE。 受注情報に商品名、商品コード情報を入れたCSVのダウンロード ここに回答の記載はありますが。 http://xoops.ec-cube.net/modules/newbb/viewtopic.ph...
-
すいません、今回は、いつものWeb、IT、デジタルから話は離れます。劇場版 CITY HUNTER 新宿PRIVATE EYESの感想について書きます。 劇場版 CITY HUNTER 新宿PRIVATE EYES は 2019年2月ごろ公開した映画でした。 シティーハンターファ...
-
取締役をしている友人2人に別々に推薦され、読み始めた本。 それが「ハゲタカ」。 いわゆる、金融小説とは違い、リアリティあふれている。 まず、名前からして、ああ、この人ね、この銀行ねって イマジネーションがつきやすいから、 ある意味リアリティあふれている。 バブル直後の日本経済から...
1 件のコメント:
"Marketing automation" (MA) software is often compared to customer relationship management (CRM) software as they have overlapping functionality. Thanks for the update regarding it.
office.com/setup
コメントを投稿