Project

General

Profile

Actions

Development #7452

open

Feature #7125: Discount Engine (M05)

Save discount rule snapshot

Added by Kyle Chong 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

Store a snapshot of the relevant discount rule/configuration used at the time the discount was applied.

Scope:

  • Capture the effective rule definition used for calculation.
  • Retain rule ID/code.
  • Retain discount type/rate/value.
  • Retain applicable conditions where required.
  • Retain priority/sequence where relevant.
  • Retain approval/limit settings where relevant.
  • Keep sufficient history so a completed transaction remains explainable even if the master discount rule changes later.

This snapshot must not depend on re-reading the latest master data when reviewing a historical sale.

Done when: Historical transactions can show exactly which discount rule/configuration was applied at the time of sale.

No data to display

Actions

Also available in: Atom PDF