(case_id)
Returns whether the order of transactions needs to be reconciled by client_date

        True if the order is fine, False if the order is bad
Returns whether the order of transactions needs to be reconciled by client_date
Returns whether the order of transactions needs to be reconciled by client_date
def check_transaction_order_for_case(case_id):
        """ Returns whether the order of transactions needs to be reconciled by client_date

        True if the order is fine, False if the order is bad
        """
        if not case_id:
            return False

        with CaseTransaction.get_cursor_for_partition_value(case_id) as cursor:
            cursor.execute(
                'SELECT compare_server_client_case_transaction_order(%s, %s)',
                [case_id, CaseTransaction.case_rebuild_types() | CaseTransaction.TYPE_CASE_CREATE])
            result = cursor.fetchone()[0]
            return result
def check_transaction_order_for_case ( case_id ) : if not case_id : return False with CaseTransaction . get_cursor_for_partition_value ( case_id ) as cursor : cursor . execute ( 'SELECT compare_server_client_case_transaction_order(%s, %s)' , [ case_id , CaseTransaction . case_rebuild_types ( ) | CaseTransaction . TYPE_CASE_CREATE ] ) result = cursor . fetchone ( ) [ 0 ] return result