the order id is a session variable created by the Store Order Summary behavior.
double click the store order summary behavior and look in the session variable section to find the name of the session that will be created.
in the store order details behavior, set the Order ID column to the column that will hold the order number and bind it to the session created by the store order summary behavior.