Field help (EAR0DEDPRI) 

Use this field to allocate the deduction priority for this attachment. The default is ‘0’ (zero) and must be changed even if the employee only has one attachment. If an employee contract has more than one attachment of earnings they will be deducted in priority sequence.

This field is mandatory and cannot be left at ‘0’.