Thursday 23 February 2023

The values Earnings aren't valid for the attribute PrimaryClassificationId.

Hi Everyone,
I was facing an issue trying to load the elements using HDL. I was getting below error. 
"The values Earnings aren't valid for the attribute PrimaryClassificationId."
The issue was being caused as the base classification name has to be passed instead of the classification name in the HDL. In my case I was passing Earnings instead of Standard Earnings.


Sample HDL below.

METADATA|PayrollElementDetails|ElementName|ReportingName|Description|LegislativeDataGroupName|PrimaryClassificationName|SecondaryClassificationName|Category|ElementStartDate
METADATA|PayrollElementQuestionnaire|ElementName|LegislativeDataGroupName|RuleCode|Rule|Response
MERGE|PayrollElementDetails|AL HDL Test1|AL HDL Test1|AL HDL Test1|IN Legislative Data Group|Standard Earnings|||1951/01/01
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|SpecCurrency|Input Currency|Indian Rupee
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Availability Rule|Should every person eligible for the element automatically receive it?|No
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Hire Process|What is the earliest entry date for this element?|First Standard Earning Date
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Terminate Process|What is the latest entry date for this element?|Last Standard Earning Date
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Processing Level|At which employment level should this element be attached?|Assignment level
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Processing Asg Level|Do you want the element to be processed at Payroll Assignment level?|Yes
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Recurring Or NonRecurring|Does this element recur each payroll period, or does it require explicit entry?|Nonrecurring
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|Multiple Entries|Can a person have more than one entry of this element in a payroll period?|No
MERGE|PayrollElementQuestionnaire|AL HDL Test1|IN Legislative Data Group|CalculationRuleBasic|What is the calculation rule?|Flat amount

No comments:

Post a Comment