# MaterialsRequisitionController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/PM/MaterialsRequisitionController.cs` (line 9)

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

## Where it refuses work

- `MaterialsRequisitionController` stops the work with an early return when `!isFound`, in 3 places.
- `MaterialsRequisitionController` stops the work with an early return when `isSaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `MaterialsRequisitionController` stops the work with an early return when `!logic.IsFound(id, CompanyID)`.
- `MaterialsRequisitionController` stops the work with an early return when `string.IsNullOrEmpty(productIds)`.
- `MaterialsRequisitionController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `MaterialsRequisitionController` stops the work with an early return when `model.ItemsIdList == null || model.ItemsIdList.Count == 0`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetMRQList`
- MODULE_DECLARES → `GetMRQDetailListByFilter`
- MODULE_DECLARES → `GetMRQDetailList`
- MODULE_DECLARES → `GetMRQProductsWithShortVendorList`
- MODULE_DECLARES → `CreateRequest`
- MODULE_DECLARES → `UpdateRequest`
- MODULE_DECLARES → `DeleteRequest`
- MODULE_DECLARES → `DeleteMRQProducts`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `MRQRequestBindingModel`
- IMPORTS → `Delete`
- IMPORTS → `DeleteDto`

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