fix transient cost calculation
add/remove order's documents operations refactoring
fix NPE
save orders process refactoring