Previous page

Next page

Fixing NLX validation errors

For the list of NLX validation errors, see NLX Error Codes and Messages.

NLX errors are caused by incorrect clauses in payroll rules. For example:

 

Example 1 - Mismatched round or curly brackets (parenthesis)

Audit log information:

Validating Payroll Rule Code: A.HRSPMT-SAL

Failed to interpret action clause.

- RowOrder: 0

- DisplayClause: Post Employee.Total profiled hours to accumulator 1

- Clause: NlxPrArAccumFieldPost('TotalProfiledHours'),NlxPrArAccumEmField({'1')

Error code: NLXGNSYN002

There appears to be mismatched curly parentheses. Clause structure is incorrect. Expected: RightCurlyParenthesis, but got: RightParenthesis. (Error level Set).

Parsing failed at: NlxPrArAccumFieldPost('TotalProfiledHours'),NlxPrArAccumEmField({'1')

In this example, the payroll rule action clause has a closing curly bracket missing.

To correct this problem:

  1. Open the A.HRSPMT-SAL payroll rule.
  2. Click the Action Clauses tab.
  3. Right-click the Post Employee.Total profiled hours to accumulator 1 clause.
  4. Click Edit formula.

    The closing curly bracket (}) is missing.

    Embedded GIF File 0% Template

  5. Insert the missing closing curly bracket.
  6. Save and close the payroll rule.

 

Example 2 - One of the following is missing: comma,".and.",".or."

Audit log information:

Validating Payroll Rule Code: A.HRSPMT-WAG

!10 Failed to interpret action clause.

!11 - RowOrder: 0

!12 - DisplayClause: Post Master.Ordinary hours to accumulator 1

!13 - Clause: NlxPrArAccumFieldPost('OrdHours')NlxPrArAccumMast({'1'})

!14 Error code: NLXGNSYN003

!15 One of the following appears to be missing: comma,".and.",".or.". Clause structure is incorrect. Expected: Comma, but got: Function NlxPrArAccumMast. (Error level Statements).

!16 Parsing failed at: NlxPrArAccumFieldPost('OrdHours')NlxPrArAccumMast

In this example, the payroll rule action clause has a comma missing.

To correct this problem:

  1. Open the A.HRSPMT-WAG payroll rule.
  2. Click the Action Clauses tab.
  3. Right-click the Post Master.Ordinary hours to accumulator 1 clause.
  4. Click Edit formula.

    The comma is missing between the two functions.

    Edit Formula - Missing Comma

  5. Insert the missing comma.
  6. Save and close the payroll rule.

 

Example 3 - An allowance has been deleted or renamed

Audit log information:

Validating Payroll Rule Code: A.HRSPMT-WAG

Failed to interpret qualifying clause.

- DisplayClause: Standard pay is True ...

- Clause: oTRUE(NlxPrStandardPay()).and.oTRUE(NlxPrQrOAllw({'010','101','102','103','104','105','108','109','110'}))

Error code: NLXPRALW002

[NlxPrQrOAllw] - The field value "101" does not represent a valid record in the Allowance table.

Error code: NLXPRALW002

[NlxPrQrOAllw] - The field value "102" does not represent a valid record in the Allowance table.

The qualifying clause in the A.HRSPMT-WAG payroll rule lists two allowances (101 and 102) that do not exist (have been deleted or recoded).

Ensure that these allowances exist or update the payroll rule.

In This Section

NLX Error Codes and Messages

Topic: 22432