Kind: Class
Source: Pams/Web/Pams.Web/Client/app/models/sales/job-process.model.ts (line 9)
Part of: Pams
JobProcess represents sales job-process data and calculates values for performance, warranty bond, and down-payment guarantees. It is used by client-side sales workflows when those amounts need to be read from a job process.
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
mermaidgraph LR JobProcess --> Performance[getPerformanceValue()] JobProcess --> WarrantyBond[getWarrantyBondValue()] JobProcess --> DownPaymentGuarantee[getDownPaymentGuaranteeValue()]
Usage
tsconst jobProcess = new JobProcess();
const guaranteeValues = {
performance: jobProcess.getPerformanceValue(),
warrantyBond: jobProcess.getWarrantyBondValue(),
downPaymentGuarantee: jobProcess.getDownPaymentGuaranteeValue(),
};
console.log(guaranteeValues);
AI Coding Instructions
- Call the value methods instead of duplicating guarantee-value calculations in UI components.
- Keep
getPerformanceValue(),getWarrantyBondValue(), andgetDownPaymentGuaranteeValue()aligned with the sales job-process data model. - Check for missing or unset source values before displaying calculated amounts.
- Update callers when changing method names or the value format returned by these methods.
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.Web/Client/app/services/sales/job-process.service.ts:1TempInq—Pams/Web/Pams.Web/Client/app/models/sales/inquiry.model.ts:17
Was this page helpful?