Skip to content

purchasingInquiryController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Purchasing/purchasingInquiryController.cs (line 16)

Part of: Pams

Where it refuses work

  • purchasingInquiryController stops the work with an early return when !isFound, in 10 places.
  • purchasingInquiryController stops the work with an early return when isEntitySaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 3 places.
  • purchasingInquiryController stops the work with an early return when !entity.HasObject, in 3 places.
  • purchasingInquiryController stops the work with an early return when obj.Id == 0, in 2 places.
  • purchasingInquiryController stops the work with an early return when isRegreted != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 2 places.
  • purchasingInquiryController stops the work with an early return when isCanceled != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 2 places.

Relationships

  • MODULE_DECLARES → GetPurchaseInquiryByJobId
  • MODULE_DECLARES → GetPurchaseInquiryById
  • MODULE_DECLARES → GetPurchaseInquiryWithItemsById
  • MODULE_DECLARES → GetRegretReasonById
  • MODULE_DECLARES → GetCancelReasonById
  • MODULE_DECLARES → CreatePurchaseInquiry
  • MODULE_DECLARES → UpdatePurchaseInquiry
  • MODULE_DECLARES → ChangeInquiryStage
  • MODULE_DECLARES → DeleteInquiry
  • MODULE_DECLARES → UpdateCancelReason
  • MODULE_DECLARES → UpdateRegretReason
  • MODULE_DECLARES → RegretInquiry
  • MODULE_DECLARES → CancelInquiry
  • MODULE_DECLARES → UndoRegretInquiry
  • MODULE_DECLARES → UndoCancelInquiry
  • MODULE_DECLARES → EmailInquiryToSubsupplier
  • MODULE_DECLARES → CreateOfferPrintTemplate
  • IMPORTS → BaseController
  • IMPORTS → PurchasingInquiryBindingModel
  • IMPORTS → GetRegretReasonById
  • IMPORTS → GetRegretReasonById
  • IMPORTS → GetCancelReasonById
  • IMPORTS → GetCancelReasonById
  • IMPORTS → GetCancelReasonById
  • IMPORTS → UpdateCancelReason
  • IMPORTS → UpdateCancelReason
  • IMPORTS → CancelDetailBindingModel
  • IMPORTS → PurchaseInquiryCancelDetail
  • IMPORTS → UpdateRegretReason
  • IMPORTS → RegretDetailBindingModel
  • IMPORTS → PurchaseInquiryRegretDetail

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)

  • AppSettingsFrontend/src/app/settings/app/app.settings.ts:241
  • AppSettingsPams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126

Was this page helpful?

Download as PDF