Modify the query of Poll04 and Poll05 in Hipos Sales Polling ETL then add the condition case when a.operationTypeGroup in (3,12) then right(concat(a.storeid,a.posnumber,a.ticketcounter),5) else a.ticketcounter end to change the invoice sequence of return transaction