Hey guys
Here is an example of a customer's order. The ItmCode field are the protection plans that are associated with that ticket number. There can only be a max of four protection plans per order. I didn't design the current design, I just did some snooping and found out that we have been over paying the protection plan company because of this flawed design. I need to transpose this data somehow so that each order is only 1 record, and the type of protection plans fill in the ItmCode1-4 fields. If there were only 2 plans for an order, ItmCode 3 and 4 would be null.
Current:
Desired:
![]()