955:
956: pd('Calling initialize with coa_id : ' || p_chart_of_accounts_id);
957:
958: -- Used for debuggin only.
959: -- fnd_flex_workflow.debug_on ;
960:
961: l_itemkey := fnd_flex_workflow.initialize
962: (
963: appl_short_name => 'SQLGL',
957:
958: -- Used for debuggin only.
959: -- fnd_flex_workflow.debug_on ;
960:
961: l_itemkey := fnd_flex_workflow.initialize
962: (
963: appl_short_name => 'SQLGL',
964: code => 'GL#',
965: num => p_chart_of_accounts_id,
1050: -----------------------------------------------------------
1051:
1052: p_error_message := NULL ;
1053:
1054: l_result := fnd_flex_workflow.generate
1055: (
1056: itemtype => l_itemtype ,
1057: itemkey => l_itemkey ,
1058: insert_if_new => TRUE ,