Skip to content

SalesJobCostController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Sales/SalesJobCostController.cs (line 8)

Part of: Pams

Where it refuses work

  • SalesJobCostController stops the work with an early return when !logic.IsTransactionFound(id, CompanyID), in 2 places.
  • SalesJobCostController stops the work with an early return when isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 2 places.
  • SalesJobCostController stops the work with an early return when !logic.IsJobAndCostSheetFound(id, CompanyID).
  • SalesJobCostController stops the work with an early return when !logic.IsTransactionFound(model.Id, CompanyID).
  • SalesJobCostController stops the work with an early return when isDeleted != Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly.

Relationships

  • MODULE_DECLARES → GetBranchCostedJobs
  • MODULE_DECLARES → GetBySalesJobId
  • MODULE_DECLARES → GetTransactionById
  • MODULE_DECLARES → GetOldTitles
  • MODULE_DECLARES → GetOldSuppliers
  • MODULE_DECLARES → GetBranchPurchaseOrders
  • MODULE_DECLARES → GetSalesItemsByOrders
  • MODULE_DECLARES → GetPurchaseItemsByOrders
  • MODULE_DECLARES → GetCostingList
  • MODULE_DECLARES → GetCostingListFunnel
  • MODULE_DECLARES → GetTransactions
  • MODULE_DECLARES → GetTransactionsFunnel
  • MODULE_DECLARES → CreateTransaction
  • MODULE_DECLARES → UpdateTransaction
  • MODULE_DECLARES → DeleteTransaction
  • IMPORTS → BaseController
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → DeleteDto

Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

calls by (1)

  • AppSettingsFrontend/src/app/settings/app/app.settings.ts:241

Was this page helpful?

Download as PDF