Project

General

Profile

Actions

Development #7130

open

Feature #7125: Discount Engine (M05)

Save applied discount records

Added by Kyle Chong 3 months ago. Updated 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to: docs/planning/modules/M05_Discount_Engine.md

Persist all discounts actually applied to the active/completed transaction.

Scope:

  • Save discount type.
  • Save line/receipt scope.
  • Save source rule/reference.
  • Save discount rate or fixed amount.
  • Save calculated discount amount.
  • Save target line(s) where applicable.
  • Save requesting cashier/user.
  • Save approving user where applicable.
  • Save reason where required.
  • Save application timestamp.
  • Retain multiple discount records where more than one discount applies.

Applied discount records should represent the actual result used in the sale, not only a reference to the current discount master.

Done when: Completed transactions contain a complete record of every discount that contributed to the final amount.

Actions

Also available in: Atom PDF