Thursday, 23 February 2023

The value CalculationRule isn't valid for the attribute RuleName.

Hi Everyone,

I was trying to create an element using but I was facing the below issue.

The value CalculationRule isn't valid for the attribute RuleName.

The reason I was facing this is I missed a Question in the questionnare part of the HDL.

The below 2 lines need to be added instead of just the first line which is visible in the UI on the summary page when we are submitting the element for creation. Only the first one was visible, but HDL needed the second line also to be passed along with the first line.

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


Sample HDL
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