Example of Loading Bankruptcy Involuntary Deductions for US Employees
Here's an example of how to load bankruptcy involuntary deductions.
A bankruptcy order is issued as a result of a Federal court procedure that helps individuals get rid of their debts and repay their creditors. An involuntary deduction element using this secondary classification needs to be configured prior to creating the card component.
The card component name is defined by the element configuration, as are the value definitions which are supplied using the Calculation Value Definition and Enterable Calculation Value record types.
Refer to the Load a Card Component for US Involuntary Deductions for details of each of the record types and attributes you need to supply for an involuntary deduction.
The example file lines in the section below are always supplied together in the same CalculationCard.dat file.
Calculation Card
Always supply the CalculationCard record for the Involuntary Deduction, even if the calculation card already exists for the employee.
Here let's create a new Involuntary Deductions card for Payroll Relationship Number 6485851 starting 03-Jan-2022.
METADATA|CalculationCard|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardDefinitionName|EffectiveStartDate|EffectiveEndDate|CardSequence|PayrollRelationshipNumber
MERGE|CalculationCard|VISION|ID6485851|USA LDG|Involuntary Deductions|2022/01/03|||6485851
Card Component
Attribute Name | Value |
---|---|
Context1 | Supply a reference code. This value must be unique by deduction type. |
In this example let's create a Bankruptcy card component from 03-Jan-2022. that has a reference code of Bank Order-567.
METADATA|CardComponent|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|DirCardCompDefName|Context1|Context2|Subpriority
MERGE|CardComponent|VISION|ID_BNKRPTCY_6485851|USA LDG|ID6485851|2022/01/03||Vision Bankruptcy|Bank Order-567||
The parent Involuntary Deduction Calculation Card is identified by the DirCardId(SourceSystemId) attribute which has a value that match the SourceSystemId attribute on the CalculationCard record.
Component Details
Use the ComponentDetail record type to provide flexfield segment values. This example supplies a subset of the flexfield segments available.
METADATA|ComponentDetail|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardCompId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|DirCardCompDefName|DirInformationCategory|FLEX:Deduction Developer DF|orderAmtPayee_Display(Deduction Developer DF=INVLN_DEDN_PAYEE_DETAILS)|receivedDate(Deduction Developer DF=INVLN_DEDN_SUPPORT_DATA)|startDate(Deduction Developer DF=INVLN_DEDN_SUPPORT_DATA)|description(Deduction Developer DF=INVLN_DEDN_SUPPORT_DATA)|issuingAuthorityName(Deduction Developer DF=INVLN_DEDN_SUPPORT_DATA)|remittanceIdentifier(Deduction Developer DF=HRX_US_INV_DEDN_DATA)|third2dpartyInvoluntaryDe(Deduction Developer DF=HRX_US_INV_DEDN_DATA)|documentTrackingNumber(Deduction Developer DF=HRX_US_INV_DEDN_DATA)
MERGE|ComponentDetail|VISION|ID_BNKRPTCY_IDPD_6485851|USA LDG|ID_BNKRPTCY_6485851|2022/01/03||Vision Bankruptcy|INVLN_DEDN_PAYEE_DETAILS|INVLN_DEDN_PAYEE_DETAILS|Bankruptcy Trustee|||||||
MERGE|ComponentDetail|VISION|ID_BNKRPTCY_IDSD_6485851|USA LDG|ID_BNKRPTCY_6485851|2022/01/03||Vision Bankruptcy|INVLN_DEDN_SUPPORT_DATA|INVLN_DEDN_SUPPORT_DATA||2022/01/03|2022/01/03|Bankruptcy Order||||
MERGE|ComponentDetail|VISION|ID_BNKRPTCY_IDD_6485851|USA LDG|ID_BNKRPTCY_6485851|2022/01/03||Vision Bankruptcy|HRX_US_INV_DEDN_DATA|HRX_US_INV_DEDN_DATA||||||8889907|1|DocID1235
The parent Card Component is identified on the ComponentDetails records by the DirCardCompId(SourceSystemId) attribute, which has a value that matches the SourceSystemId on the CardComponent record.
Value Definitions
Use the CalculationValueDefinition and EnterableValueDefinition record types to provide override values for the value definitions.
METADATA|CalculationValueDefinition|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|SourceId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|DirCardCompDefName|ValueDefinitionName
MERGE|CalculationValueDefinition|VISION|ID_BNKRPTCY_VD1_6485851|USA LDG|ID_BNKRPTCY_6485851|2022/01/03||Vision Bankruptcy|Bankruptcy Order Total Owed Amount
METADATA|EnterableCalculationValue|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|ValueDefnId(SourceSystemId)|EffectiveStartDate|EffectiveEndDate|Value1
MERGE|EnterableCalculationValue|VISION|ID_BNKRPTCY_VD1_ECV_6485851|USA LDG|ID_BNKRPTCY_VD1_6485851|2022/01/03||42000.56
The parent Card Component is identified on the CalculationValueDefinitions records by the SourceId(SourceSystemId) attribute which has a value that matches the SourceSystemId on the CardComponent record.
The parent for each Calculation Value Definition is identified on each EnterableCalculationValue record using the ValueDefnId(SourceSystemId) attribute, which has a value that matches the SourceSystemID attribute on the parent CalculationValueDefinition record.