Skip to content

MRQJobInquiryController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/PM/MRQJobInquiryController.cs (line 12)

Part of: Pams

Where it refuses work

  • MRQJobInquiryController stops the work with HttpResponseException when !isFound || userId != CurrentPersonUserID.
  • MRQJobInquiryController stops the work with HttpResponseException when job == null.
  • MRQJobInquiryController stops the work with HttpResponseException when !new Business.Component.PM.MRQJobLogic().IsUserAllowedToPrint(branchId, userId).
  • MRQJobInquiryController stops the work with an early return when !isFound, in 10 places.
  • MRQJobInquiryController stops the work with an early return when isCanceled != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 4 places.
  • MRQJobInquiryController stops the work with an early return when isEntitySaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly.

Relationships

  • MODULE_DECLARES → GetInquiryWithProductsById
  • MODULE_DECLARES → GetInquiriesWithProductsByJobId
  • MODULE_DECLARES → CreateInquiry
  • MODULE_DECLARES → UpdateInquiry
  • MODULE_DECLARES → ChangeInquiryStage
  • MODULE_DECLARES → DeleteInquiry
  • MODULE_DECLARES → CancelInquiry
  • MODULE_DECLARES → RegretInquiry
  • MODULE_DECLARES → UndoCancelInquiry
  • MODULE_DECLARES → UndoRegretInquiry
  • MODULE_DECLARES → CreateInquiryPrintTemplate
  • MODULE_DECLARES → PrintWordPurchaseRFQ
  • IMPORTS → BaseController
  • IMPORTS → MRQJobInquiryBindingModel
  • IMPORTS → Delete
  • IMPORTS → DeleteDto
  • IMPORTS → CancelDetailBindingModel
  • IMPORTS → RegretDetailBindingModel

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