Project

General

Profile

Actions

Development #7457

open

Feature #7125: Discount Engine (M05)

Include discount details in Backend transaction sync

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
  • docs/planning/modules/M03_POS_Terminal_Cart.md

Extend the M03 sales transaction contract to include M05 discount information.

Scope:

  • Include line-level discounts.
  • Include receipt-level discounts.
  • Include total discount amount.
  • Include discount rule/reference.
  • Include applied result/snapshot where required by the contract.
  • Include approval/audit information where required.
  • Ensure the same transaction payload works through Kafka and LAN.
  • Ensure Backend can retain/process discount data before publishing upstream to QubeBiz.

M05 must reuse the M03 transaction synchronization flow rather than creating a separate discount sync mechanism.

Done when: Complete discount information reaches Backend correctly through either Kafka or LAN as part of the sales transaction.

No data to display

Actions

Also available in: Atom PDF