* feat: implement idempotent sale order creation and compliant EDI 997 generation * Fix indentation in process_850 function