| 7 |
mysql -uroot -pshop2020 -h192.168.190.114 catalog -e "select concat(item.id, ',', item.product_group, ',', item.brand, ',', item.model_number, ',', item.color, ',', s.availibility) as 'Id, Product Group, Brand, Model, Color, Availability' from currentinventorysnapshot as s, item where s.item_id = item.id and item.color is not null and s.warehouse_id = $i" > ${REPORT_DIR}/inventory-report-$today-$i.csv
|
7 |
mysql -uroot -pshop2020 -h192.168.190.114 catalog -e "select concat(item.id, ',', item.product_group, ',', item.brand, ',', item.model_number, ',', item.color, ',', s.availibility) as 'Id, Product Group, Brand, Model, Color, Availability' from currentinventorysnapshot as s, item where s.item_id = item.id and item.color is not null and s.warehouse_id = $i" > ${REPORT_DIR}/inventory-report-$today-$i.csv
|