# JobProcess

**Kind:** Class

**Source:** `Frontend/src/app/models/sales/job-process.model.ts` (line 9)

**Part of:** [Frontend](subsystem-frontend-src-app)

`JobProcess` models financial values associated with a sales job process. Its getter methods expose performance, warranty bond, and down-payment guarantee values for sales screens and related calculations.

## Methods

| Method | Signature | Returns |
|---|---|---|
| `getPerformanceValue` | `getPerformanceValue()` | `void` |
| `getWarrantyBondValue` | `getWarrantyBondValue()` | `void` |
| `getDownPaymentGuaranteeValue` | `getDownPaymentGuaranteeValue()` | `void` |

## Properties

| Property | Type |
|---|---|
| `JobProcessID` | `number` |
| `InquiryNumber` | `number` |
| `CurrentVersionID` | `number` |
| `CurrentOfferVersionID` | `number` |
| `CurrentOrderVersionID` | `number` |
| `DeliveredOnDate` | `Date` |
| `StatusDate` | `Date` |
| `OrderBackLogPrice` | `number` |
| `ExpectedPrice` | `number` |
| `ExpectedPriceInBaseCurrency` | `number` |
| `ExpectedPriceCurrencyCode` | `string` |
| `ExpectedPriceRateToBaseCurrency` | `number` |
| `OrderChance` | `number` |
| `ExpectedPriceCurrencySymble` | `string` |
| `clientDelayList` | `ClientDelay[]` |
| `StatusID` | `number` |
| `ActionDate` | `Date` |
| `ActionByUserID` | `number` |
| `ReasonID` | `number` |
| `Comment` | `string` |
| `InquiryContacts` | `InquiryContact[]` |
| `RateToBaseCurrency` | `number` |
| `PerformanceBondChoice` | `number` |
| `PerformanceBondValue` | `number` |
| `PerformanceBondPrecentage` | `number` |
| `PerformanceBondPrecentageFormated` | `string` |
| `PerformanceBondValueFormated` | `string` |
| `WarrantyBondChoice` | `number` |
| `WarrantyBondValue` | `number` |
| `WarrantyBondTimeChoice` | `number` |
| `DownPaymentGuaranteeChoice` | `number` |
| `DownPaymentGuaranteeValue` | `number` |
| `DownPaymentGuaranteePrecentage` | `number` |
| `DownPaymentGuaranteePrecentageFormated` | `string` |
| `DownPaymentGuaranteeValueFormated` | `string` |
| `OfferStatusID` | `number` |
| `OrderChanceID` | `number` |
| `OrderStatusID` | `number` |

## Diagram

```mermaid
graph LR
  JobProcess[JobProcess]
  Performance[getPerformanceValue()]
  Warranty[getWarrantyBondValue()]
  DownPayment[getDownPaymentGuaranteeValue()]

  JobProcess --> Performance
  JobProcess --> Warranty
  JobProcess --> DownPayment
```

## Usage

```ts
import { JobProcess } from './job-process.model';

const jobProcess = new JobProcess();

const performanceValue = jobProcess.getPerformanceValue();
const warrantyBondValue = jobProcess.getWarrantyBondValue();
const downPaymentGuaranteeValue =
  jobProcess.getDownPaymentGuaranteeValue();

console.log({
  performanceValue,
  warrantyBondValue,
  downPaymentGuaranteeValue,
});
```

## AI Coding Instructions

- Use the getter methods when reading job-process financial values.
- Keep formatting such as currency display outside `JobProcess`.
- Avoid duplicating value-selection logic in sales components.
- Update consumers when changing a getter’s return behavior.

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (2)

- `JobProcessService` — `Frontend/src/app/services/sales/job-process.service.ts`:1
- `TempInq` — `Frontend/src/app/models/sales/inquiry.model.ts`:17
