Example of Deleting an Element Entry with Costing

Use HCM Data Loader to delete element entries with costing. As you can't recover deleted records, you must take caution when deleting them.

Don't attempt to delete an element entry with costing and create it for the same element, assignment and date in the same file.

Lisa Jones is posted to a project location where there's no company provided accommodation available. Hence, the company provided her a housing allowance of 2000 per pay period. This element entry is costed to the Company Head Quarters cost center for which the Cost Center value is 300 and Funding Source is 400. Assuming that she worked in a different project location which doesn't have the housing allowance perquisite. Using HCM Data Loader, you can delete housing allowance entry along with the costing information.

This ElementEntryWithCosting.dat file uses the source key to delete the element entry and costing records created in the Loading a Recurring Element Entry example.

METADATA|ElementEntryWithCosting|SourceSystemOwner|SourceSystemId|EffectiveStartDateDELETE|ElementEntryWithCosting|VISION|E3141464_HSEALW_190401|2021/04/0

If using user keys, you must use the EntrySequence attribute, not CreateEntrySequence, to delete the records. This ElementEntryWithCosting.dat file uses the user key to delete the element entry and costing records created in the Loading a Recurring Element Entry example.

METADATA|ElementEntryWithCosting|ElementName|EffectiveStartDate|EffectiveEndDate|AssignmentNumber|EntrySequence|EntryTypeMERGE|ElementEntryWithCosting|Housing Allowance|2021/04/01||E3141464|1|E