How to Identify Account Code Combinations That Are Misclassified And Have An Account_type Different From Account (文档 ID 259210.1) | Applies to:Oracle General Ledger - Version 11.5.10.2 and laterInformation in this document applies to any platform. GoalHow to identify account code combinations which have a different account_type to that defined in the Account Flexfield Segment Value, in order to prevent balance problems related to misclassified accounts in the beginning of a new year? SolutionThe following script should be able to identify the misclassified code combinations. Query for R11i: select c.chart_of_accounts_id coa, c.concatenated_segments code_combination, c.code_combination_id ccid, c.gl_account_type type_is, substr(v.compiled_value_attributes,5,1) should_be from gl_code_combinations_kfv c, fnd_flex_values v, fnd_id_flex_segments s, gl_sets_of_books b where b.short_name = '&SOBNAME' and c.chart_of_accounts_id = s.id_flex_num and c.template_id is null and c.chart_of_accounts_id = b.chart_of_accounts_id and s.application_id = 101 and s.id_flex_code = 'GL#' and s.segment_num = &&SEGNUM and s.flex_value_set_id = v.flex_value_set_id and v.flex_value = c.segment&&SEGNUM and c.gl_account_type != substr(v.compiled_value_attributes,5,1) ; 免责声明: ① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。 ② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341 软考中级精品资料免费领
相关文章发现更多好内容猜你喜欢AI推送时光机HOW TO IDENTITY MISCLASSIFIED CCID后端开发2023-06-05 咦!没有更多了?去看看其它编程学习网 内容吧 |