You cannot delete a DFF Context from the front-end. You can only disable it.
Assume you have created one by mistake and you want to delete that.How to do that ?
You need to call commit after the above call.
Also make sure that you UnFreeze and Freeze the DFF definition and compile the DFF.
Script to check from backend whether it is deleted:
Related Links : Delete a Descriptive Flexfield Context Value
Assume you have created one by mistake and you want to delete that.How to do that ?
- The segments added to the context can be deleted from the front-end. Delete those first.
 - You can use fnd_descr_flex_contexts_pkg.delete_row to delete the context.
 
procedureDELETE_ROW ( X_APPLICATION_IDin NUMBER, X_DESCRIPTIVE_FLEXFIELD_NAMEin VARCHAR2, X_DESCRIPTIVE_FLEX_CONTEXT_CODin VARCHAR2);
Ex:-
beginfnd_descr_flex_contexts_pkg.delete_row(0,'FND_COMMON_LOOKUPS','TEST');end;
You need to call commit after the above call.
Also make sure that you UnFreeze and Freeze the DFF definition and compile the DFF.
Script to check from backend whether it is deleted:
select*fromFND_DESCR_FLEX_COLUMN_USAGESwhereapplication_id =0and descriptive_flex_context_code ='TEST';select*fromFND_DESCR_FLEX_COL_USAGE_TLwhereapplication_id =0and descriptive_flex_context_code ='TEST';select*fromFND_DESCR_FLEX_CONTEXTSwhereapplication_id =0and descriptive_flex_context_code ='TEST';select*fromFND_DESCR_FLEX_CONTEXTS_TLwhereapplication_id =0and descriptive_flex_context_code ='TEST';
Related Links : Delete a Descriptive Flexfield Context Value
Feel free to point out if anything is missing/wrong in this blog.
No comments:
Post a Comment