Oracle EBS order lines stuck after ship confirm and period close blocked: when it is eBTax, not the tax engine
Interface Trip Stop rolls back the whole stop with ORA-00001 on ZX_LINES_DET_FACTORS. The external engine was never called; eBTax data is out of step with the order. Look in the ZX layer, not in the engine.
By Herb Park, Clarent Technologies
Symptom
At month-end, inventory period close shows Unprocessed Shipping Transactions and warns that period close may not continue. Users say an order is "stuck in shipped". In Order Management some lines show Picked while Shipping shows them shipped. There are no holds, and tax on the order looks right.
What it usually means
Ship confirm worked but Interface Trip Stop did not finish. In its Order Management step it can ask Oracle E-Business Tax to recalculate. If eBTax hits a unique-key violation on ZX_LINES_DET_FACTORS, it raises an unexpected error, the whole stop rolls back, and inventory is never interfaced; those lines become the unprocessed shipping transactions.
The key clue is in the Interface Trip Stop log: partner calls = 0. The external engine was never called, so its configuration is not the cause. A likely trigger is stale or inconsistent eBTax rows for the order lines (for example rows created at order import with an unusual event class mapping), which eBTax does not find on lookup and then collides with on insert.
- Ship confirm succeeds
- Interface Trip Stop runs
- eBTax asked to recalculate: In the Order Management step
- Unique-key violation: ORA-00001 on ZX_LINES_DET_FACTORS
- Whole stop rolls back: Inventory is never interfaced
- Unprocessed shipping lines: Period close warns
- External tax engine: Never called: partner calls = 0
How to confirm it
- In Shipping Transactions, find the delivery and trip stop and confirm the delivery line status.
- Re-run Interface Trip Stop for that stop and read the log: look for errors from the eBTax calculate API,
ORA-00001onZX_LINES_DET_FACTORS, and the number of partner calls. - Query
ZX_LINES_DET_FACTORSfor the order’s lines and compare with a recently shipped order that worked. - Check the delivery details’ interfaced flags and the inventory transaction interface for errors.
- Request log: Interface Trip Stop: stop 40021, delivery 778812 Order Management interface: started Calling tax calculation for order line 1.1 Unexpected error in tax calculate API ORA-00001: unique constraint violated on ZX_LINES_DET_FACTORS Partner calls = 0 Rolling back stop 40021 Inventory interface: not run Request completed with error
- Completed with error
- (1) The error comes from the ERP's own tax calculate API.
- (2) A unique-key violation on this table means eBTax tried to insert rows that already exist for the line.
- (3) Zero partner calls: the external engine was never reached, so leave its configuration alone.
- (4) The whole stop rolls back, including lines that had no problem.
Fix
- Back up and remove the inconsistent eBTax rows for the affected lines (a data fix, ideally confirmed through an Oracle service request), then re-run Interface Trip Stop.
- Clear it before the inventory period closes, or the shipments post in the next period.
How to prevent it
- Check how many order lines carry unusual eBTax rows and fix them in bulk; review the import path that created them.
- Alert at month-end on unprocessed shipping transactions older than a day.