899: PA_FCK_UTIL.debug_msg(l_return_status||' gen after getting chart of account id ..........');
900: -------------------------------------+
901: -- Call API FND initialize function
902: -------------------------------------+
903: l_Itemkey := fnd_Flex_workflow.initialize
904: (appl_short_name => 'SQLGL',
905: code => 'GL#',
906: num => l_Chart_of_Accounts_Id,
907: itemtype => l_Itemtype);
1157: --------------------------------------------------------------------------------+
1158: /*Modified the call to generate function to resolve bug 2266072.Added
1159: parameter TRUE to insert_if_new argument */
1160:
1161: l_result := fnd_Flex_workflow.generate( l_Itemtype,
1162: l_Itemkey,
1163: TRUE,
1164: l_return_Ccid,
1165: l_Concat_segs,