On Characteristic Poset and Stanley Decomposition