Integration of logistics and marketing systems