How to use Key Flex field in Oracle custom form
Hi,
We are creating Custom form for budget transfer. So ,we need to use custom Chart of account fields defined for our client.
When I am tring to invoking the key flexfield in new form instance trigger,i am getting an error.
I am attaching the form & error.
Code used in New-form-instance trigger :
FND_KEY_FLEX.DEFINE(
block => 'XXK_BATCH_TRANS_JRNL_LN',
Field => 'ACCT_CCD_DISPLAY',
Description => 'KACST_ACCOUNTING_FLEXFIELD',--'KACST Accounting Flexfield','KACST_ACCOUNTING_FLEXFIELD'
ID => 'acct_CCD',
Appl_short_name => 'SQLGL',
Code => 'GL#',
Num => '50388',
Vrule => 'GL_GLOBAL\nDETAIL_POSTING_ALLOWED \nE\nAPPL="SQLGL";
name=Parent Values are not allowed\nN'