# PurchasingJobController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Purchasing/PurchasingJobController.cs` (line 14)

**Part of:** [Pams](subsystem-pams)

## Where it refuses work

- `PurchasingJobController` stops the work with an early return when `!isFound`, in 27 places.
- `PurchasingJobController` stops the work with an early return when `isUnarchived != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 7 places.
- `PurchasingJobController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 5 places.
- `PurchasingJobController` stops the work with an early return when `isCanceled != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 4 places.
- `PurchasingJobController` stops the work with an early return when `isDeleted == Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly`, in 3 places.
- `PurchasingJobController` stops the work with an early return when `!entity.HasObject`, in 2 places.

## Relationships

- MODULE_DECLARES → `GetJobById`
- MODULE_DECLARES → `GetBySalesJobId`
- MODULE_DECLARES → `GetAccumulatedBySalesJobId`
- MODULE_DECLARES → `GetallpurchasingjobsFunnel`
- MODULE_DECLARES → `Getallpurchasingjobs`
- MODULE_DECLARES → `GetOffersThatwillbeOrderedByPmList`
- MODULE_DECLARES → `GetOffersThatwillbeOrderedByPmList`
- MODULE_DECLARES → `getallpurchasingjobsBySalesJobId`
- MODULE_DECLARES → `CreatePurchasingJob`
- MODULE_DECLARES → `UpdatePurchasingJob`
- MODULE_DECLARES → `UpdateJobStage`
- MODULE_DECLARES → `UnDeliverJob`
- MODULE_DECLARES → `ConvertPurchasingJobFromInquiryToOffer`
- MODULE_DECLARES → `ConvertPurchasingJobFromOfferToOrder`
- MODULE_DECLARES → `ConvertPurchasingJobbackToInquiry`
- MODULE_DECLARES → `ConvertPurchasingJobbackToOffer`
- MODULE_DECLARES → `DeletePurchasingJob`
- MODULE_DECLARES → `DeletePurchasingJobItems`
- MODULE_DECLARES → `UnDeletePurchasingJob`
- MODULE_DECLARES → `UltemateDeletePurchasingJob`
- MODULE_DECLARES → `RegretPurchasingJob`
- MODULE_DECLARES → `CancelPurchasingJob`
- MODULE_DECLARES → `RegretOfferedJob`
- MODULE_DECLARES → `CancelOfferedJob`
- MODULE_DECLARES → `RejectOfferedJob`
- MODULE_DECLARES → `CancelOrderedJob`
- MODULE_DECLARES → `RejectOrderedJob`
- MODULE_DECLARES → `UnRegretJob`
- MODULE_DECLARES → `UnCancelJob`
- MODULE_DECLARES → `UnRegretOfferedJob`
- MODULE_DECLARES → `UnCancelOfferedJob`
- MODULE_DECLARES → `UnRejectOfferedJob`
- MODULE_DECLARES → `UnCancelOrderedJob`
- MODULE_DECLARES → `UnRejectOrderedJob`
- IMPORTS → `BaseController`
- IMPORTS → `PurchasingJobBindingModel`
- IMPORTS → `PurchasingOfferBindingModel`
- IMPORTS → `PurchasingOrderBindingModel`
- IMPORTS → `PurchasingInquiryBindingModel`
- IMPORTS → `PurchasingJobItemBindingModel`
- IMPORTS → `RegretDetailBindingModel`
- IMPORTS → `PurchaseInquiryRegretDetail`
- IMPORTS → `CancelDetailBindingModel`
- IMPORTS → `PurchaseInquiryCancelDetail`
- IMPORTS → `PurchaseOfferRegretDetail`
- IMPORTS → `PurchaseOfferCancelDetail`
- IMPORTS → `RejectDetailBindingModel`
- IMPORTS → `PurchaseOfferRejectDetail`
- IMPORTS → `PurchaseOrderCancelDetail`
- IMPORTS → `PurchaseOrderRejectDetail`

## 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.

### calls by (2)

- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
- `AppSettings` — `Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts`:126
