Skip to main content
New Participant
Nov 17, 2026 7:06 AM UTC

GL XML code - Labor Metrics Token

Hi ​@Developer Communities Admin 

I am currently working on the XML/XSLT code for the Payroll GL file.

We have configured the Cost Center value in Labor Metrics and are attempting to retrieve the Ledger Code and Ledger Description fields from Labor Metrics using the following tokens:

  • dynamic_labor_metric_code_CostCenter_desc
  • dynamic_labor_metric_code_CostCenter_glaccount

However, both fields are returning blank values, including in the XML output file. The Cost Center itself is populating correctly, but the associated Ledger Code and Description are not being returned.

Could you please advise if there are any additional configuration requirements or if there are alternate tokens that should be used to retrieve these Labor Metric attributes?

    1 reply

    Participating Frequently
    Nov 17, 2026 3:48 PM UTC

    Those are valid tokens and will output description and ledger code defined for the labor metric code part of the transaction as long as labor metric type in your case is defined with reference code CostCenter.    Are you able to provide a snippet of column definition for both columns?