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 ID | ORCL.O2C.OM.SO.DISCOUNT |
| Application | Oracle Fusion Cloud |
| Product | SCM / Order Management |
| Module | Order Management |
| Process | Sales Orders |
| Business Flow | Order-to-Cash |
| Scenario Type | Positive / Functional |
| Test Usage | Functional Testing / Regression Testing / UAT |
| Priority | High |
| Automation | SyntraFlow Ready |
| Library | Syntra 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
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
- A sales order exists, or can be created, for a valid, active customer in the target Oracle Fusion SCM environment.
- Pricing and discount configuration is active for the customer, item or order type being tested.
- The discount type under test — manual override or automatic pricing modifier — has been determined before the test begins.
- The order entry test user has a defined discount authority limit configured against their role.
- 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 Action | Expected 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.
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
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.
- 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
- 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.
| ID | Variation | Type | Key Difference | Execution |
|---|---|---|---|---|
| VAR-001 | Manual Percentage Discount | Positive/Discount Type | Discount entered directly on the line as a percentage of list price | Syntra Ready |
| VAR-002 | Manual Amount Discount | Positive/Discount Type | Discount entered directly on the line as a fixed amount | Syntra Ready |
| VAR-003 | Automatic Modifier-Based Discount | Positive/Discount Type | Discount applied automatically by a configured pricing modifier | Syntra Ready |
| VAR-004 | Discount on One Line Among Several | Positive | Discount applied to a single line on a multi-line order, other lines undiscounted | Syntra Ready |
| VAR-005 | Maximum Allowed Discount Within Limits | Positive/Authority | Discount applied at the highest value still within configured authority | Syntra Ready |
| VAR-006 | Discount Exceeds Configured Maximum | Negative/Authority | Discount entered above the maximum configured for the discount type | Syntra Ready |
| VAR-007 | Negative Discount Amount | Negative | Discount amount entered as a negative value | Syntra Ready |
| VAR-008 | Non-Discountable Item | Negative | Discount attempted on an item flagged as non-discountable | Syntra Ready |
| VAR-009 | Unauthorized Discount Override Attempted | Negative/Authority | Discount attempted by a user without discount override access | Syntra Ready |
| VAR-010 | Conflicting Manual and Automatic Discounts | Negative/Discount Type | Manual discount entered on a line already carrying an automatic modifier discount | Syntra Ready |
| VAR-011 | Discount Percentage Over 100% | Negative | Discount percentage entered greater than 100% of list price | Syntra Ready |
No variations match this filter.
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.
| Scenario | Oracle Outcome | Test Result |
|---|---|---|
| Valid sales order | Order created | PASS |
| Invalid customer | Customer validation occurs | PASS |
| Credit hold | Credit check enforced | PASS |
| Security restriction | Access prevented | PASS |
| Unexpected application exception | Unexpected failure | FAIL |
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%
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.
| Pack | SCM Order Management Create Order With Discount Regression Pack |
| Schedule | Quarterly Update Regression |
| Tests | 11 scenarios |
| Execution | Batch Mode |
| Start | 10:00 PM |
| Environment | Oracle Fusion TEST |
| Status | Scheduled |
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.
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.
| Persona | Action | Expected | Syntra Result |
|---|---|---|---|
| Order Entry Specialist (within discount authority) | Apply Discount | Allowed | PASS |
| Order Entry Specialist (exceeds discount authority) | Apply Discount | Access prevented or routes for approval | PASS |
| Unauthorized User | Attempts Discount Override | Access prevented | PASS |
Understand Why a Test Failed
SyntraFlow execution evidence can help distinguish business-data failures, configuration issues, automation problems and potential application defects.
From Business Scenario to Execution Evidence
Business teams get readable test documentation; automation teams retain detailed execution traceability.
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.
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.
Business Step → Underlying UI Actions
What SyntraFlow Captures Per Run
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.
| Step | Action Status | Business Validation |
|---|---|---|
| Apply the Discount | Pass | — |
| Submit and Confirm Order Total | Pass | — |
| Verify the Arithmetic Against the Expected Formula | Pass | Pass |
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 soonAutomate with SyntraFlow
Run this script against your own tenant today.
Related Oracle Testing Resources
Frequently Asked Questions
How is the net order amount verified on a discounted sales order line?
What is the difference between a manual and an automatic discount in this test?
How are discount authority limits tested?
How does security testing work for applying discounts?
Does this test apply real discounts or affect real customer pricing in Oracle Fusion?
- Home
- Oracle ERP Testing Tool
- Test Library
- SCM
- Order Management
- Sales Orders
- Create Order With Discount