My Oracle Support Banner

Journal Batch Approval: ORA-01400: Cannot Insert NULL Into "GL"."GL_WF_ACTION_HISTORY"."WF_PREPARER_NAME" (Doc ID 2414913.1)

Last updated on FEBRUARY 25, 2019

Applies to:

Oracle General Ledger - Version 12.1.3 and later
Information in this document applies to any platform.
Approvals Management Engine (AME)


New User has been configured as an Initiator for Journal Batch Approval. While submitting transactions for approval, this user gets error. It works fine for other users.

AME setup is in use for approvals.

ORA-01400: cannot insert NULL into ("GL"."GL_WF_ACTION_HISTORY"."WF_PREPARER_NAME"

Error Stack:
GL_AME_JE_WF_PKG.insertactionhistory(Inserting into the audit table for the approver notification sent., ORA-01400: cannot insert NULL into ("GL"."GL_WF_ACTION_HISTORY"."WF_PREPARER_NAME")) GL_AME_JE_WF_PKG.Insert_Action_History(Insert_Action_History: 004 - Calling insertActionHistory., ORA-01400: cannot insert NULL into ("GL"."GL_WF_ACTION_HISTORY"."WF_PREPARER_NAME")) Wf_Engine_Util.Function_Call(GL_AME_JE_WF_PKG.INSERT_ACTION_HISTORY, GLBATCH, 893774-48687, 332750, RUN)

The issue can be reproduced at will with the following steps:
1. Log in as new user, GL Responsibility > Create new journal
2. Submit for approval
3. Observe the error in workflow

Note: it has been observed, for such journals throwing the error, that 'Preparer Name' and 'Preparer Display Name' fields on the journal were not populated. By manually inserting these values, workflow works as expected.



 New user configured in the system.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.