Skip to content

Price Policies

Backlog fieldValue
Story IDAP-SAL-007
EpicSales
Story typeMaster data / configuration
Review statusDraft - business analyst and business owner review required
Source evidenceAppsPortal.Apis controller, application command/query handlers, validators, domain entities, and matching MFE workflow where available
Last source review2026-07-10

User story

As commercial managers, I want to maintain item prices and customer pricing rules so that sales use authorized prices for the effective context.

Acceptance criteria

  1. Only authorized users can view or execute the feature's actions.
  2. Required business data, active dependencies, tenant/branch scope, and current document state are validated.
  3. Invalid requests return actionable validation errors without applying a partial change.
  4. Search, list, view, print, and export operations use the same authorized business scope.
  5. Material create, edit, status, approval, posting, reversal, and integration actions are auditable where applicable.
  6. Financial or stock effects are applied atomically and no more than once.

Business rules

Required

Policy identity, currency/effective state, item-variant/UOM prices, and applicable scope are required.

Optional or conditional

Customer/category/branch/date restrictions, discounts, and VAT-included flags are optional/conditional.

Action behavior

Save changes future price resolution and does not rewrite posted invoice prices.

Blocking rule or downstream effect

The most specific valid policy/default precedence must be deterministic and unauthorized override is blocked.

Frontend page coverage

The following UI coverage is sourced from the pulled MFE route configuration. A Module-level supporting artifact mapping is evidence of a reachable screen, but requires BA confirmation that it belongs to this story rather than a more specific feature story.

Route/pageComponentModeRoute permission/guardMapping confidenceSource
price-policyPricePolicyMainComponentList/navigationPermission: AppSalesPermissions.PricePolicy_List; Guards: PolicyAuthGuardFeature token matchapps/sales/src/app/remote-entry/sales/sales.module.ts:198

Observed frontend fields and validation

ComponentControlObserved frontend ruleComponent source
--No reactive formControlName controls were found for the routed components; review template-driven/shared child components.Route sources above

Observed frontend actions

ComponentClick action/handlerBusiness review requirementComponent source
--No direct (click) handler was found; review shared toolbar/table commands and form submission bindings.Route sources above

Page-specific frontend acceptance criteria

  1. price-policy - List/navigation: Load an authorized paged/searchable list or navigation page; preserve filters/sort/paging and expose only permitted row and bulk actions. Security observed: Permission: AppSalesPermissions.PricePolicy_List; Guards: PolicyAuthGuard

Internal Documentation — Microtec