Kind: Class
Source: Pams/Web/Pams.WebApp/Client/app/models/sales/job-process.model.ts (line 3)
Part of: Pams
JobProcess represents sales job-process data in the client application. It exposes methods for retrieving performance, warranty bond, and down payment guarantee values for use in sales workflows and UI views.
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 |
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
mermaidgraph LR JobProcess[JobProcess] JobProcess --> Performance[getPerformanceValue()] JobProcess --> Warranty[getWarrantyBondValue()] JobProcess --> DownPayment[getDownPaymentGuaranteeValue()]
Usage
tsimport { JobProcess } from './models/sales/job-process.model';
function readGuaranteeValues(jobProcess: JobProcess) {
const performanceValue = jobProcess.getPerformanceValue();
const warrantyBondValue = jobProcess.getWarrantyBondValue();
const downPaymentGuaranteeValue =
jobProcess.getDownPaymentGuaranteeValue();
return {
performanceValue,
warrantyBondValue,
downPaymentGuaranteeValue,
};
}
AI Coding Instructions
- Call the value getter methods instead of reading related values directly from the
JobProcessinstance. - Keep performance, warranty bond, and down payment guarantee handling separate so each value is shown in its intended sales context.
- Check the returned value type before formatting it for display, calculations, or API payloads.
- Update consumers when changing getter behavior, including sales forms and job-process views.
Relationships
- IMPORTS →
AppSettings - IMPORTS →
ClientDelay
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—Pams/Web/Pams.WebApp/Client/app/services/sales/job-process.service.ts:1TempInq—Pams/Web/Pams.WebApp/Client/app/models/sales/inquiry.model.ts:17
Was this page helpful?