Question

ORA-06512: at "DIXI1APP.TRANSACTION_SYS", line 1226

  • 8 November 2023
  • 2 replies
  • 37 views

Badge +1

We are running IFS Apps 9, and we are having an error in Background Jobs for only two Sites when running Transfer Inventory Transactions. The Transactions are in status of 2 - Completed. However the error message shown in the details of the Background Job is similar to one that you have shared an answer to in IFS Community.

Error Details:
ORA-06512: at "DIXI1APP.MPCCOM_ACCOUNTING_API", line 9545
ORA-06512: at "DIXI1APP.MPCCOM_ACCOUNTING_API", line 9671
ORA-06512: at "DIXI1APP.MPCCOM_ACCOUNTING_API", line 6431
ORA-06512: at "DIXI1APP.MPCCOM_ACCOUNTING_API", line 6437
ORA-06512: at line 1
ORA-06512: at "DIXI1APP.TRANSACTION_SYS", line 1441
ORA-06512: at "DIXI1APP.TRANSACTION_SYS", line 679
ORA-06512: at "DIXI1APP.TRANSACTION_SYS", line 1226

It is the exact same error on both Background Jobs for both Sites.

I was wondering if you could help us narrow down the cause and or possible resolutions?

Any advice is much appreciated.

Thanks in advance,
Sheri Sigworth

Lead IFS Specialist for Expanse Electrical

sheri.sigworth@expanseelectrical.com


2 replies

Userlevel 7
Badge +18

I’ve found that background jobs can hide a lot of errors whenever TRANSACTION_SYS shows up in the error stack, so my first thought here is usually to run it live. However, this particular procedure detects whether it’s being run as a background job and will spawn itself as a job if it isn’t. This makes troubleshooting annoying because you can’t run it live from the GUI. If you have access to the app owner, you might try this hacky workaround in Oracle. The idea is to make it think it’s running as a background job so it runs live, selecting a negative background job ID that will never exist.

(Using a raw DELETE query like this is not considered a best practice, so if you can, it would be best if you could refresh a nonproduction environment and try it there.)

BEGIN
DELETE FROM transaction_sys_local_tab WHERE id = -1;
DELETE FROM transaction_sys_status_tab WHERE id = -1;
transaction_sys.set_current_job_id(-1);
mpccom_accounting_api.transfer_to_finance (
contract_ => 'YOUR_SITE_HERE',
date_applied_ => NULL,
execution_offset_ => 0,
booking_source_ => 'INVENTORY');
END;
/

 

In my 9 environment, line 6437 doesn’t look like it could cause such a catastrophe, so I don’t have the source code to help you in that way. I suspect you’re on a different update level.

Badge +1

Durette, 

 

Thanks for the quick reply. This is a tricky one. :-)

 

Kind regards,

Sheri

Reply