Pi order id & Order id whats the difference and info?

when i buy a scrip for example pi order id is xxxxxxxxxxx45 & exchange id xxxxxxxxxx62

when i squareoff, pi order is xxxxxxxxxxxx46 & exchange id xxxxxxxxxxxx63

so does this means in the given time only i have traded and no body transacted?correct if im wrong.

Pi order ID is for internal reference and that is for Zerodha, where as Exchange order id is relevant across all brokers who trade in a particular exchange(NSE,BSE,MCX…) and is unique for each order placed into exchange system.