# ShippingOrderController

**Kind:** Controller

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

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

## Where it refuses work

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

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetSalesOrdersLookup`
- MODULE_DECLARES → `GetProductLoockupBySalesJobId`
- MODULE_DECLARES → `GetShippingOrders`
- MODULE_DECLARES → `GetShippingOrdersFunnel`
- MODULE_DECLARES → `AddShippingOrder`
- MODULE_DECLARES → `UpdateShippingOrder`
- MODULE_DECLARES → `DeleteShippingOrder`
- 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 → `ShippingOrderBindingModel`
- IMPORTS → `CreateOrder`
- IMPORTS → `UpdateOrder`
- IMPORTS → `UpdateOrder`
- IMPORTS → `DeleteDto`
- IMPORTS → `DeleteOrder`
- IMPORTS → `DeleteOrder`

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