Statement posting AX Retail 2012

When I am doing the statement posting , the sale order is not getting created to update the inventory. Am I missing any setup for the same.