SLA Manual Journal to GL
I created a Manual SLA entry and used the Oracle provided API (XLA_JOURNAL_ENTRIES_PUB_PKG.complete_journal_entry) to Post these transaction to GL.
Process:
Create SLA lines ( xla_journal_entries_pkg.create_journal_entry_header and xla_journal_entries_pkg.create_journal_entry_line).
Call the Funds check package: XLA_JE_FUNDS_CHECKER_PKG.reserve_funds to reserve the fund.
Call the XLA_JOURNAL_ENTRIES_PUB_PKG.complete_journal_entry with completion_status_code of P.
Here, it creates two entries in the gl_bc_packets table. For some reason the entry in the packet table does not get removed after the Posting process is complete. It remains there with the status_code of A.