Improved transaction handling for sales and customer invoice

Order To Cash: Customer Ledger Version 8.52

Improved the transaction handling for release of customer and sales invoices. This will remove the possibility for partial commitment of data in the system, which leads to better data integrity.