In magento admin dashboard, the order id displayed is of the form #10001011. In the URL, I can see something similar to
Note that order_id is 17 in the URL. How do I get that ID? what function in magento that will return the actual system id 17? I am trying to do some adjustment to an extension and for some reason it is using 17 instead of #10001011 to generate a download URL for the order.