Added ordenes base query ver 1

Added ordenes base query version 1