Class: EMIS::Models::SeparationPay

Inherits:
Object
  • Object
show all
Defined in:
lib/emis/models/separation_pay.rb

Overview

EMIS separation pay data

Instance Attribute Summary collapse

Instance Attribute Details

#begin_dateDate

Returns begin date for the Separation Pay. This value is not available from the pay files, and is defaulted to “01”.

Returns:

  • (Date)

    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_codeString

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.

Returns:

  • (String)

    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_dateDate

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.

Returns:

  • (Date)

    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_amountFloat

Returns amount of federal income taxes withheld from Separation Gross Pay Amount.

Returns:

  • (Float)

    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_amountFloat

Returns amount of pay related to codes in the Separation Pay Type Code ( SEP_PAY_TYP_CD). May have a negative value.

Returns:

  • (Float)

    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_amountFloat

Returns amount of pay related to codes in Separation Pay Type Code ( SEP_PAY_TYP_CD). May have a negative value.

Returns:

  • (Float)

    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_identifierString

Returns identifier that is used to ensure a unique key on each Separation Pay record.

Returns:

  • (String)

    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_codeString

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.

Returns:

  • (String)

    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_reasonString

Returns code that explains why a Separation Pay Segment was terminated.

C => Pay Condition Terminated
F => Invalid Segment
W => Not Applicable/Not Term'd.

Returns:

  • (String)

    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

#typeString

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.

Returns:

  • (String)

    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