Oracle ERP Testing Tool > Test Library > SCM > Order Management > Sales Orders
Syntra Standard Oracle Test Library

Oracle Fusion Create Order With Discount Test Cases

Validate that a manual or automatic discount can be applied to a sales order line in Oracle Fusion SCM Order Management, and that the resulting net line amount and order total are calculated correctly.

Test IDORCL.O2C.OM.SO.DISCOUNT
ApplicationOracle Fusion Cloud
ProductSCM / Order Management
ModuleOrder Management
ProcessSales Orders
Business FlowOrder-to-Cash
Scenario TypePositive / Functional
Test UsageFunctional Testing / Regression Testing / UAT
PriorityHigh
AutomationSyntraFlow Ready
LibrarySyntra Standard

Note on test design: SyntraFlow executes the detailed Oracle Fusion UI interactions automatically while presenting the scenario as business-readable test steps for documentation, review and reporting. This scenario is presented as 8 business-readable test steps; SyntraFlow's automation executes approximately 22 underlying Oracle Fusion UI actions to complete it.

Test Objective

The objective of this test is to validate application of a manual or automatic discount on a sales order line in Oracle Fusion SCM Order Management, and to confirm that the resulting net line amount is calculated correctly and is arithmetically consistent with the discount that was applied.

The scenario should confirm that:

  • a manual discount, entered directly on the order line as a percentage or amount, is accepted and correctly flagged as manual
  • an automatic discount, applied by a configured pricing modifier, is accepted and correctly flagged as automatic
  • the resulting net line amount satisfies Net Line Amount = (List Price × Quantity) − Discount Amount, where Discount Amount = List Price × Quantity × Discount Percentage for percentage-based discounts — for example (illustrative values only, not a business rule): ${LIST_PRICE}=100, ${QUANTITY}=10, ${DISCOUNT_PERCENTAGE}=20%, so Discount Amount = 100 × 10 × 20% = 200, and Net Line Amount = 100 × 10 − 200 = 800
  • the discount applied is within the discount authority configured for the requesting user or role
  • the order total correctly aggregates the discounted line amount together with any other lines on the order
  • Oracle correctly enforces validation when data errors, configuration errors or security restrictions are introduced (DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION)

This scenario covers applying a single manual or automatic discount to a sales order line in Oracle Fusion SCM Order Management TEST/UAT environments, and arithmetically verifying the resulting net line amount. It does not cover base order creation without a discount or tax calculation, which are covered by the separate Create Sales Order, Create Multi-Line Order and Create Order With Tax scenarios in the same Sales Orders cluster.

When to Use This Test

  • Functional testing of manual and automatic discount application for a new Oracle Fusion SCM Order Management implementation
  • Regression testing of discount calculation and net order amount behavior after an Oracle quarterly update
  • UAT sign-off for order entry specialists who routinely apply discounts within their configured authority
  • Verifying that discount authority limits and approval routing behave as configured before go-live
  • Diagnosing DATA_ERROR and CONFIGURATION_ERROR conditions surfaced during discount application before escalating as a possible APPLICATION_ERROR

Where This Test Fits in the Order-to-Cash Sales Orders Process

Navigate to Order Management
Create/Open Order
Select Line
Apply Discount
Review Net Amount
Verify Arithmetic
Submit Order

Create Order With Discount follows Create Sales Order and Create Multi-Line Order in the Sales Orders scenario family within Order-to-Cash, applying a manual or automatic discount to a line on an order that has already been created. It sits alongside Create Order With Tax as a variation of the base order-creation scenario. Exact discount types available, approval routing for discounts exceeding authority, and validation behavior depend on pricing and modifier configuration, customer setup and customer-specific Oracle Fusion configuration.

Preconditions

  1. A sales order exists, or can be created, for a valid, active customer in the target Oracle Fusion SCM environment.
  2. Pricing and discount configuration is active for the customer, item or order type being tested.
  3. The discount type under test — manual override or automatic pricing modifier — has been determined before the test begins.
  4. The order entry test user has a defined discount authority limit configured against their role.
  5. The item on the order line being discounted is active and, where relevant, flagged as discountable.

Exact discount fields, authority limits, approval routing and validation messages may vary by Oracle Fusion implementation, pricing and modifier configuration, and customer-specific configuration. State and readiness requirements vary by implementation.

Sample Test Data

Customer${CUSTOMER}
Item${ITEM}
Order Type${ORDER_TYPE}
List Price${LIST_PRICE}
Quantity${QUANTITY}
Discount Type${DISCOUNT_TYPE}
Discount Percentage${DISCOUNT_PERCENTAGE}
Discount Amount${DISCOUNT_AMOUNT}
Net Line Amount${NET_LINE_AMOUNT}

Sample values are illustrative placeholder tokens. Replace with valid data from the target Oracle Fusion SCM TEST/UAT environment. Discount Percentage and Discount Amount are alternative inputs depending on discount type — a percentage-based discount derives Discount Amount, while an amount-based discount is entered directly.

Test Steps

8 business-readable steps. SyntraFlow's automation executes ~22 underlying UI actions to complete these steps — see How SyntraFlow Automates This Test.

#User ActionExpected Result
1
Sign In and Navigate to Order Management
Sign in to Oracle Fusion using an authorized order entry test user and navigate to the Order Management work area.
The Order Management work area opens successfully.
2
Navigate to Sales Orders
Open the Sales Orders page for the customer whose order will receive a discount.
${CUSTOMER}
The sales order search or creation page opens for the correct customer.
3
Create or Open a Sales Order
Create a new sales order, or open an existing order, for the test customer and item.
${CUSTOMER} / ${ITEM} / ${ORDER_TYPE}
A sales order is created or opened with the correct customer, item and order type.
4
Select the Line to Discount
Select the order line the discount will be applied to and confirm its list price and quantity.
${LIST_PRICE} / ${QUANTITY}
The correct order line is selected, showing the expected list price and quantity.
5
Apply the Discount
Apply a manual discount override, or allow a configured automatic pricing modifier to apply, according to the discount type under test.
${DISCOUNT_TYPE} / ${DISCOUNT_PERCENTAGE} / ${DISCOUNT_AMOUNT}

This step exercises both the manual and automatic discount paths depending on the variation under test.

The discount is accepted and reflected on the order line without unexpected validation errors.
6
Review the Calculated Net Line Amount
Review the net line amount Oracle Fusion calculates on the order line after the discount is applied.
${NET_LINE_AMOUNT}
Oracle Fusion displays a calculated net line amount for the discounted line.
7
Verify the Arithmetic Against the Expected FormulaBusiness assertion
Confirm the displayed net line amount matches Net Line Amount = (List Price × Quantity) − Discount Amount, where Discount Amount = List Price × Quantity × Discount Percentage for percentage-based discounts.
${LIST_PRICE} × ${QUANTITY} − ${DISCOUNT_AMOUNT} = ${NET_LINE_AMOUNT}

This is the primary business assertion for the scenario — the discount is only proven correct once the resulting net line amount is confirmed arithmetically, not merely displayed.

The net line amount calculated by Oracle Fusion equals List Price × Quantity − Discount Amount. Illustrative example only: 100 × 10 − 200 = 800; the mandatory check is that the actual values on the order line satisfy the same formula.
8
Submit and Confirm Order Total
Submit the sales order and confirm that the order total correctly aggregates the discounted line amount together with any other lines.
The sales order is submitted successfully and the order total correctly reflects the discounted line amount.

Expected Results

  • The discount is applied to the correct sales order line.
  • The discount is correctly flagged as manual or automatic based on how it was applied.
  • The net line amount equals List Price × Quantity − Discount Amount, verified arithmetically against the values entered.
  • The applied discount is within the discount authority configured for the requesting user, or is routed for approval where it is not.
  • The order total correctly aggregates the discounted line amount together with any other lines on the order.
  • The sales order is visible and traceable for the test user with the discount reflected.

Key Validation Checkpoints

  • Net line amount equals list price × quantity minus discount amount, verified arithmetically — for example (illustrative values only): ${LIST_PRICE} × ${QUANTITY} − ${DISCOUNT_AMOUNT} = ${NET_LINE_AMOUNT}, e.g. 100 × 10 − 200 = 800.
  • Discount correctly flagged as manual vs automatic.
  • Discount within configured authority limits for the requesting user.
  • Order total correctly aggregates discounted line amounts.
Core Business Scenario
Create Order With Discount
Business Steps
8
Test Variations
AI-Generated
Test Data
DataVault-Driven
Execution
On-Demand / Scheduled / Batch
Automation
SyntraFlow Ready
Jarvis AI

Go Beyond the Standard Test with Jarvis AI

The Syntra Standard Test Library defines the core Create Order With Discount business scenario. Jarvis AI can extend this scenario by generating additional discount type, discount level, authority and security variations using customer-specific test data and configuration available through Syntra DataVault.

Teams do not need to manually build a separate test for every discount percentage, amount or authority combination. Jarvis uses the standard scenario as the foundation and generates relevant Positive, Negative, Boundary and Authority variations for the customer's environment — including discounts at the maximum allowed level and discounts that exceed ${DISCOUNT_PERCENTAGE} or authority limits and are expected to be prevented or routed for approval, since correctly enforced arithmetic and authority validation at the edges of expected values is an important part of what this scenario proves.

From Standard Test to Executed Regression Pack

01
Syntra Standard Test
Reusable Create Order With Discount business process and automation logic.
02
Customer DataVault
Provides approved customer-specific test data and configuration required for scenario generation — Customers, Items, Pricing Modifiers and Discount Authority Limits.
03
Jarvis AI
Analyses the standard scenario together with available test data and generates relevant discount type, amount, authority and security variations.
04
Positive + Negative Test Variations
Valid discount scenarios and edge cases such as discounts exceeding configured limits, invalid discount amounts or restricted access.
05
Regression Pack
Selected variations can be grouped into an executable suite.
06
On-Demand / Scheduled / Batch Execution
Execute immediately or schedule the regression pack for unattended batch execution.
07
Results + Evidence + Exceptions
Capture execution results, business assertions, screenshots/evidence and exceptions.

Rather than maintaining a separate test page for every possible discount percentage, discount amount, discount type or authority combination, SyntraFlow maintains one core Create Order With Discount scenario and allows Jarvis AI to generate discount- and authority-specific variations using the customer's available test data.

AI-Generated Test Variations

The same Create Order With Discount business scenario can produce many test variations without creating separate public library pages. Below is a real slice of SyntraFlow's Build Scripts library, filtered to SCM Order Management Sales Orders.

Positive Scenarios
  • Apply a manual percentage discount to an order line
  • Apply a manual amount discount to an order line
  • Apply an automatic modifier-based discount to an order line
  • Apply a discount to one line among several on a multi-line order
  • Apply the maximum allowed discount within configured authority limits
Negative Scenarios
  • Attempt to apply a discount exceeding the configured maximum
  • Attempt to enter a negative discount amount
  • Attempt to apply a discount to a non-discountable item
  • Attempt an unauthorized discount override
  • Attempt to apply conflicting manual and automatic discounts on the same line
  • Attempt to enter a discount percentage over 100%

These are representative examples only. Negative-scenario behavior and available discount combinations can depend on the customer's Oracle Fusion pricing, modifier and security configuration — not every Oracle configuration behaves identically.

Generated Using Your DataVault Test Data

Generic test data rarely represents every customer, item, discount type and authority combination in a real Oracle Fusion SCM environment. Where connected, Jarvis can use approved test data available through Syntra DataVault to construct Create Order With Discount scenarios relevant to the customer's actual implementation.

Standard Library Definition

Customer                ${CUSTOMER}
Item                    ${ITEM}
Order Type              ${ORDER_TYPE}
List Price              ${LIST_PRICE}
Quantity                ${QUANTITY}
Discount Type           ${DISCOUNT_TYPE}
Discount Percentage     ${DISCOUNT_PERCENTAGE}
Discount Amount         ${DISCOUNT_AMOUNT}
Net Line Amount         ${NET_LINE_AMOUNT}

DataVault

Customers
  Active customers eligible for the order type
Items
  Discountable and non-discountable catalog items
Pricing Modifiers
  Configured automatic discount modifiers
Discount Authority
  Discount limits configured per role or user
Order Types
  Configured sales order types

Jarvis AI Generates

Scenario 01 — Manual Percentage Discount, Within Authority
Scenario 02 — Manual Amount Discount, Within Authority
Scenario 03 — Automatic Modifier Discount Applied
Scenario 04 — Discount on One Line of a Multi-Line Order
Scenario 05 — Discount Exceeds Configured Maximum
Scenario 06 — Unauthorized User Attempts Discount Override
...

Create Order With Discount test data can include sensitive commercial categories such as customer pricing, discount authority and margin-related information. The public Syntra Standard Test Library uses illustrative placeholder data only. Where DataVault is connected, customer-specific pricing dimensions remain within the customer's controlled SyntraFlow environment and access model, protected according to DataVault's data masking policies. See /datavault/ for details.

Example Test Variations

Representative examples of Create Order With Discount scenarios Jarvis can generate from this business scenario, spanning discount type, amount and authority conditions. These are illustrative, not separate indexable pages — the canonical page for all of them remains this one.

IDVariationTypeKey DifferenceExecution
VAR-001Manual Percentage DiscountPositive/Discount TypeDiscount entered directly on the line as a percentage of list priceSyntra Ready
VAR-002Manual Amount DiscountPositive/Discount TypeDiscount entered directly on the line as a fixed amountSyntra Ready
VAR-003Automatic Modifier-Based DiscountPositive/Discount TypeDiscount applied automatically by a configured pricing modifierSyntra Ready
VAR-004Discount on One Line Among SeveralPositiveDiscount applied to a single line on a multi-line order, other lines undiscountedSyntra Ready
VAR-005Maximum Allowed Discount Within LimitsPositive/AuthorityDiscount applied at the highest value still within configured authoritySyntra Ready
VAR-006Discount Exceeds Configured MaximumNegative/AuthorityDiscount entered above the maximum configured for the discount typeSyntra Ready
VAR-007Negative Discount AmountNegativeDiscount amount entered as a negative valueSyntra Ready
VAR-008Non-Discountable ItemNegativeDiscount attempted on an item flagged as non-discountableSyntra Ready
VAR-009Unauthorized Discount Override AttemptedNegative/AuthorityDiscount attempted by a user without discount override accessSyntra Ready
VAR-010Conflicting Manual and Automatic DiscountsNegative/Discount TypeManual discount entered on a line already carrying an automatic modifier discountSyntra Ready
VAR-011Discount Percentage Over 100%NegativeDiscount percentage entered greater than 100% of list priceSyntra Ready

Automatically Expand Positive and Negative Discount Coverage

Positive Testing

Jarvis generates scenarios using discount type, amount, percentage and authority combinations expected to successfully apply a discount and produce a correct net line amount in Oracle Fusion.

Valid Customer + Discountable Item + Discount Within Authority → Net Line Amount Calculated Correctly

Negative Testing

Jarvis can also generate scenarios designed to exercise Oracle's validations around discount limits, discount amount sign, item discountability and security.

  • Discount Exceeds Maximum → Expected Authority Validation
  • Negative Discount Amount → Expected Amount Validation
  • Non-Discountable Item → Expected Item Validation
  • Discount Percentage Over 100% → Expected Percentage Validation
  • Unauthorized User → Expected Access Restriction

A negative scenario passes when Oracle correctly enforces the expected business rule or validation.

ScenarioOracle OutcomeTest Result
Valid sales orderOrder createdPASS
Invalid customerCustomer validation occursPASS
Credit holdCredit check enforcedPASS
Security restrictionAccess preventedPASS
Unexpected application exceptionUnexpected failureFAIL

Turn AI-Generated Variations into a Regression Pack

Users can select generated Create Order With Discount scenarios and group them into reusable execution packs.

SCM Order Management Create Order With Discount Regression Pack

  • Manual Percentage Discount
  • Manual Amount Discount
  • Automatic Modifier-Based Discount
  • Discount on One Line Among Several
  • Maximum Allowed Discount Within Limits
  • Discount Exceeds Configured Maximum
  • Negative Discount Amount
  • Non-Discountable Item
  • Unauthorized Discount Override Attempted
  • Discount Percentage Over 100%
Add Selected to Regression Pack(coming soon)Run Now(coming soon)Schedule(coming soon)

Run On-Demand or Schedule Automated Batch Execution

SyntraFlow can execute selected Create Order With Discount scenarios individually or as a batch. Users can schedule regression packs according to their testing cycle.

Once scheduled, SyntraFlow executes the selected Create Order With Discount scenarios unattended and records the outcome of each test and business assertion, including the arithmetic net line amount check.

Run immediatelyNightly regressionWeekly regressionBefore releaseAfter configuration changesAfter environment refreshQuarterly Oracle update testingPre-UAT validation
PackSCM Order Management Create Order With Discount Regression Pack
ScheduleQuarterly Update Regression
Tests11 scenarios
ExecutionBatch Mode
Start10:00 PM
EnvironmentOracle Fusion TEST
StatusScheduled

Illustrative example — not a live schedule.

Review Results Across the Entire Test Pack

Users can drill from the regression pack into a scenario, its business steps, the underlying automation actions, and the evidence captured for each.

Illustrative example data — not actual production metrics.

11
Total Scenarios
10
Passed
1
Failed
0
Exceptions
5
Positive Tests
6
Negative Tests
22
Business Assertions

Regression Pack → Scenario → Business Step → Automation Action → Evidence

Security & Approval Variations

Discount authority on a sales order line is controlled by Oracle Fusion's pricing and security configuration, which varies by customer. Jarvis can generate representative persona-based variations to confirm that discount-application access and approval routing behave as expected for each role — not to assert a single universal Oracle authority model.

PersonaActionExpectedSyntra Result
Order Entry Specialist (within discount authority)Apply DiscountAllowedPASS
Order Entry Specialist (exceeds discount authority)Apply DiscountAccess prevented or routes for approvalPASS
Unauthorized UserAttempts Discount OverrideAccess preventedPASS

Understand Why a Test Failed

SyntraFlow execution evidence can help distinguish business-data failures, configuration issues, automation problems and potential application defects.

DataConfigurationSecurityAutomationApplicationEnvironmentExpected Validation
Jarvis Failure Intelligence — Coming Soon

From Business Scenario to Execution Evidence

Business teams get readable test documentation; automation teams retain detailed execution traceability.

Standard Business Scenario
AI-Generated Variation
Regression Pack
Business Test Step
Automation Actions
Business Assertion
Screenshot / Evidence
Execution Result

Meet Jarvis — SyntraFlow's AI Testing Engine

Jarvis extends the Syntra Standard Test Library by analysing the Create Order With Discount scenario, available DataVault test data and expected business outcomes to generate additional Positive, Negative, Boundary and Authority coverage — including discounts at the maximum configured level and discounts that exceed authority and are expected to be prevented or routed for approval — for the customer's environment.

Generate
Positive and negative variations.
Parameterize
Use relevant test data from DataVault.
Assemble
Build reusable regression packs.
Execute
Run scenarios autonomously.
Schedule
Execute unattended test batches.
Validate
Evaluate expected business outcomes.

How SyntraFlow Automates This Test

The Standard Test defines the scenario; DataVault, Jarvis AI and SyntraFlow's execution engine take it from a single reusable business definition to executed, evidenced regression coverage.

Standard Library — Create Order With Discount, 8 Business Steps
DataVault — Customer-Specific Test Data
Jarvis AI — Generate Positive + Negative Variations
Regression Pack — Select Relevant Coverage
SyntraFlow Execution — Each Variation
Detailed UI Actions
Business Assertions
Evidence
PASS / FAIL

Business Step → Underlying UI Actions

Business Step
Apply the Discount
May internally include
Open Line Pricing Detail → Select Discount Type → Enter Discount Percentage/Amount → Confirm Modifier Applied → Save Line
Business Step
Verify the Arithmetic Against the Expected Formula
May internally include
Read List Price → Read Quantity → Read Discount Amount → Compute Expected Net Line Amount → Compare Against Displayed Net Line Amount

What SyntraFlow Captures Per Run

Parameterised input valuesReusable navigationAutomation action traceScreenshots / evidence captureExecution timingPass / fail statusBusiness assertionsEnvironment-independent test data

Action Status vs. Business Validation

A successful UI interaction does not automatically prove the discount was calculated correctly — this is illustrative of how SyntraFlow separates action success from business validation; it does not reflect a specific live execution. When a step fails, SyntraFlow's evidence trail is designed to help a tester classify the likely cause — for example DATA_ERROR, CONFIGURATION_ERROR, SECURITY_ERROR, EXPECTED_VALIDATION, AUTOMATION_ERROR, INTEGRATION_ERROR, ENVIRONMENT_ERROR or APPLICATION_ERROR — without asserting the cause automatically. For example: Create Order With Discount failed — Likely category: DATA_ERROR — Evidence: calculated net line amount does not match list price × quantity minus discount amount — Recommended action: verify discount configuration and re-run the arithmetic check before escalating as a defect. A failure should never be labeled as an Oracle defect without supporting evidence.

StepAction StatusBusiness Validation
Apply the DiscountPass
Submit and Confirm Order TotalPass
Verify the Arithmetic Against the Expected FormulaPassPass

Related Sales Order Tests

Create Order With Discount is one of several sales order variations built on the base Create Sales Order scenario — explore the related multi-line and tax scenarios below.

Turn This Standard Test into Your Oracle SCM Create Order With Discount Regression Suite

Start with the Syntra Standard Create Order With Discount test, use DataVault to provide environment-specific test data, let Jarvis generate additional discount type, amount and authority variations, and execute the resulting regression pack automatically with SyntraFlow.

Use This Oracle Fusion Test Case

Download Test Case

Excel, CSV or JSON export.

Coming soon

Automate with SyntraFlow

Run this script against your own tenant today.

Frequently Asked Questions

How is the net order amount verified on a discounted sales order line?
SyntraFlow reads the list price, quantity and discount amount entered or calculated on the order line and confirms the displayed net line amount equals List Price × Quantity − Discount Amount, where Discount Amount = List Price × Quantity × Discount Percentage for percentage-based discounts. This arithmetic check is the primary business assertion for the scenario, not simply that the order line saved successfully.
What is the difference between a manual and an automatic discount in this test?
A manual discount is entered directly on the order line by the order entry user as a percentage or amount override. An automatic discount is applied by a configured pricing modifier based on customer, item, volume or order-type conditions, without the user entering the discount value directly. This scenario exercises both paths and confirms the discount is correctly flagged as manual or automatic.
How are discount authority limits tested?
Discount authority is controlled by Oracle Fusion's pricing and security configuration, which varies by customer and role. SyntraFlow can execute representative variations — such as a discount within a user's configured authority versus a discount that exceeds it — to confirm the applied discount is accepted, or correctly routed for approval or prevented, without asserting a single universal Oracle authority model.
How does security testing work for applying discounts?
SyntraFlow can execute persona-based variations, such as an order entry specialist within their discount authority versus one who exceeds it, and an unauthorized user attempting a discount override, to confirm access and approval routing behave as configured for the customer's Oracle Fusion environment.
Does this test apply real discounts or affect real customer pricing in Oracle Fusion?
No. This is test automation executed against Oracle Fusion TEST/UAT environments only. It does not apply discounts to real sales orders, affect real customer pricing, or create real order-to-cash transactions in a production environment.