This will compare the customer numbers and invoice numbers based on the SR number provided.
The main activity to use is the lookup datatable activity, coupled then with an IF statement to work out if the data matches on specific columns of your choice. To compare additional columns just add another lookup and change the target column, outputting to a new variable appropriately named.