Table : capitalGainCalculations

Raw table description

Fields

id id

{
  "name": "id",
  "type": "primaryKey"
}

kType E

{
  "name": "kType",
  "type": "enum",
  "enums": [
    "ENUM_CAPITAL_GAIN_CALCULATION_K_TYPE_5 (Småhus K5-beräkning)",
    "ENUM_CAPITAL_GAIN_CALCULATION_K_TYPE_7 (Näringsfastighet K7-beräkning)"
  ]
}

isCalculationIndividual bit

{
  "name": "isCalculationIndividual",
  "type": "bit"
}

saleContractDate

{
  "name": "saleContractDate",
  "type": "date"
}

salePrice $$

{
  "name": "salePrice",
  "type": "money"
}

saleCommission $$

{
  "name": "saleCommission",
  "type": "money"
}

saleValuation $$

{
  "name": "saleValuation",
  "type": "money"
}

saleInspection $$

{
  "name": "saleInspection",
  "type": "money"
}

saleOtherCosts $$

{
  "name": "saleOtherCosts",
  "type": "money"
}

saleRepairFundAmount $$

{
  "name": "saleRepairFundAmount",
  "type": "money"
}

saleApartmentEquipment $$

{
  "name": "saleApartmentEquipment",
  "type": "money"
}

apartmentNumber

{
  "name": "apartmentNumber",
  "type": "text",
  "maxLength": 30
}

buyContractDate

{
  "name": "buyContractDate",
  "type": "date"
}

buyPrice $$

{
  "name": "buyPrice",
  "type": "money"
}

buyAssetValue1952 $$

{
  "name": "buyAssetValue1952",
  "type": "money"
}

buyLandRegistrationFee $$

{
  "name": "buyLandRegistrationFee",
  "type": "money"
}

buyMortgageFee $$

{
  "name": "buyMortgageFee",
  "type": "money"
}

buyInspection $$

{
  "name": "buyInspection",
  "type": "money"
}

buyOtherCosts $$

{
  "name": "buyOtherCosts",
  "type": "money"
}

buyPriceSum $$

{
  "name": "buyPriceSum",
  "type": "money"
}

buyCostsSum $$

{
  "name": "buyCostsSum",
  "type": "money"
}

buyApartmentEquipment $$

{
  "name": "buyApartmentEquipment",
  "type": "money"
}

buySpecialCharges $$

{
  "name": "buySpecialCharges",
  "type": "money"
}

buyCapitalContributions $$

{
  "name": "buyCapitalContributions",
  "type": "money"
}

buyRepairFundAmount $$

{
  "name": "buyRepairFundAmount",
  "type": "money"
}

saleCosts $$

{
  "name": "saleCosts",
  "type": "money"
}

buyCosts $$

{
  "name": "buyCosts",
  "type": "money"
}

result $$  (Profit/loss)

{
  "name": "result",
  "type": "money",
  "note": "Profit/loss"
}

updatedDate

{
  "name": "updatedDate",
  "type": "updated"
}

Collections

[
  "capitalGainCalculationImprovements"
]

Referenced by

capitalGainCalculationImprovements as capitalGainCalculationId
capitalGainCalculationSellers as capitalGainCalculationId
deals as capitalGainCalculationId