Class: EMIS::Models::SeparationPay
- Inherits:
-
Object
- Object
- EMIS::Models::SeparationPay
- Defined in:
- lib/emis/models/separation_pay.rb
Overview
EMIS separation pay data
Instance Attribute Summary collapse
-
#begin_date ⇒ Date
Begin date for the Separation Pay.
-
#disability_severance_pay_combat_code ⇒ String
Code that indicates whether the disability severance pay was combat-related or not.
-
#end_date ⇒ Date
Termination date of the Separation Pay.
-
#federal_income_tax_amount ⇒ Float
Amount of federal income taxes withheld from Separation Gross Pay Amount.
-
#gross_amount ⇒ Float
Amount of pay related to codes in the Separation Pay Type Code ( SEP_PAY_TYP_CD).
-
#net_amount ⇒ Float
Amount of pay related to codes in Separation Pay Type Code ( SEP_PAY_TYP_CD).
-
#segment_identifier ⇒ String
Identifier that is used to ensure a unique key on each Separation Pay record.
-
#status_code ⇒ String
Code indicating whether the pay amount in the transaction is projected or final.
-
#termination_reason ⇒ String
Code that explains why a Separation Pay Segment was terminated.
-
#type ⇒ String
Code that indicates the type of separation pay.
Instance Attribute Details
#begin_date ⇒ Date
Returns begin date for the Separation Pay. This value is not available from the pay files, and is defaulted to “01”.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#disability_severance_pay_combat_code ⇒ String
Returns code that indicates whether the disability severance pay was combat-related or not.
N => Disability severance is not combat-related
W => Not applicable
Y => Disability severance pay is for disability from combat zone
Z => Unknown.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#end_date ⇒ Date
Returns termination date of the Separation Pay. If the Member is not on the current master pay file, this date is defaulted to the end of the previous month.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#federal_income_tax_amount ⇒ Float
Returns amount of federal income taxes withheld from Separation Gross Pay Amount.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#gross_amount ⇒ Float
Returns amount of pay related to codes in the Separation Pay Type Code ( SEP_PAY_TYP_CD). May have a negative value.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#net_amount ⇒ Float
Returns amount of pay related to codes in Separation Pay Type Code ( SEP_PAY_TYP_CD). May have a negative value.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#segment_identifier ⇒ String
Returns identifier that is used to ensure a unique key on each Separation Pay record.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#status_code ⇒ String
Returns code indicating whether the pay amount in the transaction is projected or final.
F => Final Pay Amount
P => Projected Pay Amount
Z => Unknown Status.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#termination_reason ⇒ String
Returns code that explains why a Separation Pay Segment was terminated.
C => Pay Condition Terminated
F => Invalid Segment
W => Not Applicable/Not Term'd.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |
#type ⇒ String
Returns code that indicates the type of separation pay.
00 => Not Applicable
01 => Separation Pay
02 => Readjustment Pay
03 => Non-Disability Severance
04 => Disability Severance Pay
05 => Discharge Gratuity
06 => Death Gratuity
07 => Spec Separation Benefit
08 => Vol Sep Incentive Pay
09 => Vol Separation Pay (VSP)
10 => Contract Cancellation Pay and Allowances.
58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/emis/models/separation_pay.rb', line 58 class SeparationPay include Virtus.model attribute :segment_identifier, String attribute :type, String attribute :gross_amount, Float attribute :net_amount, Float attribute :begin_date, Date attribute :end_date, Date attribute :termination_reason, String attribute :disability_severance_pay_combat_code, String attribute :federal_income_tax_amount, Float attribute :status_code, String end |