SELECT delivery_method, agency_id, address_id FROM basket_defaults SELECT v.code delivery_method, o.date_send, o.agency_id, o.address_id FROM basket o JOIN vn2008.Vistas v ON o.delivery_method_id = v.vista_id CALL vn.agencyListForMethod(#date, #address, 'AGENCY') CALL vn.agencyListForMethod(#date, #address, 'PICKUP')

ConfigureOrder

DeliveryOrPickupQuestion

OrderDateDeliveryQuestion

AddressQuestion

SELECT a.id, a.consignee, p.name province, a.zip_code, a.city, a.name, a.active, c.Pais country FROM address_view a LEFT JOIN vn2008.province p ON a.province_id = p.province_id JOIN vn2008.Paises c ON c.Id = p.Paises_Id WHERE active != FALSE

AgencyQuestion

PickupWarehouseQuestion

ConfirmToAccessCatalog

Arrival

Agency

ConfirmToAccessCatalog

Arrival

ReceiveThroughtRoute

ConfirmToAccessCatalog

Pickup

Warehouse