DeleteFundAllocations

F08346 Delete Fund Allocation

Minor Business Rule

Object Name: N0800081

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function deletes the fund allocation record as well as changes the end date of related fund 
allocations to ensure the integrity of the system.

Setup Notes and Prerequisites


Special Logic




Technical Specification


Get the Current Allocation Stop Date


Do not change the stop date of allocations that belong to another enrollment.

If the Allocation Start Date is the same as the Enrollment Start Date, then skip the update of the 

previous allocation stop date.


Select the Allocation that stops the day before the Allocation to be deleted.

Update its end date to be the same as the Allocation that is being deleted in the F08346.


Delete the Passed in Allocation from the F08346 and F06106


^

Data Structure

D0800081A - F08346 Delete Fund Allocation

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szPlanIdPLANcharREQINPUT

An abbreviation or number that identifies a specific employee benefit. Examples are:   o  Employee Health Insurance   o  Accidental Death 
and Dismemberment   o  Health Club Expense Reimbursement   o  Employee Stock Appreciation Rights  A benefit plan typically is associated 
with a deduction, benefit, or accrual. For example, a medical plan is a benefit that might also require a deduction to withhold premiums from 
an employee's pay.

jdEnrollmentEffectiveDateEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

jdAllocationStartDateEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

cUpdatePreviousStopDateEV03charOPTINPUT

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cDeleteSuccessfulFlagEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None
VerifyDeleteIsValid

VerifyDeleteIsValid

F08346 Delete Fund Allocation

Major Business Rule

Object Name: N0800081

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

This function checks to determine if deleting the fund allocation is valid.  If the delete is not 
allowed, return the error ID to set.

Setup Notes and Prerequisites


Special Logic




Technical Specification


If it is the first allocation of the enrollment and there are other

allocations in the enrollment, then issue an error and suppress the delete.


If there is Payroll history in the F0619, then issue an error and suppress the

delete.


^

Data Structure

D0800081 - F08346 Delete Fund Allocation

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szPlanIdPLANcharREQINPUT

An abbreviation or number that identifies a specific employee benefit. Examples are:   o  Employee Health Insurance   o  Accidental Death 
and Dismemberment   o  Health Club Expense Reimbursement   o  Employee Stock Appreciation Rights  A benefit plan typically is associated 
with a deduction, benefit, or accrual. For example, a medical plan is a benefit that might also require a deduction to withhold premiums from 
an employee's pay.

jdEnrollmentEffectiveDateEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

jdAllocationStartDateEFTBJDEDATEREQINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

szErrorToSetDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cDeleteValidFlagEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None