# InspectionSheetController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Wrehouse/InspectionSheetController.cs` (line 10)

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

## Where it refuses work

- `InspectionSheetController` stops the work with `HttpResponseException` when `!isFound`.
- `InspectionSheetController` stops the work with `HttpResponseException` when `dataStream == null`.
- `InspectionSheetController` stops the work with an early return when `!isFound`, in 3 places.
- `InspectionSheetController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `InspectionSheetController` stops the work with an early return when `!logic.IsFoundInCompany(id, CompanyID)`.
- `InspectionSheetController` stops the work with an early return when `model == null`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `PrepareInspectionSheet`
- MODULE_DECLARES → `GetReceivedPOsLookupByStoreId`
- MODULE_DECLARES → `GetReceivedShipmentsLookupByStoreId`
- MODULE_DECLARES → `GetReceivedProductByVariant`
- MODULE_DECLARES → `GetReceivedProductsLookupBySelectedOrders`
- MODULE_DECLARES → `GetInspectionSheets`
- MODULE_DECLARES → `GetInspectionSheetsFunnel`
- MODULE_DECLARES → `GetAllProductsReleasedToWarehouse`
- MODULE_DECLARES → `CreateSheet`
- MODULE_DECLARES → `UpdateInspectionSheet`
- MODULE_DECLARES → `ReInspectRejectedProducts`
- MODULE_DECLARES → `DeleteSheet`
- MODULE_DECLARES → `PrintWord`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetReceivedProductsLookupBySelectedOrders`
- IMPORTS → `CreateSheet`
- IMPORTS → `InspectionSheetBindingModel`
- IMPORTS → `DeleteSheet`
- IMPORTS → `DeleteSheet`
- 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
