Actual Net Pay and Target Net Pay

To determine when the gross-up process is complete, the system compares the current net pay amount (the net pay element defined in the process list) against the target net amount. The target net is the sum of the net pay element before processing the PIRAMIDADO SEC section and the PIRAMIDADOS accumulator (NET + PIRAMIDADOS).

In each iteration of the gross-up, the process produces a new net based on the new gross amount.

When the current and target net are the same, the process of calculating the gross pay is complete.