H and K tested (G0168, G0178 accepted); keyword fast path needs all groups

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 06:04:36 +02:00
parent f907351c0d
commit a12fa4dff6
14 changed files with 747 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
INTERFACE {{p}}if_discount PUBLIC.
TYPES ty_group TYPE c LENGTH 1.
TYPES ty_percent TYPE p LENGTH 5 DECIMALS 2.
CONSTANTS:
c_group_key TYPE ty_group VALUE 'A',
c_group_standard TYPE ty_group VALUE 'S'.
METHODS calculate
IMPORTING iv_quantity TYPE i
iv_group TYPE ty_group
RETURNING VALUE(rv_percent) TYPE ty_percent.
ENDINTERFACE.