Values in IM_DOC_TAX.TAX_AMOUNT and NB_IM_AP_STAGE_DETAIL.AMOUNT Differ (Tax Discrepancy) Due to Decimal Precision Issue (Doc ID 1664777.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Invoice Matching - Version 13.1.5.1 to 13.1.9 [Release 13.1]
Information in this document applies to any platform.

Symptoms

 In Oracle Retail Invoice Matching (ReIM) 13.1.5.x, we find that the tax amount differs between the IM_DOC_TAX.TAX_AMOUNT and NB_IM_AP_STAGE_DETAIL.AMOUNT fields due to a difference in the decimal precision associated with those fields.

 

Steps to Reproduce:

1. Create a new invoice for any purchase order (PO) with cost discrepancy.
2. Associate the shipment.
3. Run the Automatch batch.
4. Resolve the discrepancy to ensure that a Debit Memo Quantity (DMQ) is generated.  DMQ is generated in the batch process.
5. Ensure that the invoice is posted.
6. Sample results:
  im_doc_tax field tax_amount = -1903.8865
  nb_im_ap_stage_detail field amount = -1903.884


The value in the AMOUNT column of table IM_AP_STAGE_DETAIL is incorrect.  ReIM is configured with 3 decimal places, so in table IM_DOC_TAX the field amount is -1903.8865; the IM_AP_STAGE_DETAIL field amount is -1903.884.

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