# ReceivingShipmentController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Wrehouse/ReceivingShipmentController.cs` (line 9)

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

## Where it refuses work

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

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetPOsLookupBySupplierId`
- MODULE_DECLARES → `GetAllPOsLookupBySelectedBranches`
- MODULE_DECLARES → `GetReceivedProductsLookupBySelectedOrders`
- MODULE_DECLARES → `GetAllReceivedShipments`
- MODULE_DECLARES → `GetAllReceivedShipmentsFunnel`
- MODULE_DECLARES → `GetAllReceivedProducts`
- MODULE_DECLARES → `GetAllReceivedProductsFunnel`
- MODULE_DECLARES → `CreateSheet`
- MODULE_DECLARES → `UpdateSheet`
- MODULE_DECLARES → `DeleteSheet`
- MODULE_DECLARES → `UpdatePO`
- 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 → `ReceivingShipmentBindingModel`
- IMPORTS → `DeleteSheet`
- IMPORTS → `DeleteSheet`
- IMPORTS → `DeleteDto`
- IMPORTS → `ReceivedPOBindingModel`

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