If you can see the image you would be able to see the enum assignment from allowanceTypes.addEnd(headerInfo.AllowanceType) statement.
I have the debugger open and within the object returned from the client side headerInfo.Allowancetype = Sales. When being assigned to the list type enum variable allowanceTypes it give me a 0 in the debugger.
Does anyone know why this is?
I feel like this is some functionality I'm missing as I just had a similar problem with the listIterator type and the first element being unknown unless I call the method .moveNext() first.