SPED Error - Origin Code Different from NF

(Doc ID 2339084.1)

Last updated on DECEMBER 18, 2017

Applies to:

Oracle Retail Fiscal Management - Version 14.1.3.1 and later
Information in this document applies to any platform.

Symptoms

RFM 14.1.3.1

SPED error - Origin code different from NF

When inserting registries into SPED table, the process FM_SPED_SQL.FM_SPED_DETAIL is not getting Origin Code information from FM_FISCAL_DOC_DETAIL,
but it is opening a cursor to get info from V_BR_ITEM_FISCAL_ATTRIB which could be already different due to a reclassification after NF issuing.

Steps to Reproduce:
1. Issue a TSF NF (Validated and Approved)
2. Proceed with an item reclassification for the same item from TSF NF issued
3. Execute import_sped process

This results in wrong information sent to Mastersaf.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms