SeverancePayHypothesisSolutionFundingPlan
SeverancePayHypothesisSolutionFundingPlan
Description
L'entité SeverancePayHypothesisSolutionFundingPlan contient les informations liées au plan de financement associé à une solution de financement.
Relations
Ascendantes
Entité | Propriété |
|---|---|
SeverancePayHypothesisSolution | severancePayHypothesisSolutionFundingPlans |
Descendantes
Entité | Propriété |
|---|---|
History | history |
Propriétés
Nom | Type | Description | Validateur | Lecture seule ? | Dépréciée ? | DerniÚre version modifiée |
|---|---|---|---|---|---|---|
annualDeposit | Number | Il s'agit du versement initial de l'annĂ©e. | ï»ż | ï»ż | ï»ż | 2.9.0 |
companyTaxGains | Number | Il s'agit du gain d'impĂŽts sur les sociĂ©tĂ©s pour l'entreprise. | ï»ż | ï»ż | ï»ż | 2.9.0 |
departureNumber | Number | Il s'agit du nombre de dĂ©parts. | ï»ż | ï»ż | ï»ż | 2.9.0 |
potentialSeverancePay | Number | Il s'agit de l'IFC probable. Cela correspond au montant des engagements pour l'annĂ©e. | ï»ż | ï»ż | ï»ż | 2.9.0 |
year | String | Il s'agit de l'annĂ©e du plan de financement. | ï»ż | ï»ż | ï»ż | 2.9.0 |
yearEndBalance | Number | Il s'agit du montant en compte en fin d'annĂ©e. | ï»ż | ï»ż | ï»ż | 2.9.0 |
yearEndInterestAmount | Number | Il s'agit du montant des intĂ©rĂȘts en fin d'annĂ©e. | ï»ż | ï»ż | ï»ż | 2.9.0 |
id | String | Identifiant de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | ï»ż | X | ï»ż | ï»ż |
code | String | Codification fonctionnelle de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | ï»ż | ï»ż | ï»ż | ï»ż |
externalId | String | Identifiant de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan dans le systĂšme client | ï»ż | ï»ż | ï»ż | ï»ż |
externalCode | String | Codification fonctionnelle de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan dans le systĂšme client | ï»ż | ï»ż | ï»ż | ï»ż |
severancePayHypothesisSolutionFundingPlanId | String | Identifiant public de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan dans l'OIP | ï»ż | ï»ż | ï»ż | ï»ż |
label | String | Information relative au nom de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan dans son contexte d'utilisation | ï»ż | ï»ż | ï»ż | ï»ż |
createdAt | Date | Date de crĂ©ation de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | ï»ż | X | ï»ż | ï»ż |
updatedAt | Date | Date de modification de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | ï»ż | X | ï»ż | ï»ż |
Enumérations
Aucune enumération.
Enumérations génériques
Aucune enumération générique.
Exemple
import { Entities } from '@fasstech/oip-core';
import { getHypothesisId } from '@fasstech/oip-core/entities/Hypothesis';
import { getOfferId } from '@fasstech/oip-core/entities/Offer';
import { getProjectId } from '@fasstech/oip-core/entities/Project';
import { getSeverancePayHypothesisId } from '@fasstech/oip-core/entities/SeverancePayHypothesis';
import { getSeverancePayHypothesisSolutionId } from '@fasstech/oip-core/entities/SeverancePayHypothesisSolution';
import { getSeverancePayHypothesisSolutionFundingPlanAnnualDeposit, getSeverancePayHypothesisSolutionFundingPlanCode, getSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains, getSeverancePayHypothesisSolutionFundingPlanDepartureNumber, getSeverancePayHypothesisSolutionFundingPlanExternalCode, getSeverancePayHypothesisSolutionFundingPlanExternalId, getSeverancePayHypothesisSolutionFundingPlanId, getSeverancePayHypothesisSolutionFundingPlanLabel, getSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay, getSeverancePayHypothesisSolutionFundingPlanSeverancePayHypothesisSolutionFundingPlanId, getSeverancePayHypothesisSolutionFundingPlanYear, getSeverancePayHypothesisSolutionFundingPlanYearEndBalance, getSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount, setSeverancePayHypothesisSolutionFundingPlanAnnualDeposit, setSeverancePayHypothesisSolutionFundingPlanCode, setSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains, setSeverancePayHypothesisSolutionFundingPlanDepartureNumber, setSeverancePayHypothesisSolutionFundingPlanExternalCode, setSeverancePayHypothesisSolutionFundingPlanExternalId, setSeverancePayHypothesisSolutionFundingPlanLabel, setSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay, setSeverancePayHypothesisSolutionFundingPlanSeverancePayHypothesisSolutionFundingPlanId, setSeverancePayHypothesisSolutionFundingPlanYear, setSeverancePayHypothesisSolutionFundingPlanYearEndBalance, setSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount } from '@fasstech/oip-core/entities/SeverancePayHypothesisSolutionFundingPlan';
(async () => {
let project = await Entities('Project').create();
let offer = await Entities('Offer').create();
let hypothesis = await Entities('Hypothesis').create();
let severancePayHypothesis = await Entities('SeverancePayHypothesis').create();
let severancePayHypothesisSolution = await Entities('SeverancePayHypothesisSolution').create();
const severancePayHypothesisSolutionFundingPlan = await Entities('SeverancePayHypothesisSolutionFundingPlan').create();
setSeverancePayHypothesisSolutionFundingPlanAnnualDeposit(97, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains(99, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanDepartureNumber(100, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay(112, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanYear('year', severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanYearEndBalance(121, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount(121, severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanCode('code', severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanExternalId('externalId', severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanExternalCode('externalCode', severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanSeverancePayHypothesisSolutionFundingPlanId('severancePayHypothesisSolutionFundingPlanId', severancePayHypothesisSolutionFundingPlan);
setSeverancePayHypothesisSolutionFundingPlanLabel('label', severancePayHypothesisSolutionFundingPlan);
severancePayHypothesisSolution = await Entities('SeverancePayHypothesisSolutionFundingPlan').save(severancePayHypothesisSolution, severancePayHypothesisSolutionFundingPlan);
severancePayHypothesis = await Entities('SeverancePayHypothesisSolution').save(severancePayHypothesis, severancePayHypothesisSolution);
hypothesis = await Entities('SeverancePayHypothesis').save(hypothesis, severancePayHypothesis);
offer = await Entities('Hypothesis').save(offer, hypothesis);
project = await Entities('Offer').save(project, offer);
await Entities('Project').save(project);
const projectToTest = await Entities('Project').get({ id: getProjectId(project) });
const offerToTest = await Entities('Offer').get(projectToTest, { filter: ({ id }) => id === getOfferId(offer) });
const hypothesisToTest = await Entities('Hypothesis').get(offerToTest, { filter: ({ id }) => id === getHypothesisId(hypothesis) });
const severancePayHypothesisToTest = await Entities('SeverancePayHypothesis').get(hypothesisToTest, { filter: ({ id }) => id === getSeverancePayHypothesisId(severancePayHypothesis) });
const severancePayHypothesisSolutionToTest = await Entities('SeverancePayHypothesisSolution').get(severancePayHypothesisToTest, { filter: ({ id }) => id === getSeverancePayHypothesisSolutionId(severancePayHypothesisSolution) });
const severancePayHypothesisSolutionFundingPlanToTest = await Entities('SeverancePayHypothesisSolutionFundingPlan').get(severancePayHypothesisSolutionToTest, { filter: ({ id }) => id === getSeverancePayHypothesisSolutionFundingPlanId(severancePayHypothesisSolutionFundingPlan) });
getSeverancePayHypothesisSolutionFundingPlanAnnualDeposit(severancePayHypothesisSolutionFundingPlanToTest); // 97
getSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains(severancePayHypothesisSolutionFundingPlanToTest); // 99
getSeverancePayHypothesisSolutionFundingPlanDepartureNumber(severancePayHypothesisSolutionFundingPlanToTest); // 100
getSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay(severancePayHypothesisSolutionFundingPlanToTest); // 112
getSeverancePayHypothesisSolutionFundingPlanYear(severancePayHypothesisSolutionFundingPlanToTest); // 'year'
getSeverancePayHypothesisSolutionFundingPlanYearEndBalance(severancePayHypothesisSolutionFundingPlanToTest); // 121
getSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount(severancePayHypothesisSolutionFundingPlanToTest); // 121
getSeverancePayHypothesisSolutionFundingPlanCode(severancePayHypothesisSolutionFundingPlanToTest); // 'code'
getSeverancePayHypothesisSolutionFundingPlanExternalId(severancePayHypothesisSolutionFundingPlanToTest); // 'externalId'
getSeverancePayHypothesisSolutionFundingPlanExternalCode(severancePayHypothesisSolutionFundingPlanToTest); // 'externalCode'
getSeverancePayHypothesisSolutionFundingPlanSeverancePayHypothesisSolutionFundingPlanId(severancePayHypothesisSolutionFundingPlanToTest); // 'severancePayHypothesisSolutionFundingPlanId'
getSeverancePayHypothesisSolutionFundingPlanLabel(severancePayHypothesisSolutionFundingPlanToTest); // 'label'
})();