HOW TO IDENTITY MISCLASSIFIED CCID

2023-06-15,,

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 later
Information in this document applies to any platform.

Goal

How 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?

Solution

The following script should be able to identify the misclassified code combinations.

You need to enter the set of books short name (sobname) and the segment
number representing the position of the account segment (segnum).

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) ;  

 

Query for R12:

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_ledgers b
WHERE
b.short_name = '&LEDGERNAME' 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)
;                                                                       


The identified code combinations need to be fixed before the
opening of the first period of the new year, otherwise you may need to
follow steps from Note:1050920.6

This sql identifies additional sets of books which may also need correcting :

SELECT glsob.name,
glsob.short_name,
glsob.set_of_books_id
FROM gl_sets_of_books glsob
WHERE glsob.chart_of_accounts_id = &ChartOfAccountsId;

《HOW TO IDENTITY MISCLASSIFIED CCID.doc》

下载本文的Word格式文档,以方便收藏与打印。

  • Asp.Net Core Identity隐私数据保护的实现方法
    Asp.Net Core Identity隐私数据保护的实现方法

    这篇文章给大家分享的是有关Asp.Net Core Identity隐私数据保护的实现方法的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。 前言 Asp.Net Core Identity 是Asp.Net Core 的重要组成...

    2023-06-15编程教程,,
  • ASP.NET中Identity身份验证的示例分析
    ASP.NET中Identity身份验证的示例分析

    小编给大家分享一下ASP.NET中Identity身份验证的示例分析,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧! 实现基于微软账户的...

    2023-06-15编程教程,
  • ASP.NET Identity怎么使用
    ASP.NET Identity怎么使用

    这篇“ASP.NET Identity怎么使用”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“ASP...

    2023-06-15编程教程,
  • asp.net core的Identity身份验证怎么实现
    asp.net core的Identity身份验证怎么实现

    本篇内容主要讲解“asp.net core的Identity身份验证怎么实现”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“asp.net core的Identity身份验证怎么实现”吧! 1. 身份...

    2023-06-15编程教程,,
  • ASP.NET Core中的Identity怎么用
    ASP.NET Core中的Identity怎么用

    这期内容当中小编将会给大家带来有关ASP.NET Core中的Identity ,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。 前言 最早2005年 ASP.NET 2.0 的时候开始, Web 应用程序在...

    2023-06-15编程教程,
  • ASP.NET MVC如何使用Identity增删改查用户
    ASP.NET MVC如何使用Identity增删改查用户

    这篇文章主要讲解了“ASP.NET MVC如何使用Identity增删改查用户”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“ASP.NET MVC如何使用Identity增删改查...

    2023-05-01编程教程,,
  • Identity Server 4 预备知识 -- OAuth 2.0 简介
    Identity Server 4 预备知识 -- OAuth 2.0 简介

    OAuth 2.0 简介 OAuth有一些定义: OAuth 2.0是一个委托协议, 它可以让那些控制资源的人允许某个应用以代表他们来访问他们控制的资源, 注意是代表这些人, 而不是假冒或模仿这些人. 这个应用从资源的所有者那里获得...

    2023-02-12编程教程,,,,
  • asp.net core系列 49 Identity 授权(上)
    asp.net core系列 49 Identity 授权(上)

    一.概述 授权是指用户能够访问资源的权限,如页面数据的查看、编辑、新增、删除、导出、下载等权限。ASP.NET Core 授权提供了多种且灵活的方式,包括:Razor pages授权约定、简单授权、Role角色授权、Claim声明授...

    2023-01-04站长百科,,,,