You are on page 1of 1

1.

get all the invoices which are in the date range provided i the parameter

2. then if the source is manual --> exclude it

3. if the source is OICEXCELAP --> Exclude it

4. if the source if Receivbale


1. if insurance --> 90
2. if non insurance --> 91

5. Existing logic for Minor Line

6. (all invoices - 1,2,3,4,5) --> update it to 90

----------------------

Possible change

1. execute the minor line condition first (so that irrespective of invoice source
existing code will execute) --> this is purely based on pay group & minor line

2. then remove the manual invoices first

3. then remove OICEXCELAP

4. then pick up receiveable and update the priority

5. then for all other invoices update condition to 90

inv1 -receiveable

receiveable source will not fit in condition 1

Manual invoice will fit in condition 1

if an invoice is picked up for the update it should not be picked up for the update
in the conditions below

You might also like