Skip to content

JobProcess

reference
1 min readUpdated

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

MethodSignatureReturns
getPerformanceValuegetPerformanceValue()void
getWarrantyBondValuegetWarrantyBondValue()void
getDownPaymentGuaranteeValuegetDownPaymentGuaranteeValue()void

Properties

PropertyType
JobProcessIDnumber
InquiryNumbernumber
CurrentVersionIDnumber
CurrentOfferVersionIDnumber
CurrentOrderVersionIDnumber
DeliveredOnDateDate
StatusDateDate
OrderBackLogPricenumber
ExpectedPricenumber
ExpectedPriceInBaseCurrencynumber
ExpectedPriceCurrencyCodestring
ExpectedPriceRateToBaseCurrencynumber
OrderChancenumber
ExpectedPriceCurrencySymblestring
clientDelayListClientDelay[]
StatusIDnumber
ActionDateDate
ActionByUserIDnumber
ReasonIDnumber
Commentstring
RateToBaseCurrencynumber
PerformanceBondChoicenumber
PerformanceBondValuenumber
PerformanceBondPrecentagenumber
PerformanceBondPrecentageFormatedstring
PerformanceBondValueFormatedstring
WarrantyBondChoicenumber
WarrantyBondValuenumber
WarrantyBondTimeChoicenumber
DownPaymentGuaranteeChoicenumber
DownPaymentGuaranteeValuenumber
DownPaymentGuaranteePrecentagenumber
DownPaymentGuaranteePrecentageFormatedstring
DownPaymentGuaranteeValueFormatedstring
OfferStatusIDnumber
OrderChanceIDnumber
OrderStatusIDnumber

Diagram

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

Usage

ts
import { 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 JobProcess instance.
  • 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)

  • JobProcessServicePams/Web/Pams.WebApp/Client/app/services/sales/job-process.service.ts:1
  • TempInqPams/Web/Pams.WebApp/Client/app/models/sales/inquiry.model.ts:17

Was this page helpful?

Download as PDF