Sometimes there are specific cases, where the job has only one single side per mailpiece, therefore this document side would be a (NEWPARENT and ENDOFPARENT) and the NEWJOB test cannot be used.
On these cases an alternative way to test the first side of the job should be used
Create a counter
[CALCULATE_COUNTER] CALCULATE [VARIABLE_COUNTER] EQ [VARIABLE_COUNTER] PLUS 1;
[VARIABLE_COUNTER] VARIABLE [STORETYPE_INTEGER] EQ 0;
Use the counter variable for the Test
[TEST_VALID_PIECEID] TEST [VARIABLE_COUNTER] GT 0;
This implementation would test for the first side of the job, instead of use the (NEWJOB) test, that might cause unexpected results on this specific case described.
UPDATED: August 07, 2017