PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01/20/2017 8:14 AM by  dorota34
AP out of balance due to data error.
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dorota34
Financial systems Admin
Private
New Member
(4 points)
New Member
Posts:2


Send Message:

--
05/02/2016 9:27 AM
    Our AP has been out of balance with GL since 2013. I was able to identify old invoices back from 2013 that are matched , paid and journalized however they are not being picked up by AP reconciliation report. The problem is caused by mismatch between APINVOICE and APDISTRIB table.
    OBJ_id in AP Invoice table does not equal to api_obj_id in APDISTRIBUTION. All other tables ( match, gl etc) are correct ( they match Ap distribution table). I am assuming user somehow was able to delete invoice header but line items remained in apdistrib ( or data was manipulated via sql). New invoice ( without associated line items have been matched to PO, paid, and journalized.) I would like to correct this error with a script but I don't think there is a way to change obj_id to match to ap_obj_id . I am new to oracle but remember that in SQL there was an option to set identity column on and off.
    Has anyone ever experience this issue? What was the resolution? Do you have any suggestion on how to fix that via script?
    I was thinking about deleting invoice lines in ap distribution and enter new lines via application and flag them as posted without journalzing.
    Of course I am going to have issues with primary keys in the rest of the tables.
    Another idea is to set base amount to 0 in AP distribution. This way invoice will be in balance. I am not able to test any of this scenarios because our hosting company and IT department does not want to give full rights to the test database ( company policy, etc).
    I would appreciate any comments and suggestions. I am sure someone had to experience similar issue in the past.




    Display Name
    Private
    Private
    Basic Member
    (39 points)
    Basic Member
    Posts:17


    Send Message:

    --
    06/15/2016 9:22 AM
    We used quick paint to change the API_OBJ_ID in the APDistrib table to match the OBJ_ID in APInvoice.
    dorota34
    Financial systems Admin
    Private
    New Member
    (4 points)
    New Member
    Posts:2


    Send Message:

    --
    01/20/2017 8:14 AM
    Thank you very much for your help. I was finally granted access to quick pain, corrected the api_obj_id in apdistrib table and it work like a charm.
    You are not authorized to post a reply.